as 'server'. This didn't work as expected because of this error, and
in some situations it caused problems (such as when ever file in a
directory is considered a config file, such is the case with
apt.conf.d )
Trying to force path so puppet doesn't issue the following error:
Could not create true # require_lsbdistcodename: 'true #
require_lsbdistcodename' is both unqualifed and specified no search path
at /etc/puppet/modules/common/manifests/classes/lsb_release.pp:40
Now that this doesn't case unnecessary updates in the system, running the
concatenation every time imrpoves robustness in the face of state damages and
other non-notifying content changes.
Also, tone down the exec to info level to keep the log clean.
* improve documentation on all defines
* rename modules_dir to module_dir and modules_file to module_file
* create $module_dir_path to achieve DRY-ness
* silence the lsb_release stuff
* improve concatenated_file to use an intermediate file, improving reliability
and decoupling the updateing from notifying our peers.
* remove serveral functions that were moved to puppet proper:
- sha1 => sha1
- gsub,substitute,slash_escape => regsubst
This allows $line to contain '/' characters and is generally the safer
thing to do.
Patch from Francois Deppierraz <francois.deppierraz@camptocamp.com>
Instead, use puppet:///, which automatically uses
$servername when executed on clients, but which also works
when run locally.
Signed-off-by: martin f. krafft <madduck@madduck.net>
Signed-off-by: David Schmitt <david@schmitt.edv-bus.at>
This moves all facts and puppet plugins to the plugins/ directory of modules to
get the benefits of Matt's plugins patch, that distributes these files before
the configuration is requested. This reduces the number of configuration runs to
convergence by one.