fuel-library/deployment/puppet/mcollective/examples/mcollective-server-only.pp
Matthew Mosesohn b2b37d370f Add master node service passwords from yaml
astute.yaml now provides passwords for the
following services:
* mcollective
* astute
* cobbler
* postgres (keystone, nailgun and ostf DBs)

All statically defined passwords for these
services are now sourced from astute.yaml
Corrected small bug for astute user/pass in
rabbitmq role.

Adjusted Cobbler bootstrap profile to include
mcollective credentials.

blueprint secure-fuel-master-services
blueprint access-control-master-node

Change-Id: I3db33e35ad18fd9ff258c86d8842db51b21a6931
2014-07-03 09:46:52 +00:00

20 lines
553 B
Puppet

$fuel_settings = parseyaml($astute_settings_yaml)
$fuel_version = parseyaml($fuel_version_yaml)
$mco_host = $::fuel_settings['ADMIN_NETWORK']['ipaddress']
$mco_pskey = "unset"
$mco_vhost = "mcollective"
$mco_user = $::fuel_settings['mcollective']['user']
$mco_password = $::fuel_settings['mcollective']['password']
$mco_connector = "rabbitmq"
class { "mcollective::server":
pskey => $::mco_pskey,
vhost => $::mco_vhost,
user => $::mco_user,
password => $::mco_password,
host => $::mco_host,
stomp => false,
}