hw-cookbooks / chef-server-populator

Populate an OSS Chef Server
27 stars 16 forks source link

Skipping organization creation #60

Closed the-smooth-operator closed 8 years ago

the-smooth-operator commented 9 years ago

When using the cookbook, my organization was never created, in fact it was skipped. The organization data bag has the parameter "enabled": "true.

Debugging the code I've found that changing true for "true" in the next line: https://github.com/hw-cookbooks/chef-server-populator/blob/master/recipes/client.rb#L33 was solving the issue. I did not submit a pull requests because I am not sure if this is a bug.

luckymike commented 8 years ago

Your org data bag item should have "enabled": true as a boolean, not a string.