summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-07-13Add append_if_no_such_line compatablity defineDavid Schmitt
2009-06-09RDoc-ify documentationDavid Schmitt
See http://club.black.co.at/david/puppet/doc/ for a current version of the RDoc output.
2009-06-02blob!=raw, should check wget better ;-)David Schmitt
2009-06-02Reenable gsub, since regsubst is no proper replacementDavid Schmitt
2009-06-02always run concatenate commandDavid Schmitt
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.
2009-05-31Major cleanup of the common moduleDavid Schmitt
* 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
2008-09-15create a common class to install opensslDavid Schmitt
2008-08-25improve documentation and function namingDavid Schmitt
2008-08-11remove netmask.rb which was merged in facter 1.5David Schmitt
2008-08-02minor fixes to .ignore and docsDavid Schmitt
2008-07-08more corrections of .ignoreDavid Schmitt
2008-06-30modules_dir: nail empty directory files/empty/ into the repoDavid Schmitt
Since git ignores empty directories, I had to create a placeholder to fool git. The placeholder is ignored in the define.
2008-06-26line: do a full string match of $line instead of a regex matchDavid Schmitt
This allows $line to contain '/' characters and is generally the safer thing to do. Patch from Francois Deppierraz <francois.deppierraz@camptocamp.com>
2008-06-05remove one more $servernameDavid Schmitt
2008-06-05do not use $servername in puppet:// urlsmartin f. krafft
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>
2008-04-06re-enable automatic modules_dir sourceDavid Schmitt
2008-04-06checkupDavid Schmitt
2008-02-29add "prefix_with" functionDavid Schmitt
2008-02-29config_file: use File's built-in checking for content/sourceDavid Schmitt
2008-02-14more BSD compatability from admin@immerda.chDavid Schmitt
2008-02-14lsb_release: remove paths from exec, to be more flexible, hint from ↵David Schmitt
admin@immerda.ch
2008-01-28catchup commitDavid Schmitt
2007-11-30concatenated_file: create a sensible default for dir parameterroot
patch by Chris MacLeod, thanks!
2007-11-26quiet down lsb_release checksroot
2007-11-13common: minor improvements to config_file, replace and lineroot
2007-10-27common: fix default mode for modules_dirroot
2007-10-27common: modules_file define as companion to modules_dirroot
2007-10-26common/line, ssh: style cleanuproot
2007-10-09common: trivial passthrough for ensureroot
2007-10-08Add some examples to the individual definesMicah Anderson
2007-10-08Make the usage more friendlyMicah Anderson
2007-10-08Add a README for the common moduleMicah Anderson
2007-10-06common: remove hand made plugins install defines and use matt's plugins patchDavid Schmitt
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.
2007-10-01common: add netmask fact for automatic syncingroot
2007-09-26common: fix clash between modules_dir and concatenated_file(dir) betterroot
2007-09-11moved "replace" define to moduleroot
2007-09-06add facter dir in common moduleroot
2007-08-26line($ensure) defaults to presentDavid Schmitt
2007-08-26recognize lsbdistcodename 'n/a'David Schmitt
micah <micah@riseup.net> reported, that lsb_release can report nonsensical values for lsbdistcodename; assert_lsbdistcodename now recognises "n/a" and acts accordingly
2007-08-08restructure puppet_installdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@191 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-07more fixes for the munin modularizsationdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@178 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-07fix "fail on no ntp_ plugins" bugdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@176 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-07add defines to install facts and functions; try it in ldap moduledavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@175 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-06support a footer file toodavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@174 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-06support a header filedavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@173 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-06add refreshonly and notifies; minor shell fixesdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@167 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-02moved puppet functions to common::puppetmasterdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@154 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-01added local override for modules_dir and use it for ntpdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@140 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-01add forcible purging of directoriesdavid
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@138 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-07-29fixed up refresh behaviour, still have to run the concat every time, but ↵david
requirors are signalled only when the md5 changes git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@126 f03ff2f1-f02d-0410-970d-b9634babeaa1