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.
|
||||
#
|
||||
class abusehelper::init($botnets, $user="abusehel") {
|
||||
class abusehelper::init($botnets, $botuser="abusehel") {
|
||||
|
||||
file { "/etc/sysconfig/botnet":
|
||||
ensure => present,
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
BOTUSER="<%= @user %>"
|
||||
BOTUSER="<%= @botuser %>"
|
||||
BOTNETS="<%= @botnets.join(" ") %>"
|
||||
|
|
|
@ -91,7 +91,7 @@ class abusesa {
|
|||
if $abusesa_botnets {
|
||||
class { "abusehelper::init":
|
||||
botnets => $abusesa_botnets,
|
||||
user => "abusesa",
|
||||
botuser => "abusesa",
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue