aboutsummaryrefslogtreecommitdiff
path: root/templates/puppet
diff options
context:
space:
mode:
authordrebs <drebs@riseup.net>2011-03-19 11:04:46 -0300
committerdrebs <drebs@riseup.net>2011-03-19 11:04:46 -0300
commit606dabe0b582b21d6ccdf1d749442b3fc11a3024 (patch)
tree2eb61c850b28fb5b772745eb71e29ff117ebf364 /templates/puppet
parent35ddeea3802b90c25c32d60d6274b51951b2e468 (diff)
downloadpuppet-bootstrap-606dabe0b582b21d6ccdf1d749442b3fc11a3024.tar.gz
puppet-bootstrap-606dabe0b582b21d6ccdf1d749442b3fc11a3024.tar.bz2
minimal user config so fat
Diffstat (limited to 'templates/puppet')
-rw-r--r--templates/puppet/site.pp.erb2
-rw-r--r--templates/puppet/users.pp.erb12
2 files changed, 5 insertions, 9 deletions
diff --git a/templates/puppet/site.pp.erb b/templates/puppet/site.pp.erb
index 273f2c7..bc413aa 100644
--- a/templates/puppet/site.pp.erb
+++ b/templates/puppet/site.pp.erb
@@ -39,3 +39,5 @@ $puppetmaster_manage_ca = false
#$postfix_mynetworks = '127.0.0.0/8, 192.168.0.0/28'
#$postfixadmin_database_password = ''
#$postfixadmin_setup_hash = ''
+#$sympa_database_password = ''
+#$sympa_listmasters = 'user1@domain.org, user2@domain.org'
diff --git a/templates/puppet/users.pp.erb b/templates/puppet/users.pp.erb
index 4ec5604..e972f81 100644
--- a/templates/puppet/users.pp.erb
+++ b/templates/puppet/users.pp.erb
@@ -15,20 +15,14 @@ class users::admin inherits user {
# }
#}
- # fucked up password for root
+ # root user and password
user::manage { "root":
tag => "admin",
homedir => '/root',
- password => '$5$9jXNrc7jaVIe.dOz$A0L8MwtKOeZqVPQZVEoYm8lhVwBxPyRsBMHpNRLyF/7',
- }
-
- # TODO: temporary cleanup; remove after all nodes have applied it
- file { '/home/root':
- ensure => absent,
- recurse => true,
- force => true,
+ password => '<%= root_password %>',
}
+ # first user config
user::manage { "<%= first_user %>":
tag => "admin",
groups => [ "sudo", ],