provider Chef::Provider::Service::Upstart
action [ :enable, :start ]
supports :status => true, :restart => true, :reload => false
- subscribes :restart, resources(:template => "/etc/init/ttyS#{unit}.conf")
+ subscribes :restart, "template[/etc/init/ttyS#{unit}.conf]"
end
end
group "root"
mode 0644
variables :unit => unit, :speed => speed
- notifies :run, resources(:execute => "update-grub")
+ notifies :run, "execute[update-grub]"
end
end