use_inline_resources
action :install do
- unless installed?
- package package_name
- end
+ package package_name unless installed?
if new_resource.conf # ~FC023
template available_name("conf") do
source new_resource.conf
owner "root"
group "root"
- mode 0644
+ mode 0o644
variables new_resource.variables
end
end