diff options
| author | mail_redacted_for_web | 2015-11-25 16:51:43 +0000 |
|---|---|---|
| committer | mail_redacted_for_web | 2015-11-25 16:51:43 +0000 |
| commit | 2859cffba989f4751d60ab0127e7ad5e7b65278a (patch) | |
| tree | d74953d5f0595d1e1082dfece1f22e97111f7a51 /site/role/manifests/all_in_one_pe.pp | |
| parent | c2bd0d3ca1fd4e9f2fce24196201835272fd1e21 (diff) | |
| parent | 10732cf3700bce033091fc3d0e1e5d9bb643932d (diff) | |
| download | control-repo-template-2859cffba989f4751d60ab0127e7ad5e7b65278a.tar.bz2 | |
Merged from upstream
Diffstat (limited to 'site/role/manifests/all_in_one_pe.pp')
| -rw-r--r-- | site/role/manifests/all_in_one_pe.pp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/site/role/manifests/all_in_one_pe.pp b/site/role/manifests/all_in_one_pe.pp new file mode 100644 index 0000000..6bc2eb3 --- /dev/null +++ b/site/role/manifests/all_in_one_pe.pp @@ -0,0 +1,16 @@ +class role::all_in_one_pe { + + $webhook_username = hiera('webhook_username', fqdn_rand_string(10, '', 'username')) + $webhook_password = hiera('webhook_password', fqdn_rand_string(20, '', 'password')) + + class { 'profile::puppetmaster' : + webhook_username => $webhook_username, + webhook_password => $webhook_password, + } + + class { 'profile::zack_r10k_webhook' : + username => $webhook_username, + password => $webhook_password, + } + +} |
