include pmwiki
include apache::rails
- apache::site { "images":
+ Apache::site <| tag == $nodename or tag == 'all' or tag == undef |>
+ Database::instance <| tag == $nodename or tag == 'all' or tag == undef |>
+ Ikiwiki::instance <| tag == $nodename or tag == 'all' or tag == undef |>
+
+ Apache::site <| tag != $nodename and tag != 'all' and tag != undef |> {
+ ensure => absent,
+ }
+
+ Database::instance <| tag != $nodename and tag != 'all' and tag != undef |> {
+ ensure => absent,
+ }
+
+ Ikiwiki::instance <| tag != $nodename and tag != 'all' and tag != undef |> {
+ ensure => absent,
+ }
+
+ @apache::site { "images":
docroot => "${apache_www_folder}/images",
mpm => false,
+ tag => 'all',
}
}