aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/websites.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-11-29 21:42:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2011-11-29 21:42:20 -0200
commit9795ffa9f0ee4d21556cc19c6bc56ac01ad536ac (patch)
treedb2cb5067fa94c794ec9d8e4dab170cc7146c902 /manifests/subsystems/websites.pp
parent8dc7c1c3edd2301cfc95d82b5a28bcf606324f56 (diff)
downloadpuppet-nodo-9795ffa9f0ee4d21556cc19c6bc56ac01ad536ac.tar.gz
puppet-nodo-9795ffa9f0ee4d21556cc19c6bc56ac01ad536ac.tar.bz2
Fixing variable name
Diffstat (limited to 'manifests/subsystems/websites.pp')
-rw-r--r--manifests/subsystems/websites.pp12
1 files changed, 6 insertions, 6 deletions
diff --git a/manifests/subsystems/websites.pp b/manifests/subsystems/websites.pp
index 5f54bcf..609b841 100644
--- a/manifests/subsystems/websites.pp
+++ b/manifests/subsystems/websites.pp
@@ -141,19 +141,19 @@ class websites::hosting inherits websites::setup {
include pmwiki
include apache::rails
- 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 == $hostname or tag == 'all' or tag == undef |>
+ Database::Instance <| tag == $hostname or tag == 'all' or tag == undef |>
+ Ikiwiki::Instance <| tag == $hostname or tag == 'all' or tag == undef |>
- Apache::Site <| tag != $nodename and tag != 'all' and tag != undef |> {
+ Apache::Site <| tag != $hostname and tag != 'all' and tag != undef |> {
ensure => absent,
}
- Database::Instance <| tag != $nodename and tag != 'all' and tag != undef |> {
+ Database::Instance <| tag != $hostname and tag != 'all' and tag != undef |> {
ensure => absent,
}
- Ikiwiki::Instance <| tag != $nodename and tag != 'all' and tag != undef |> {
+ Ikiwiki::Instance <| tag != $hostname and tag != 'all' and tag != undef |> {
ensure => absent,
}