Created
May 8, 2012 00:52
-
-
Save webframp/2631753 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template "#{node['apache']['dir']}/sites-available/nagios3.conf" do | |
source "apache2.conf.erb" | |
mode 0644 | |
variables :public_domain => public_domain | |
if ::File.symlink?("#{node['apache']['dir']}/sites-enabled/nagios3.conf") | |
notifies :reload, "service[apache2]" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment