abusehelper: Better parameter name

This commit is contained in:
Ossi Salmi 2013-08-02 23:30:55 +03:00
parent d2959c4ed6
commit a4bff4d882
3 changed files with 3 additions and 3 deletions

View file

@ -136,7 +136,7 @@ class abusehelper {
# Install abusehelper init script.
#
class abusehelper::init($botnets, $user="abusehel") {
class abusehelper::init($botnets, $botuser="abusehel") {
file { "/etc/sysconfig/botnet":
ensure => present,

View file

@ -1,2 +1,2 @@
BOTUSER="<%= @user %>"
BOTUSER="<%= @botuser %>"
BOTNETS="<%= @botnets.join(" ") %>"

View file

@ -91,7 +91,7 @@ class abusesa {
if $abusesa_botnets {
class { "abusehelper::init":
botnets => $abusesa_botnets,
user => "abusesa",
botuser => "abusesa",
}
}