Commit graph

53 commits

Author SHA1 Message Date
David Schmitt
0955f631b9 remove netmask.rb which was merged in facter 1.5 2008-08-11 20:25:27 +02:00
David Schmitt
13ae7fbace minor fixes to .ignore and docs 2008-08-02 13:16:10 +02:00
David Schmitt
3d96669da7 more corrections of .ignore 2008-07-08 11:35:13 +02:00
David Schmitt
b24eaae55e modules_dir: nail empty directory files/empty/ into the repo
Since git ignores empty directories, I had to create a placeholder to
fool git. The placeholder is ignored in the define.
2008-06-30 13:47:30 +02:00
David Schmitt
07ebdfa2c5 line: do a full string match of $line instead of a regex match
This allows $line to contain '/' characters and is generally the safer
thing to do.

Patch from Francois Deppierraz <francois.deppierraz@camptocamp.com>
2008-06-26 12:01:24 +02:00
David Schmitt
7820051c67 remove one more $servername 2008-06-05 16:48:00 +02:00
martin f. krafft
6a15374c17 do not use $servername in puppet:// urls
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-06-05 16:43:27 +02:00
David Schmitt
0da171820d re-enable automatic modules_dir source 2008-04-06 18:31:17 +02:00
David Schmitt
535bc328f2 checkup 2008-04-06 17:36:22 +02:00
David Schmitt
8891451fef add "prefix_with" function 2008-02-29 16:51:51 +01:00
David Schmitt
39b980df25 config_file: use File's built-in checking for content/source 2008-02-29 16:49:59 +01:00
David Schmitt
f1428f324a more BSD compatability from admin@immerda.ch 2008-02-14 18:24:44 +01: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
David Schmitt
45088ca543 catchup commit 2008-01-28 16:05:38 +01:00
root
b97345857b concatenated_file: create a sensible default for dir parameter
patch by Chris MacLeod, thanks!
2007-11-30 18:58:01 +01:00
root
af7efe4791 quiet down lsb_release checks 2007-11-26 08:42:09 +01:00
root
9d7a47506c common: minor improvements to config_file, replace and line 2007-11-13 10:44:07 +01:00
root
76483492e6 common: fix default mode for modules_dir 2007-10-27 17:54:57 +02:00
root
79e25c055a common: modules_file define as companion to modules_dir 2007-10-27 17:51:13 +02:00
root
8b28bba399 common/line, ssh: style cleanup 2007-10-26 18:12:10 +02:00
root
5f261926e3 common: trivial passthrough for ensure 2007-10-09 10:55:09 +02:00
Micah Anderson
f239916afc Add some examples to the individual defines 2007-10-08 11:40:09 +02:00
Micah Anderson
ad81b0f977 Make the usage more friendly 2007-10-08 11:40:09 +02:00
Micah Anderson
17c3eb1644 Add a README for the common module 2007-10-08 11:40:09 +02:00
David Schmitt
d9a3c7617a common: remove hand made plugins install defines and use matt's plugins patch
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-06 10:11:47 +02:00
root
dbf92194b7 common: add netmask fact for automatic syncing 2007-10-01 21:03:27 +02:00
root
32b0c131ac common: fix clash between modules_dir and concatenated_file(dir) better 2007-09-26 11:57:18 +02:00
root
67ea4bb276 moved "replace" define to module 2007-09-11 10:29:38 +02:00
root
a3e3bafd50 add facter dir in common module 2007-09-06 15:43:20 +02:00
David Schmitt
6e21670d06 line($ensure) defaults to present 2007-08-26 22:47:06 +02: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
90dab4fda5 restructure puppet_install
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@191 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-08 17:57:53 +00:00
david
a73085c7e0 more fixes for the munin modularizsation
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@178 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-07 14:15:44 +00:00
david
9b9856b60e fix "fail on no ntp_ plugins" bug
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@176 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-07 11:42:33 +00:00
david
5c3b366b7b add defines to install facts and functions; try it in ldap module
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@175 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-07 07:57:50 +00:00
david
8c60b89c05 support a footer file too
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@174 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-06 10:16:33 +00:00
david
c85903a0b3 support a header file
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@173 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-06 10:14:15 +00:00
david
f7c440572b add refreshonly and notifies; minor shell fixes
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@167 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-06 06:33:19 +00:00
david
237d7fa765 moved puppet functions to common::puppetmaster
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@154 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-02 09:28:47 +00:00
david
d8ac4de367 added local override for modules_dir and use it for ntp
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@140 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-01 11:25:27 +00:00
david
e95d077173 add forcible purging of directories
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@138 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-08-01 08:03:00 +00:00
david
550b18c797 fixed up refresh behaviour, still have to run the concat every time, but 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
2007-07-29 10:35:34 +00:00
david
29d21af47e purge /var/lib/puppet/modules
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@122 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-07-14 09:27:55 +00:00
david
bc01dcd37b move and freshen up apache2 module
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@74 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-28 08:25:47 +00:00
david
0a217790e0 add a define to handily add parts to a concatenated file
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@64 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-27 06:48:13 +00:00
david
1f3cd8ebea create a stable result by sorting filenames
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@63 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-25 14:03:28 +00:00
david
7e5b55bde5 fix dumb typo
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@62 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-25 13:45:11 +00: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
david
9038003134 added more comments and checksum=>md5
git-svn-id: http://club.black.co.at:82/svn/manifests/trunk@56 f03ff2f1-f02d-0410-970d-b9634babeaa1
2007-06-25 07:53:07 +00:00