]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/accounts/recipes/default.rb
Fix rubocop warnings
[chef.git] / cookbooks / accounts / recipes / default.rb
index bdb01eb9e0e1b259515cb1fdbd226728cd314f56..8ed05ff59f7bbe947739da6260854be0e9615aef 100644 (file)
@@ -63,10 +63,10 @@ search(:accounts, "*:*").each do |account|
       source name.to_s
       owner name.to_s
       group name.to_s
-      mode 0755
+      mode 0o755
       files_owner name.to_s
       files_group name.to_s
-      files_mode 0644
+      files_mode 0o644
       only_if do
         begin
           cookbook = run_context.cookbook_collection[cookbook_name]