aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ii
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ii')
-rw-r--r--modules/ii/manifests/init.pp2
-rw-r--r--modules/ii/templates/ii_wrapper.pl4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/ii/manifests/init.pp b/modules/ii/manifests/init.pp
index 9f58b785..2947c75d 100644
--- a/modules/ii/manifests/init.pp
+++ b/modules/ii/manifests/init.pp
@@ -15,7 +15,7 @@ class ii {
$nick = $name
include ii::base
- # a custom wrappper is needed since ii do not fork in the
+ # a custom wrapper is needed since ii does not fork in the
# background, and bash is not able to properly do it
mga_common::local_script { "ii_${nick}":
content => template('ii/ii_wrapper.pl'),
diff --git a/modules/ii/templates/ii_wrapper.pl b/modules/ii/templates/ii_wrapper.pl
index 5e5cc65e..68128314 100644
--- a/modules/ii/templates/ii_wrapper.pl
+++ b/modules/ii/templates/ii_wrapper.pl
@@ -3,8 +3,8 @@ use warnings;
use strict;
use POSIX;
use Proc::Daemon;
-my $nick = "<%= nick %>";
-my $server = "<%= server %>";
+my $nick = "<%= @nick %>";
+my $server = "<%= @server %>";
Proc::Daemon::Init();