diff options
author | R.I.Pienaar <rip@devco.net> | 2012-05-20 11:29:21 -0700 |
---|---|---|
committer | R.I.Pienaar <rip@devco.net> | 2012-05-20 11:29:21 -0700 |
commit | 52dbf4a61a0a47b82b5213def9fe19b7af47a498 (patch) | |
tree | 9db11fc14cde2e395c307ed866caa0f56488c430 /manifests | |
parent | e9c97b88205bdf0f79754d89279b9c142d944bd8 (diff) | |
parent | 0bbbe320ccd6df0b8e51b9b9dfc9debdf1e2654a (diff) | |
download | puppet-concat-52dbf4a61a0a47b82b5213def9fe19b7af47a498.tar.gz puppet-concat-52dbf4a61a0a47b82b5213def9fe19b7af47a498.tar.bz2 |
Merge pull request #20 from endemics/master
add information about concat_basedir and the need for pluginsync = true at least once
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 12 | ||||
-rw-r--r-- | manifests/setup.pp | 6 |
2 files changed, 11 insertions, 7 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 48aeec3..0b3ed56 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -31,10 +31,14 @@ # to control that and thus control the order the final file gets built in. # # SETUP: -# The class concat::setup defines a variable $concatdir - you should set this -# to a directory where you want all the temporary files and fragments to be -# stored. Avoid placing this somewhere like /tmp since you should never -# delete files here, puppet will manage them. +# The class concat::setup uses the fact concat_basedir to define the variable +# $concatdir, where all the temporary files and fragments will be +# durably stored. The fact concat_basedir will be set up on the client to +# <Puppet[:vardir]>/concat, so you will be able to run different setup/flavours +# of puppet clients. +# However, since this requires the file lib/facter/concat_basedir.rb to be +# deployed on the clients, so you will have to set "pluginsync = true" on +# both the master and client, at least for the first run. # # There's some regular expression magic to figure out the puppet version but # if you're on an older 0.24 version just set $puppetversion = 24 diff --git a/manifests/setup.pp b/manifests/setup.pp index ce3f7ea..fb75584 100644 --- a/manifests/setup.pp +++ b/manifests/setup.pp @@ -1,8 +1,8 @@ # Sets up the concat system. # -# $concatdir should point to a place where you wish the fragments to -# live. This should not be somewhere like /tmp since ideally these files -# should not be deleted ever, puppet should always manage them +# $concatdir is where the fragments live and is set on the fact concat_basedir. +# Since puppet should always manage files in $concatdir and they should +# not be deleted ever, /tmp is not an option. # # $puppetversion should be either 24 or 25 to enable a 24 compatible # mode, in 24 mode you might see phantom notifies this is a side effect |