aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2015-10-20 12:57:08 +0300
committerThomas Backlund <tmb@mageia.org>2015-10-20 12:57:08 +0300
commit3a1a0404f0ccf0286c75a796f1c14b013e8a8dc0 (patch)
treee2b7ef084d52b77925290bdcfeed68fb7bc8daad
parentdb6eb44a43df3f7a2aa62a25deb0c053c9d1c339 (diff)
downloadpuppet-3a1a0404f0ccf0286c75a796f1c14b013e8a8dc0.tar
puppet-3a1a0404f0ccf0286c75a796f1c14b013e8a8dc0.tar.gz
puppet-3a1a0404f0ccf0286c75a796f1c14b013e8a8dc0.tar.bz2
puppet-3a1a0404f0ccf0286c75a796f1c14b013e8a8dc0.tar.xz
puppet-3a1a0404f0ccf0286c75a796f1c14b013e8a8dc0.zip
lint fixes for xinetd
-rw-r--r--modules/xinetd/manifests/port_forward.pp2
-rw-r--r--modules/xinetd/manifests/service.pp2
-rw-r--r--modules/xinetd/templates/port_forward1
3 files changed, 2 insertions, 3 deletions
diff --git a/modules/xinetd/manifests/port_forward.pp b/modules/xinetd/manifests/port_forward.pp
index 23d00f03..2717466e 100644
--- a/modules/xinetd/manifests/port_forward.pp
+++ b/modules/xinetd/manifests/port_forward.pp
@@ -1,6 +1,6 @@
define xinetd::port_forward($target_ip, $target_port, $port, $proto = 'tcp') {
include xinetd
- file { "/etc/xinetd.d/$name":
+ file { "/etc/xinetd.d/${name}":
require => Package['xinetd'],
content => template('xinetd/port_forward'),
notify => Service['xinetd']
diff --git a/modules/xinetd/manifests/service.pp b/modules/xinetd/manifests/service.pp
index 23ebeedf..24caafd9 100644
--- a/modules/xinetd/manifests/service.pp
+++ b/modules/xinetd/manifests/service.pp
@@ -1,6 +1,6 @@
define xinetd::service($content) {
include xinetd
- file { "/etc/xinetd.d/$name":
+ file { "/etc/xinetd.d/${name}":
require => Package['xinetd'],
content => $content,
notify => Service['xinetd']
diff --git a/modules/xinetd/templates/port_forward b/modules/xinetd/templates/port_forward
index 16ba9a1c..1b76b0e1 100644
--- a/modules/xinetd/templates/port_forward
+++ b/modules/xinetd/templates/port_forward
@@ -13,4 +13,3 @@ service <%= name %>
redirect = <%= target_ip %> <%= target_port %>
port = <%= port %>
}
-