aboutsummaryrefslogtreecommitdiffstats
path: root/modules/puppet
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-02-19 17:45:12 +0000
committerMichael Scherer <misc@mageia.org>2012-02-19 17:45:12 +0000
commitaf0efa3bed5cf45ea19953953629e515576ec4b7 (patch)
tree8f258775b4aa5b77d71649d8c17f3136f9f1ab5c /modules/puppet
parent9bb4b31406f0d02d49cced42e337ded408db43e5 (diff)
downloadpuppet-af0efa3bed5cf45ea19953953629e515576ec4b7.tar
puppet-af0efa3bed5cf45ea19953953629e515576ec4b7.tar.gz
puppet-af0efa3bed5cf45ea19953953629e515576ec4b7.tar.bz2
puppet-af0efa3bed5cf45ea19953953629e515576ec4b7.tar.xz
puppet-af0efa3bed5cf45ea19953953629e515576ec4b7.zip
add thin configuration
Diffstat (limited to 'modules/puppet')
-rw-r--r--modules/puppet/manifests/thin.pp4
-rw-r--r--modules/puppet/templates/thin.yml18
2 files changed, 22 insertions, 0 deletions
diff --git a/modules/puppet/manifests/thin.pp b/modules/puppet/manifests/thin.pp
index 9dd29d5f..4b9ae297 100644
--- a/modules/puppet/manifests/thin.pp
+++ b/modules/puppet/manifests/thin.pp
@@ -11,4 +11,8 @@ class puppet::thin {
apache::config { "/etc/httpd/conf.d/puppet.conf":
content => "Listen 8140",
}
+
+ file { '/etc/puppet/thin.yml':
+ content => template('puppet/thin.yml'),
+ }
}
diff --git a/modules/puppet/templates/thin.yml b/modules/puppet/templates/thin.yml
new file mode 100644
index 00000000..8cf4231d
--- /dev/null
+++ b/modules/puppet/templates/thin.yml
@@ -0,0 +1,18 @@
+---
+daemonize: true
+require: []
+
+timeout: 30
+user: puppet
+group: puppet
+wait: 30
+log: /var/log/thin.log
+max_conns: 1024
+chdir: /etc/puppet
+address: 127.0.0.1
+servers: 3
+environment: production
+max_persistent_conns: 512
+pid: /var/run/puppet/puppetmaster.pid
+rackup: /usr/local/share/puppet.config.ru
+port: 18140