summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp2
-rw-r--r--templates/config.py.erb3
2 files changed, 4 insertions, 1 deletions
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.