Added support for custom templates in /srv/puppet/templates directory.

This commit is contained in:
Timo Mkinen 2010-11-19 13:31:46 +02:00
parent ed77786747
commit 42a3a74b7b
2 changed files with 5 additions and 1 deletions

View file

@ -257,7 +257,8 @@ class puppet::server inherits puppet::client {
Package["puppetmaster"], ],
before => Service["puppetmaster"],
}
file { "/srv/puppet/files":
file { [ "/srv/puppet/files",
"/srv/puppet/templates" ]:
ensure => directory,
mode => 0755,
owner => root,

View file

@ -12,6 +12,9 @@
# Server bucket store.
bucketdir = /srv/puppet/bucket
# Put custom templates under datadirectory
templatedir = /srv/puppet/templates
<% if puppet_storeconfigs != 'none' -%>
# Use storeconfigs
storeconfigs = true