passwords = data_bag_item("supybot", "passwords")
package "supybot"
+package "python-git"
directory "/etc/supybot" do
owner "supybot"
mode 0755
end
-directory "/var/tmp/supybot" do
- owner "supybot"
- group "supybot"
- mode 0755
-end
-
directory "/var/log/supybot" do
owner "supybot"
group "supybot"
end
service "supybot" do
- action [ :enable, :start ]
+ action [:enable, :start]
supports :restart => true
subscribes :restart, "template[/etc/supybot/supybot.conf]"
subscribes :restart, "template[/etc/supybot/channels.conf]"