summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-02-17 20:12:16 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-02-17 20:12:16 -0200
commitafda24e77e885f8c819596f0a3f279d37a3b7b8a (patch)
tree7c3a4e516c2aebf6a89f50cba3ca0898c3d0b74a
parentde3baf754947005c3c8d720294d5361ce9c601de (diff)
downloadpuppet-nginx-afda24e77e885f8c819596f0a3f279d37a3b7b8a.tar.gz
puppet-nginx-afda24e77e885f8c819596f0a3f279d37a3b7b8a.tar.bz2
Minor fixes
-rw-r--r--manifests/init.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 3aebd01..d2bafc6 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -129,7 +129,7 @@ class nginx inherits nginx::base {
}
# Default site
- site { "$domain": ensure => present, }
+ nginx::base::site { "$domain": ensure => present, }
}
@@ -149,14 +149,14 @@ class nginx::puppetmaster inherits nginx::base {
notify => Service["nginx"],
}
- site { "puppetmaster":
+ nginx::base::site { "puppetmaster":
ensure => present,
source => 'template',
require => File['/etc/nginx/conf.d/puppetmaster.conf'],
}
# We don't want nginx to listen at port 80
- site { "default":
+ nginx::base::site { "default":
source => 'none',
ensure => absent,
}