]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Do not use virtual resources at websites::setup; tags should be enough
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 01:00:23 +0000 (23:00 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 30 Nov 2011 01:00:23 +0000 (23:00 -0200)
manifests/subsystems/websites.pp

index 4aa872ab3b06f6fe028b5c7155b2dfbe619aad71..a71506da8a3c44b8582a4bfc04266b425b54cdbc 100644 (file)
@@ -66,7 +66,7 @@ class websites::setup {
   }
 
   # 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,
@@ -74,7 +74,7 @@ class websites::setup {
   }
 
   # 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',
@@ -102,7 +102,7 @@ class websites::setup {
 
   # 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',