file 'motd' do
content 'hello world'
end
file 'motd' do
action :delete
end
file '/etc/motd' do
action :create
mode '0755'
group 'root'
owner 'root'
end
package 'httpd'
service 'httpd' do
action [:enable, :start]
end
template '/var/www/html/index.html' do
source 'index.html.erb'
end
service 'iptables' do
action :stop
end