diff options
Diffstat (limited to 'manifests/classes/configurator.pp')
-rw-r--r-- | manifests/classes/configurator.pp | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/manifests/classes/configurator.pp b/manifests/classes/configurator.pp index 3391481..b9b7e9e 100644 --- a/manifests/classes/configurator.pp +++ b/manifests/classes/configurator.pp @@ -8,10 +8,18 @@ # and want to configure it to boostrap a whole puppetmaster infrastructure. # -# Variables -$templates = "$bootstrap_path/templates" -$base_domain = hiera('bootstrap::base_domain', 'example.org') -$db_password = hiera('nodo::role::master::db_password', 'changeme') +# Basic variables +$templates = "$bootstrap_path/templates" +$base_domain = hiera('bootstrap::base_domain', 'example.org') +$db_password = hiera('nodo::role::master::db_password', 'changeme') +$mysql_rootpw = hiera('mysql::server::rootpw', '') +$root_password = hiera('bootstrap::root:password', 'rootpass') +$first_user = hiera('bootstrap::first_user', 'user') +$first_user_password = hiera('bootstrap::first_user::password', 'userpass') +$first_user_sshkey = hiera('bootstrap::first_user::sshkey', 'usersshkey') +$first_user_email = hiera('bootstrap::first_user::email', 'usermail') +$resolvconf_nameservers = hiera('nodo::subsystem::resolver::nameservers', '201.6.2.152:201.6.2.32') +$global_munin_allow = hiera('nodo::munin_node::allow', '192.168.0.[0-9]*') # Puppet configuration file { "$bootstrap_path/puppet.conf": |