Permalink
Browse files

bumping homebrew, fixing add ops user

The user resource defines a system method, which overrides
system.  Foodcritic complains that the shell string is valid
ruby, we end up with Kernel.system, sadly.
  • Loading branch information...
1 parent 42a67f6 commit 72685851210a0e9368d482d90446f5c5d66f6e47 @mkocher mkocher committed May 19, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 attributes/versions.rb
  2. +1 −1 recipes/add_ops_user.rb
View
@@ -1,4 +1,4 @@
node.default['versions']= {
- "homebrew" => "b73b40fa1da84411cd7089116da1b20d55f0208d",
+ "homebrew" => "72a75db58beba2aa8a7ecd00061e1f6dc87a3f5a",
"rvm" => "85e0d3e8d1e63e7620335c38c755a63a4c134487"
}
View
@@ -18,7 +18,7 @@
uid uid
home "/Users/#{username}"
shell "/bin/bash"
- not_if { system("id #{username}") }
+ not_if { Kernel.system("id #{username}") }
end
#create the user's home directory

0 comments on commit 7268585

Please sign in to comment.