source new_resource.conf
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables new_resource.variables
end
end
end
action :enable do
+ execute "a2enmod-#{new_resource.name}" do
+ command "a2enmod #{new_resource.name}"
+ user "root"
+ group "root"
+ not_if { ::File.exist?(enabled_name("load")) }
+ end
+
link enabled_name("load") do
to available_name("load")
owner "root"