8e271e3043
To accomodate generating random usernames and passwords, I had to parameterize the profiles which I didn't feel great about but I also didn't want to have to put the username and pass in hiera.
21 lines
388 B
Puppet
21 lines
388 B
Puppet
class profile::webhook_no_mcollective (
|
|
$username,
|
|
$password
|
|
) {
|
|
|
|
class {'r10k::webhook::config':
|
|
enable_ssl => true,
|
|
protected => true,
|
|
user => $username,
|
|
pass => $password,
|
|
use_mcollective => false,
|
|
}
|
|
|
|
class {'r10k::webhook':
|
|
user => 'root',
|
|
group => '0',
|
|
require => Class['r10k::webhook::config'],
|
|
}
|
|
|
|
}
|