diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-10-20 09:39:12 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-10-20 09:39:12 +0300 |
commit | 6a083cbdd3c938b40350d87c8d69e5ef29d265cc (patch) | |
tree | 1accc08d3fdf195a9c7117dd49c4f57ae731fdf2 | |
parent | e69e66ff1d6f6f786083880d5d42e2ebdcf00f2e (diff) | |
download | puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar.gz puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar.bz2 puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar.xz puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.zip |
lint fixes for mga-advisories
-rw-r--r-- | modules/mga-advisories/manifests/init.pp | 2 | ||||
-rw-r--r-- | modules/mga-advisories/templates/adv-move-pkg | 4 |
2 files changed, 3 insertions, 3 deletions
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 %> "$@" |