summaryrefslogtreecommitdiff
path: root/manifests/site/config.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-25 13:37:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-25 13:37:11 -0300
commit557c50672dfa964ad0e59b0aea19e2c59121322f (patch)
tree816b432c65d75e1494aba81848ccf4e25f77cf13 /manifests/site/config.pp
parent95da4e006a2bc31f409c78872472db3ac01250d4 (diff)
downloadpuppet-nginx-557c50672dfa964ad0e59b0aea19e2c59121322f.tar.gz
puppet-nginx-557c50672dfa964ad0e59b0aea19e2c59121322f.tar.bz2
Aliases support on nginx::site
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': {