diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-10-20 00:48:51 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-10-20 00:48:51 +0300 |
commit | 8baadde40d126419e08b4ece63aba11cbac90182 (patch) | |
tree | 60d7858f26187df80d74cb053aef8e18a465e98c /modules | |
parent | a51e7b5664d0bc35d2fa00f7171d88ed0877cf4a (diff) | |
download | puppet-8baadde40d126419e08b4ece63aba11cbac90182.tar puppet-8baadde40d126419e08b4ece63aba11cbac90182.tar.gz puppet-8baadde40d126419e08b4ece63aba11cbac90182.tar.bz2 puppet-8baadde40d126419e08b4ece63aba11cbac90182.tar.xz puppet-8baadde40d126419e08b4ece63aba11cbac90182.zip |
lint fixes for ii
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ii/manifests/init.pp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/ii/manifests/init.pp b/modules/ii/manifests/init.pp index ce25ecd5..9f58b785 100644 --- a/modules/ii/manifests/init.pp +++ b/modules/ii/manifests/init.pp @@ -17,21 +17,21 @@ class ii { include ii::base # a custom wrappper is needed since ii do not fork in the # background, and bash is not able to properly do it - mga_common::local_script { "ii_$nick": + mga_common::local_script { "ii_${nick}": content => template('ii/ii_wrapper.pl'), require => Class['ii::base'], } service { 'ii': provider => base, - start => "/usr/local/bin/ii_$nick", - require => Mga_common::Local_script["ii_$nick"], + start => "/usr/local/bin/ii_${nick}", + require => Mga_common::Local_script["ii_${nick}"], } - exec { "join channel $nick": - command => "echo '/j $channel' > /var/lib/ii/$nick/$server/in", + exec { "join channel ${nick}": + command => "echo '/j ${channel}' > /var/lib/ii/${nick}/${server}/in", user => 'nobody', - creates => "/var/lib/ii/$nick/$server/$channel/in", + creates => "/var/lib/ii/${nick}/${server}/${channel}/in", require => Service['ii'], } } |