X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4c0a50ccc54784e4d6dc56d797bbb83a73ef99af..97b22cb709e69073a375b323ed7760b8a2d4f891:/cookbooks/wordpress/resources/plugin.rb diff --git a/cookbooks/wordpress/resources/plugin.rb b/cookbooks/wordpress/resources/plugin.rb index 72fd3973d..82c7ae5e2 100644 --- a/cookbooks/wordpress/resources/plugin.rb +++ b/cookbooks/wordpress/resources/plugin.rb @@ -17,6 +17,8 @@ # limitations under the License. # +unified_mode true + default_action :create property :plugin, :kind_of => String, :name_property => true @@ -34,10 +36,10 @@ action :create do source new_resource.source owner node[:wordpress][:user] group node[:wordpress][:group] - mode 0o755 + 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