Commit graph

8 commits

Author SHA1 Message Date
Silvio Rhatto
9e6cb5d208 Avoiding exec error
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
2009-07-16 15:08:49 -03:00
David Schmitt
de7690c4e7 RDoc-ify documentation
See http://club.black.co.at/david/puppet/doc/ for a current version of the RDoc
output.
2009-06-09 17:51:10 +02:00
David Schmitt
53d0fde15f Major cleanup of the common module
* 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
2009-05-31 21:14:37 +02:00
David Schmitt
ffa7b203c0 lsb_release: remove paths from exec, to be more flexible, hint from admin@immerda.ch 2008-02-14 18:11:52 +01:00
root
af7efe4791 quiet down lsb_release checks 2007-11-26 08:42:09 +01:00
David Schmitt
2b385eb0a6 recognize lsbdistcodename 'n/a'
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-26 22:18:00 +02:00
david
1c856bb6fb add fqdn to error message
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@60 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-25 10:17:39 +00:00
david
33f386f33c added assert_lsbdistcodename
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@57 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-25 08:24:51 +00:00