projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix path to template
[mirror/dsa-puppet.git]
/
modules
/
debian_org
/
templates
/
puppet.conf.erb
diff --git
a/modules/debian_org/templates/puppet.conf.erb
b/modules/debian_org/templates/puppet.conf.erb
index
83d06de
..
a267867
100644
(file)
--- a/
modules/debian_org/templates/puppet.conf.erb
+++ b/
modules/debian_org/templates/puppet.conf.erb
@@
-26,7
+26,12
@@
storeconfigs_backend = puppetdb
[agent]
environments = development,testing,production,staging
report = true
[agent]
environments = development,testing,production,staging
report = true
+<%- if has_variable?("puppetversion") and (scope.call_function('versioncmp', [@puppetversion.to_s, '4.1.0']) >= 0) -%>
+http_connect_timeout = 20
+http_read_timeout = 240
+<%- else -%>
configtimeout = 240
configtimeout = 240
+<%- end -%>
<%- if has_variable?("puppetversion") and @puppetversion.to_s == "3.7.2" -%>
stringify_facts = false
<%- end -%>
<%- if has_variable?("puppetversion") and @puppetversion.to_s == "3.7.2" -%>
stringify_facts = false
<%- end -%>