зеркало из https://github.com/mozilla/labs-vcap.git
[dev_setup] Group should be an integer
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
This commit is contained in:
Родитель
f01313f758
Коммит
4fc210c762
|
@ -40,7 +40,7 @@ spec = YAML.load_file(deployment_spec)
|
|||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче