From ba9b00f64061f45da0f7d7730e89ab8307e2c421 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 9 May 2013 18:07:02 -0300 Subject: Changing default value for args parameter --- manifests/init.pp | 2 +- templates/config.py.erb | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/init.pp b/manifests/init.pp index 4ef3e31..42ab317 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -12,7 +12,7 @@ class qwebirc( $sslfingerprint = false, $webirc_password = false, $ident = 'webchat', - $args = '-n -p 3989', + $args = '', $forwarded_for_header = '', $forwarded_for_ips = '' ) { diff --git a/templates/config.py.erb b/templates/config.py.erb index 9c2bf91..2fb5ad6 100644 --- a/templates/config.py.erb +++ b/templates/config.py.erb @@ -205,7 +205,10 @@ FORWARDED_FOR_IPS=<%= forwarded_for_ips %> # OPTION: ARGS (optional) # These arguments will be used as if qwebirc was run directly # with them, see run.py --help for a list of options. +#ARGS = '-n -p 3989' +<%- if args != '' -%> ARGS = "<%= args %>" +<%- end -%> # OPTION: SYSLOG_ADDR (optional) # Used in conjunction with util/syslog.py and -s option. -- cgit v1.2.3