summaryrefslogtreecommitdiff
path: root/manifests/site/config.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/site/config.pp')
-rw-r--r--manifests/site/config.pp11
1 files changed, 6 insertions, 5 deletions
diff --git a/manifests/site/config.pp b/manifests/site/config.pp
index 4bea495..ff8187e 100644
--- a/manifests/site/config.pp
+++ b/manifests/site/config.pp
@@ -1,9 +1,10 @@
define nginx::site::config(
- $use_fqdn = $name,
- $ensure = present,
- $source = 'template',
- $template = 'site',
- $backend = 'weblocal',
+ $server_name = $name,
+ $ensure = present,
+ $source = 'template',
+ $template = 'site',
+ $backend = 'weblocal',
+ $aliases = "*.${name}",
){
case $source {
'file': {