git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/site/role/manifests/all_in_one_pe.pp
blob: 37623255fafcb20b20ddb439337548d7871e804f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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::webhook_no_mcollective' :
    username => $webhook_username,
    password => $webhook_password,
  }

}