Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Bump directory creation up so /etc/monit exists #18

Merged
merged 1 commit into from

3 participants

Ryan Schlesinger Robby Grossman Karel Minarik
Ryan Schlesinger

The creation of /etc/monit/monitrc fails because /etc/monit doesn't exist. Moving the creation of /etc/monit/conf.d up above fixes this.

Robby Grossman
Collaborator

Thanks!

Robby Grossman freerobby merged commit 005f348 into from
Karel Minarik

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 20, 2012
  1. Ryan Schlesinger
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 8 deletions.
  1. +8 −8 recipes/default.rb
16 recipes/default.rb
View
@@ -15,14 +15,6 @@
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'
@@ -30,3 +22,11 @@
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
Something went wrong with that request. Please try again.