diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-04 13:24:39 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-04 13:24:39 -0300 |
commit | 846876934b55e68554f935cb5101cb866d2f1cd6 (patch) | |
tree | 5ed23fd73b6601346120841028ddce858c74ac66 /manifests/classes/configurator.pp | |
parent | 4c1bab861dba2f1d8bca76b5545729189a508f54 (diff) | |
download | puppet-bootstrap-846876934b55e68554f935cb5101cb866d2f1cd6.tar.gz puppet-bootstrap-846876934b55e68554f935cb5101cb866d2f1cd6.tar.bz2 |
Move from config.pp to hiera
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": |