aboutsummaryrefslogtreecommitdiff
path: root/manifests/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config.pp')
-rw-r--r--manifests/config.pp16
1 files changed, 13 insertions, 3 deletions
diff --git a/manifests/config.pp b/manifests/config.pp
index e4e9021..7e4bd8a 100644
--- a/manifests/config.pp
+++ b/manifests/config.pp
@@ -1,9 +1,19 @@
-$mysql_rootpw = "mysqlpass"
-$puppetmaster_db_password = "puppetpass"
+# use "mkpasswd -m sha-512" to generate root and first user's passwords
+$root_password = "rootpass"
$first_user = "user"
$first_user_password = "userpass"
-$first_user_sshkey = "usersshkey"
+$first_user_sshkey = "usersshkey" # do not include "ssh-rsa " here.
$first_user_email = "usermail"
+# bootstrap dirs
$puppet_bootstrap_tmpdir = "/tmp/puppet-bootstrap"
$puppet_dir = "/var/local/puppet"
+
+# minimal config for puppet-nodo first run
+Exec { path => "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" }
+$resolvconf_nameservers = '201.6.2.152:201.6.2.32'
+$global_munin_allow = '192.168.0.[0-9]*'
+
+# mysql configurations
+$mysql_rootpw = "mysqlpass"
+$puppetmaster_db_password = "puppetpass"