Created
March 26, 2015 07:33
-
-
Save vinyar/44458578a9354a59eaf2 to your computer and use it in GitHub Desktop.
using root group on OSX with chef-apply
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ chef-apply test.rb | |
Recipe: (chef-apply cookbook)::(chef-apply recipe) | |
* file[hello.txt] action create | |
* cannot determine group id for 'root', does the group exist on this system? | |
================================================================================ | |
Error executing action `create` on resource 'file[hello.txt]' | |
================================================================================ | |
Chef::Exceptions::GroupIDNotFound | |
--------------------------------- | |
cannot determine group id for 'root', does the group exist on this system? | |
Resource Declaration: | |
--------------------- | |
# In test.rb | |
1: file "hello.txt" do | |
2: content "Hello, world!" | |
3: mode "0644" | |
4: owner "root" | |
5: group "root" | |
6: end | |
Compiled Resource: | |
------------------ | |
# Declared in test.rb:1:in `run_chef_recipe' | |
file("hello.txt") do | |
action "create" | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
path "hello.txt" | |
backup 5 | |
atomic_update true | |
declared_type :file | |
cookbook_name "(chef-apply cookbook)" | |
recipe_name "(chef-apply recipe)" | |
content "Hello, world!" | |
mode "0644" | |
owner "root" | |
group "root" | |
end | |
[2015-03-26T00:33:04-07:00] FATAL: Stacktrace dumped to /Users/alexvinyar/.chef/cache/chef-stacktrace.out | |
[2015-03-26T00:33:04-07:00] FATAL: Chef::Exceptions::GroupIDNotFound: file[hello.txt] | |
((chef-apply cookbook)::(chef-apply recipe) line 1) had an error: Chef::Exceptions::GroupIDNotFound: | |
cannot determine group id for 'root', does the group exist on this system? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for the record, there is no root group, it's called
wheel
in OS X land.