Commit 4f753756 authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

more class renamings

parent a58c00d2
......@@ -31,7 +31,7 @@ define su_apache::module(
exec { $cmd:
command => $cmd,
path => '/usr/sbin:/usr/bin',
require => Class['apache'],
require => Class['su_apache'],
unless => "[ $condition ]",
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['apache'], File[$realname] ],
require => [ Class['su_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['apache'],
require => Class['su_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