Skip to content

Commit

Permalink
Merge pull request #11 from avdi/master
Browse files Browse the repository at this point in the history
Fully-qualified path for 'cat'
  • Loading branch information
Brandon Turner committed Jul 17, 2011
2 parents 3e1bdd5 + bd406ca commit 7c089bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/definitions/system_user.pp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
} }


exec { "/usr/sbin/usermod -a -G $group $username": exec { "/usr/sbin/usermod -a -G $group $username":
unless => "cat /etc/group | grep $group | grep $username", unless => "/bin/cat /etc/group | grep $group | grep $username",
require => [User[$username], Exec['system-rvm']]; require => [User[$username], Exec['system-rvm']];
} }
} }

0 comments on commit 7c089bf

Please sign in to comment.