diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-12-16 17:30:05 -0800 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-12-16 17:30:05 -0800 |
commit | 48faeabf5a78508497eae8601a16246f84b70945 (patch) | |
tree | adecb0fcbcd6d76ec795af6cdc50438759b4d435 | |
parent | caff7b7a493aa3064cac874004128ef08ca9b3b5 (diff) | |
download | chef-48faeabf5a78508497eae8601a16246f84b70945.tar.gz |
Should be mac_os_x
-rw-r--r-- | example-repository/cookbooks/fakefile/recipes/default.rb | 2 |
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']}" |