summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-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,
}