class apache2 {
-
package { 'apache2':
ensure => installed,
}
apache2::module { 'info': }
apache2::module { 'status': }
+ package { 'libapache2-mod-macro':
+ ensure => installed
+ }
+
+ apache2::module { 'macro':
+ require => Package['libapache2-mod-macro']
+ }
+
apache2::site { '00-default':
site => 'default-debian.org',
content => template('apache2/default-debian.org.erb'),
+++ /dev/null
-class apache2::macro {
- package { 'libapache2-mod-macro':
- ensure => installed
- }
-
- apache2::module { 'macro':
- require => Package['libapache2-mod-macro']
- }
-}
class roles::dakmaster {
-
- package { 'libapache2-mod-macro':
- ensure => installed,
- }
-
- apache2::module { 'macro': }
-
apache2::config { 'puppet-builddlist':
content => template('roles/dakmaster/conf-builddlist.erb'),
}
include roles::static_source
include apache2::cache
- package { 'libapache2-mod-macro': ensure => installed, }
package { 'libapache2-mod-geoip': ensure => installed, }
package { 'geoip-database': ensure => installed, }
- apache2::module { 'macro': require => Package['libapache2-mod-macro']; }
apache2::module { 'rewrite': }
apache2::module { 'include': }
apache2::module { 'geoip': require => [Package['libapache2-mod-geoip'], Package['geoip-database']]; }