This is most likely me being wrong-thinking somewhere, but I have:
class apache2::modssl {
include apache2::base
File {
notify => Service["apache2"],
require => Package["apache2"],
}
file { "/etc/apache2/ssl": ensure => directory }
file { "/etc/apache2/mods-enabled/ssl.conf":
ensure => "/etc/apache2/mods-available/ssl.conf",
}
file { "/etc/apache2/mods-enabled/ssl.load":
ensure => "/etc/apache2/mods-available/ssl.load",
}
}
however, this doesn''t seem to actually cause the apache2 install to
happen
first. Why not?
(Note: I know that I should be doing this in a better way, using the
''define''
that handles modules, but this is an older one that I wrote.)
--
Robin <robin@kallisti.net.nz> JabberID:
<eythian@jabber.kallisti.net.nz>
http://www.kallisti.net.nz/blog ||| http://identi.ca/eythian
PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D