Commit graph

138 commits

Author SHA1 Message Date
Andreas
72dcd72362 generate a link 2010-09-02 18:13:49 -04:00
mh
1b4f833b19 remove extra slash 2010-09-02 18:13:43 -04:00
mh
1a6eaf9c2e fix missing urls to 0.25.x 2010-09-02 18:13:36 -04:00
mh
acf0532464 fix missing urls to 0.25.x 2010-09-02 18:13:23 -04:00
mh
d75dcc86f8 recursivly updating file path to new 0.25 style 2010-09-02 18:12:49 -04:00
mh
36c3eecba3 remove unnecessary import 2010-09-02 18:11:59 -04:00
mh
97e15ea5a8 move plugin directory to fit new 0.25 style 2010-09-02 18:11:43 -04:00
mh
37b37ae82f whitespace 2010-09-02 18:10:52 -04:00
mh
91ea4d11ae fixing typo 2010-09-02 18:10:44 -04:00
mh
61d767b561 added a strlength function to get the length of a string into puppet 2010-09-02 18:10:33 -04:00
mh
49b127b80a we don't require any of these execs, so we don't need them 2010-09-02 18:10:24 -04:00
mh
69a63c5767 fixed quoting 2010-09-02 18:09:44 -04:00
Silvio Rhatto
e0080adb1c Reverting last changes: workaround doesn't work 2009-12-27 23:48:06 -02:00
Silvio Rhatto
0411a1b964 Workaround for puppet issue #2786 (3) 2009-12-27 23:39:46 -02:00
Silvio Rhatto
ee51719e23 Workaround for puppet issue #2786 (2) 2009-12-27 23:17:23 -02:00
Silvio Rhatto
3f3d08d12a Workaround for puppet issue #2786 2009-12-27 23:13:42 -02:00
Silvio Rhatto
a25d1e44c2 Adding delete_lines 2009-12-25 22:33:24 -02:00
Silvio Rhatto
0f5508374a Merge git://labs.riseup.net/module_common 2009-12-06 17:18:24 -02:00
pietro
76b0a31a76 Revert "fix source path."
This reverts commit 1fa98d6183.
2009-11-27 18:58:39 -08:00
pietro
6bd12511bb Revert "fix path to source file."
This reverts commit 314af5320f.
2009-11-27 18:58:20 -08:00
pietro
1fa98d6183 fix source path. 2009-11-27 18:35:46 -08:00
pietro
314af5320f fix path to source file. 2009-11-27 18:23:13 -08:00
Micah Anderson
3ff12051c8 move plugin directory to fit new 0.25.x style and update file paths accordingly 2009-11-23 11:54:04 -05:00
Micah Anderson
8a38942507 fix indentation in line.pp example configuration snippet 2009-09-03 13:57:47 -04:00
Micah Anderson
89be6dc2f6 remove 'backup => server' from config_file, as there is no such thing
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 )
2009-09-03 13:54:28 -04:00
Silvio Rhatto
485929e529 Trying to fix line defintion 2009-07-29 16:48:09 -03:00
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
6e9ef2d08e Add append_if_no_such_line compatablity define 2009-07-13 10:52:34 +02: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
c65920d6b8 blob!=raw, should check wget better ;-) 2009-06-02 22:32:30 +02:00
David Schmitt
7cd63a177c Reenable gsub, since regsubst is no proper replacement 2009-06-02 19:22:03 +02:00
David Schmitt
b7ca00eb83 always run concatenate command
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-06-02 14:16:38 +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
9a2c68367f create a common class to install openssl 2008-09-15 15:37:34 +02:00
David Schmitt
3a65dd8535 improve documentation and function naming 2008-08-25 16:45:29 +02:00
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