Skip to content

Commit

Permalink
Merge pull request #104 from skyscrapers/system_user_and_group
Browse files Browse the repository at this point in the history
System user and group
  • Loading branch information
carlossg committed Nov 21, 2015
2 parents ff61838 + 77ad90a commit 3a56c91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion manifests/group.pp
Original file line number Diff line number Diff line change
@@ -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,
})
}
5 changes: 4 additions & 1 deletion manifests/system_user.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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}"]
}

Expand Down

0 comments on commit 3a56c91

Please sign in to comment.