From 6a083cbdd3c938b40350d87c8d69e5ef29d265cc Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Tue, 20 Oct 2015 09:39:12 +0300 Subject: lint fixes for mga-advisories --- modules/mga-advisories/manifests/init.pp | 2 +- modules/mga-advisories/templates/adv-move-pkg | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/mga-advisories') diff --git a/modules/mga-advisories/manifests/init.pp b/modules/mga-advisories/manifests/init.pp index 59b3fd4e..582b2aae 100644 --- a/modules/mga-advisories/manifests/init.pp +++ b/modules/mga-advisories/manifests/init.pp @@ -52,7 +52,7 @@ class mga-advisories( require => File[$vhostdir], } - apache::vhost::base { "ssl_$vhost": + apache::vhost::base { "ssl_${vhost}": use_ssl => true, vhost => $vhost, aliases => $vhost_aliases, diff --git a/modules/mga-advisories/templates/adv-move-pkg b/modules/mga-advisories/templates/adv-move-pkg index 39d246ec..71e1880e 100644 --- a/modules/mga-advisories/templates/adv-move-pkg +++ b/modules/mga-advisories/templates/adv-move-pkg @@ -1,8 +1,8 @@ #!/bin/sh if [ "$USER" != "<%= @mgaadv_login %>" ]; then - echo "This script must be run as the <%= @mgaadv_login %> user." >&2 - exit 1 + echo "This script must be run as the <%= @mgaadv_login %> user." >&2 + exit 1 fi exec sudo <%= @move_script %> "$@" -- cgit v1.2.1