From 557c50672dfa964ad0e59b0aea19e2c59121322f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 25 Jun 2016 13:37:11 -0300 Subject: Aliases support on nginx::site --- manifests/site/config.pp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'manifests/site/config.pp') 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': { -- cgit v1.2.3