Skip to content

Commit 48faeab

Browse files
committed
Should be mac_os_x
1 parent caff7b7 commit 48faeab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • example-repository/cookbooks/fakefile/recipes

example-repository/cookbooks/fakefile/recipes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
search(:user, "*") do |u|
126126
directory "/tmp/home/#{u['name']}" do
127-
if u['name'] == "nobody" && @node[:operatingsystem] == "Darwin"
127+
if u['name'] == "nobody" && @node[:platform] == "mac_os_x"
128128
owner "root"
129129
else
130130
owner "#{u['name']}"

0 commit comments

Comments
 (0)