Commit 7c21e57d authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more tries

parent 2cbf2f23
......@@ -33,6 +33,6 @@ define su_apache::module(
path => '/usr/sbin:/usr/bin',
require => Package['apache'],
unless => "[ $condition ]",
notify => Exec['su_apache_reload'];
}
# notify => Exec['su_apache_reload'];
}
......@@ -50,7 +50,7 @@ define su_apache::site(
command => "a2ensite ${site_id}",
path => '/usr/bin:/usr/sbin',
creates => "/etc/apache2/sites-enabled/${site_id}",
require => [ Class['su_apache'], File[$realname] ],
require => [ Package['apache'], File[$realname] ],
notify => Exec['su_apache_reload'],
}
} elsif ($ensure == 'absent') {
......@@ -58,7 +58,7 @@ define su_apache::site(
command => "a2dissite ${site_id}",
unless => "[ ! -e '/etc/apache2/sites-enabled/${site_id}' ]",
path => '/usr/bin:/usr/sbin',
require => Class['su_apache'],
require => Package['apache'],
notify => Exec['su_apache_reload'],
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment