aboutsummaryrefslogtreecommitdiff
path: root/templates/puppet/users.pp.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/puppet/users.pp.erb')
-rw-r--r--templates/puppet/users.pp.erb12
1 files changed, 3 insertions, 9 deletions
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", ],