From 59854866bda03b47de108d57d384f4f36e576c91 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Fri, 20 Nov 2015 09:20:23 -0500 Subject: [PATCH 1/2] Add rvm group as system group --- manifests/group.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/group.pp b/manifests/group.pp index cf0c55f4..6388bc4d 100644 --- a/manifests/group.pp +++ b/manifests/group.pp @@ -1,4 +1,7 @@ # Create the RVM group class rvm::group inherits rvm::params { - ensure_resource('group', $rvm::params::group, {'ensure' => 'present' }) + ensure_resource('group', $rvm::params::group, { + 'ensure' => 'present', + 'system' => true, + }) } From 77ad90ab995582518bb52e53bb6ed90b60dde155 Mon Sep 17 00:00:00 2001 From: Stijn Tintel Date: Fri, 20 Nov 2015 09:12:46 -0500 Subject: [PATCH 2/2] Add rvm users as system users --- manifests/system_user.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/system_user.pp b/manifests/system_user.pp index 51cd1a1c..2da39cdc 100644 --- a/manifests/system_user.pp +++ b/manifests/system_user.pp @@ -11,7 +11,10 @@ } if $create { - ensure_resource('user', $name, {'ensure' => 'present' }) + ensure_resource('user', $name, { + 'ensure' => 'present', + 'system' => true, + }) User[$name] -> Exec["rvm-system-user-${name}"] }