aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 %>
}
-