- file { [ '/srv/www', '/srv/www/default.debian.org', '/srv/www/default.debian.org/htdocs', '/srv/www/default.debian.org/htdocs-disabled' ]:
- ensure => directory,
- mode => '0755',
- }
-
- file { '/srv/www/default.debian.org/htdocs/index.html':
- content => template('apache2/default-index.html'),
- }
-
- file { '/srv/www/default.debian.org/htdocs-disabled/index.html':
- content => template('apache2/disabled-index.html'),
- }
-