aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-advisories
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 09:39:12 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 09:39:12 +0300
commit6a083cbdd3c938b40350d87c8d69e5ef29d265cc (patch)
tree1accc08d3fdf195a9c7117dd49c4f57ae731fdf2 /modules/mga-advisories
parente69e66ff1d6f6f786083880d5d42e2ebdcf00f2e (diff)
downloadpuppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar
puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar.gz
puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar.bz2
puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.tar.xz
puppet-6a083cbdd3c938b40350d87c8d69e5ef29d265cc.zip
lint fixes for mga-advisories
Diffstat (limited to 'modules/mga-advisories')
-rw-r--r--modules/mga-advisories/manifests/init.pp2
-rw-r--r--modules/mga-advisories/templates/adv-move-pkg4
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 %> "$@"