}
# Default vhost: can just be applied on the defining host
- apache::site { "$default_vhost":
+ @apache::site { "$default_vhost":
server_alias => "$domain",
docroot => "${apache_www_folder}",
mpm => false,
+ tag => 'all',
}
# We have to use 'zzz-error' so it will be the last matched vhost
- apache::site { "error":
+ @apache::site { "error":
template => 'apache/error.erb',
docroot => "${apache_error_folder}",
filename => 'zzz-error',
mpm => false,
+ tag => 'all',
}
# Index page for error
# TODO: this is temporary: remove when all nodes have applied it
# We have to use 'zzz-erro' so it will be the last matched vhost
- apache::site { "erro":
+ @apache::site { "erro":
ensure => absent,
docroot => '/var/www/erro',
filename => 'zzz-erro',
+ tag => 'all',
}
# TODO: this is temporary: remove when all nodes have applied it