Permalink
Browse files

Bump directory creation up so /etc/monit exists

  • Loading branch information...
ryansch committed Nov 20, 2012
1 parent f09e7af commit 5eb9a2969536a3d2541032c932533927bac01469
Showing with 8 additions and 8 deletions.
  1. +8 −8 recipes/default.rb
View
@@ -15,18 +15,18 @@
supports [:start, :restart, :stop]
end
-template "/etc/monit/monitrc" do
- owner "root"
- group "root"
- mode 0700
- source 'monitrc.erb'
- notifies :restart, resources(:service => "monit"), :delayed
-end
-
directory "/etc/monit/conf.d/" do
owner 'root'
group 'root'
mode 0755
action :create
recursive true
end
+
+template "/etc/monit/monitrc" do
+ owner "root"
+ group "root"
+ mode 0700
+ source 'monitrc.erb'
+ notifies :restart, resources(:service => "monit"), :delayed
+end

1 comment on commit 5eb9a29

@karmi

This comment has been minimized.

Show comment Hide comment
@karmi

karmi Jan 5, 2013

Contributor

You should update the metadata.rb to release a new version with this change?

Contributor

karmi commented on 5eb9a29 Jan 5, 2013

You should update the metadata.rb to release a new version with this change?

Please sign in to comment.