Fix user definitions

This commit is contained in:
Keith Whyte 2023-03-14 15:24:24 +01:00
parent 97b9a4b3e7
commit 51166a1f8f

View file

@ -13,13 +13,12 @@
class rhizo_base::users {
$password_hash = $rhizo_base::password_hash
$pgsql_pwd = $rhizo_base::pgsql_pwd
user { 'rhizomatica':
ensure => present,
gid => 'rhizomatica',
home => '/home/rhizomatica',
password => $rhizo::password_hash,
password => Sensitive($password_hash),
uid => '1000',
purge_ssh_keys => true
}
@ -34,6 +33,7 @@ class rhizo_base::users {
uid => '2000',
gid => 'users',
groups => 'operator',
membership => inclusive,
home => '/home/tic',
shell => '/bin/bash',
managehome => true,