summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-12-16 17:30:05 -0800
committerAdam Jacob <adam@hjksolutions.com>2008-12-16 17:30:05 -0800
commit48faeabf5a78508497eae8601a16246f84b70945 (patch)
treeadecb0fcbcd6d76ec795af6cdc50438759b4d435
parentcaff7b7a493aa3064cac874004128ef08ca9b3b5 (diff)
downloadchef-48faeabf5a78508497eae8601a16246f84b70945.tar.gz
Should be mac_os_x
-rw-r--r--example-repository/cookbooks/fakefile/recipes/default.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/example-repository/cookbooks/fakefile/recipes/default.rb b/example-repository/cookbooks/fakefile/recipes/default.rb
index cf4ae1906b..b650d50f72 100644
--- a/example-repository/cookbooks/fakefile/recipes/default.rb
+++ b/example-repository/cookbooks/fakefile/recipes/default.rb
@@ -124,7 +124,7 @@ end
search(:user, "*") do |u|
directory "/tmp/home/#{u['name']}" do
- if u['name'] == "nobody" && @node[:operatingsystem] == "Darwin"
+ if u['name'] == "nobody" && @node[:platform] == "mac_os_x"
owner "root"
else
owner "#{u['name']}"