Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
[dev_setup] Group should be an integer
Browse files Browse the repository at this point in the history
  Newer versions of Chef varies its behavior based on the type of GID.
This patch (kudos to Doug MacEachern) makes both new and old versions
happy.

Change-Id: Ib7f05899d2e2e04ca34385512efcad8509d9cc5d
  • Loading branch information
d committed May 14, 2012
1 parent f01313f commit 4fc210c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev_setup/lib/chefsolo_launch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
spec["deployment"] ||= {}
spec["deployment"]["name"] ||= DEPLOYMENT_DEFAULT_NAME
spec["deployment"]["user"] ||= ENV["USER"]
spec["deployment"]["group"] ||= `id -g`.strip
spec["deployment"]["group"] ||= `id -g`.strip.to_i
spec["deployment"]["domain"] ||= cloudfoundry_domain
spec["cloudfoundry"] ||= {}
spec["cloudfoundry"]["home"] ||= cloudfoundry_home
Expand Down

0 comments on commit 4fc210c

Please sign in to comment.