Skip to content

Commit

Permalink
add option to skip user creatation for system_user
Browse files Browse the repository at this point in the history
  • Loading branch information
Erin Fahy committed Aug 2, 2014
1 parent b316790 commit 6cd1716
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion manifests/system_user.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
define rvm::system_user () {
define rvm::system_user (
$create=true ) {

include rvm::params

if $create {

ensure_resource('user', $name, {'ensure' => 'present' })

}

include rvm::group

$add_to_group = $osfamily ? {
Expand Down

0 comments on commit 6cd1716

Please sign in to comment.