]> gitweb.fluxo.info Git - puppet-qwebirc.git/commitdiff
Changing default value for args parameter master
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 21:07:02 +0000 (18:07 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 9 May 2013 21:07:02 +0000 (18:07 -0300)
manifests/init.pp
templates/config.py.erb

index 4ef3e3132b83cce71107f52e55d13a71d4c6b902..42ab3179596a05a62e959bc013d38034bfb94f21 100644 (file)
@@ -12,7 +12,7 @@ class qwebirc(
     $sslfingerprint       = false,
     $webirc_password      = false,
     $ident                = 'webchat',
-    $args                 = '-n -p 3989',
+    $args                 = '',
     $forwarded_for_header = '',
     $forwarded_for_ips    = ''
 ) {
index 9c2bf917e9881a49ab2b50f4a275317dd9af780e..2fb5ad66839a225748b3c237a4bea1e3370a9315 100644 (file)
@@ -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.