diff options
author | Micah Anderson <micah@riseup.net> | 2012-09-25 17:08:59 -0400 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-09-25 18:02:50 -0400 |
commit | f1b77114ac73f2944905b5fdd4d311bc54bd371c (patch) | |
tree | 667c57f1a1368b4535ae26dd09cbeee2c6897a42 /templates/irc_bot | |
parent | 3ac9eeda5e499b07a0d447704c1a6e2611dc773b (diff) |
remove unnecessary % that came from immerda's branch, with it the following errors are caused:
Operator or semicolon missing before %Nsa at /etc/nagios_nsa.cfg line 1.
Ambiguous use of % resolved as operator % at /etc/nagios_nsa.cfg line 1.
ERROR: Failure compiling '/etc/nagios_nsa.cfg' - syntax error at /etc/nagios_nsa.cfg line 1, near "%%Nsa "
Diffstat (limited to 'templates/irc_bot')
-rw-r--r-- | templates/irc_bot/nsa.cfg.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/irc_bot/nsa.cfg.erb b/templates/irc_bot/nsa.cfg.erb index 9109b55..6454e1b 100644 --- a/templates/irc_bot/nsa.cfg.erb +++ b/templates/irc_bot/nsa.cfg.erb @@ -1,4 +1,4 @@ -%%Nsa = ( +%Nsa = ( 'socket' => '<%= scope.lookupvar('nagios::irc_bot::real_nsa_socket') %>', 'server' => '<%= scope.lookupvar('nagios::irc_bot::nsa_server') %>', 'port' => '<%= scope.lookupvar('nagios::irc_bot::nsa_port') %>', |