From 51166a1f8f0d801cb5815185e083428827aea83e Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Tue, 14 Mar 2023 15:24:24 +0100 Subject: [PATCH] Fix user definitions --- modules/rhizo_base/manifests/users.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/rhizo_base/manifests/users.pp b/modules/rhizo_base/manifests/users.pp index 076aed6..51eb0b3 100644 --- a/modules/rhizo_base/manifests/users.pp +++ b/modules/rhizo_base/manifests/users.pp @@ -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,