]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/wordpress/resources/plugin.rb
Use string for file modes in remote_directory resources
[chef.git] / cookbooks / wordpress / resources / plugin.rb
index e2a57156b64e6a82feaed4b1c47aa5c70c538b9b..ccc8010d5d2dfaae52ce22d8ef064df0d55d6dac 100644 (file)
@@ -37,7 +37,7 @@ action :create do
       mode "755"
       files_owner node[:wordpress][:user]
       files_group node[:wordpress][:group]
       mode "755"
       files_owner node[:wordpress][:user]
       files_group node[:wordpress][:group]
-      files_mode 0o755
+      files_mode "755"
     end
   else
     plugin_repository = new_resource.repository || default_repository
     end
   else
     plugin_repository = new_resource.repository || default_repository