abusehelper: Better parameter name
This commit is contained in:
parent
d2959c4ed6
commit
a4bff4d882
3 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ class abusehelper {
|
||||||
|
|
||||||
# Install abusehelper init script.
|
# Install abusehelper init script.
|
||||||
#
|
#
|
||||||
class abusehelper::init($botnets, $user="abusehel") {
|
class abusehelper::init($botnets, $botuser="abusehel") {
|
||||||
|
|
||||||
file { "/etc/sysconfig/botnet":
|
file { "/etc/sysconfig/botnet":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
BOTUSER="<%= @user %>"
|
BOTUSER="<%= @botuser %>"
|
||||||
BOTNETS="<%= @botnets.join(" ") %>"
|
BOTNETS="<%= @botnets.join(" ") %>"
|
||||||
|
|
|
@ -91,7 +91,7 @@ class abusesa {
|
||||||
if $abusesa_botnets {
|
if $abusesa_botnets {
|
||||||
class { "abusehelper::init":
|
class { "abusehelper::init":
|
||||||
botnets => $abusesa_botnets,
|
botnets => $abusesa_botnets,
|
||||||
user => "abusesa",
|
botuser => "abusesa",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue