]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/accounts/recipes/default.rb
Use string for file modes in remote_directory resources
[chef.git] / cookbooks / accounts / recipes / default.rb
index 586d59004a2e463ef94a7ad9fd17394e2ded1326..e1023682a094cf55498cea191f608c347644ebe0 100644 (file)
@@ -67,7 +67,7 @@ search(:accounts, "*:*").each do |account|
       mode "755"
       files_owner name.to_s
       files_group name.to_s
       mode "755"
       files_owner name.to_s
       files_group name.to_s
-      files_mode 0o644
+      files_mode "644"
       only_if do
         cookbook = run_context.cookbook_collection[cookbook_name]
         files = cookbook.relative_filenames_in_preferred_directory(node, :files, name.to_s)
       only_if do
         cookbook = run_context.cookbook_collection[cookbook_name]
         files = cookbook.relative_filenames_in_preferred_directory(node, :files, name.to_s)