Joshua Hoblitt
d7498a4e25
add tests for class concat::setup
2013-10-23 10:55:05 -07:00
Joshua Hoblitt
7b992f79e3
validate define concat::fragment params
2013-10-23 10:55:01 -07:00
Joshua Hoblitt
eaf8407941
validate define concat params + split warn param
...
In addition, the warn param has been split into a warn (a bool) and
warn_message (a string).
2013-10-23 10:48:34 -07:00
Joshua Hoblitt
e4a53b6755
remove unused $gnu param from define concat
2013-10-22 09:27:53 -07:00
Ashley Penney
0ad32e46b3
Merge pull request #82 from jhoblitt/style_cleanups
...
improve whitespace consistency + remove semicolon resource compression
2013-10-22 09:17:31 -07:00
Joshua Hoblitt
987eaec7ab
improve whitespace consistency + remove semicolon resource compression
...
Per http://docs.puppetlabs.com/guides/style_guide.html#resources
resource compression with the "semicolon syntax" is now considered bad
practice.
2013-10-22 08:54:48 -07:00
Ashley Penney
44f4240286
Merge pull request #81 from songkick/fix-ownership
...
Fix group ownership on files.
2013-10-22 08:02:22 -07:00
Graham Bleach
fbb8f40594
Fix group ownership on files.
...
And add a test to stop it being broken again.
2013-10-22 12:36:19 +01:00
Ashley Penney
6f4aecf059
Merge pull request #80 from JustinHook/master
...
Added .gitattributes to maintain line endings for .sh files
2013-10-21 14:38:02 -07:00
Ashley Penney
dfcd0ca75a
Merge pull request #77 from jhoblitt/remove_manual_include_concat__setup
...
remove undocumented requirement to include concat::setup in manifest
2013-10-21 07:20:56 -07:00
JustinHook
acf67807e3
Added .gitattributes to maintain line endings for .sh files
2013-10-19 22:30:44 +01:00
Joshua Hoblitt
cdb6d6b007
remove undocumented requirement to include concat::setup in manifest
...
Unless the class `concat::setup` has been manually included into the
manifest before using the `concat` / `concat::fragment` defined types,
the puppet master will generate this warning while compiling the catalog.
Tue Oct 15 14:05:06 -0700 2013 Scope(Concat[/etc/exports]) (warning):
Could not look up qualified variable 'concat::setup::root_group'; class
concat::setup has not been evaluated
The need to `include concat::setup` directly into the manifest has never
been part of the documented API.
2013-10-17 15:07:57 -07:00
Ashley Penney
1e63ec4d83
Merge pull request #76 from Paulche/patch-1
...
Add Travis badge
2013-10-16 09:12:18 -07:00
Paul Chechetin
556702601f
Add Travis badge
...
Inspired by #75
2013-10-15 22:42:56 +04:00
Ashley Penney
721ce88738
Merge pull request #74 from petems/spec_refactor
...
Updated .gitignore for spec generated files
2013-10-02 06:42:02 -07:00
petems
c89863cf7c
Updated .gitignore for spec generated files
2013-10-02 13:53:00 +01:00
Ashley Penney
02b6d0b3b9
Merge pull request #73 from blewa/pluginsync_fix
...
Help message for pluginsync now references the correct section of the config
2013-09-30 09:17:23 -07:00
Aaron Blew
bb16039347
Help message for pluginsync now references the correct section of the config
2013-09-27 00:24:58 -07:00
Ashley Penney
bcf1f5407a
Merge pull request #39 from FredericLespez/master
...
Add an $ensure parameter to concat
2013-09-24 15:35:25 -07:00
Ashley Penney
6e5f029eef
Merge pull request #71 from apenney/fragments
...
Fragments
2013-09-24 15:07:16 -07:00
Ashley Penney
64c278490c
Ensure that ::setup runs before ::fragment in all cases.
2013-09-24 17:12:27 -04:00
Frédéric Lespez
d05da952ca
Add an ensure parameter to concat define
...
This parameter controls whether ressources associated to concat should be present or absent.
2013-08-19 16:19:57 +02:00
Hunter Haugen
04356974f7
Merge pull request #65 from apenney/100-release
...
Release 1.0.0.
2013-08-14 15:57:52 -07:00
Ashley Penney
8584aa9637
Release 1.0.0.
2013-08-14 18:50:04 -04:00
Hunter Haugen
562919fe09
Merge pull request #64 from apenney/100-release
...
Free volcane@ by giving him a sock.
2013-08-09 17:51:08 -07:00
Ashley Penney
5423710332
Release 1.0.0.
...
This commits changes all the references to volcane to point to
puppetlabs to free him from any more stray tech support requests
as well.
2013-08-09 10:42:02 -07:00
Ashley Penney
7313d26007
Merge pull request #61 from hubspotdevops/newline_upstream
...
add ensure_newline
2013-08-09 08:44:18 -07:00
Ashley Penney
68e5e73719
Merge pull request #63 from plantigrade/master
...
Update concatfragments.sh
2013-08-09 08:34:46 -07:00
Tom McLaughlin
1830a686e7
Fix spec tests
2013-08-09 10:19:00 -04:00
plantigrade
3728ba33d4
Update concatfragments.sh ... fix broken behavior introduced in 3d60c9ef61
2013-08-09 15:08:56 +02:00
Tom McLaughlin
871e0b7de1
new_line -> newline
2013-08-08 16:25:32 -04:00
Tom McLaughlin
5b483999cc
Add -l to getopts
2013-08-08 16:25:32 -04:00
Tom McLaughlin
3defb6e1c1
Ability to control if fragments should always have a newline at the end.
2013-08-08 16:25:32 -04:00
Ashley Penney
0046fe45f8
Merge pull request #56 from nibalizer/for-loop
...
Refactor loop to use for-do instead of while-read.
2013-08-08 12:21:29 -07:00
Spencer Krum
3d60c9ef61
Refactor loop to use for-do instead of while-read.
...
This for loop around find removes the need for the read statement.
The read statement isn't portable to solaris, because Read has no -r option
in /bin/sh on solaris. This should resolve Issue #45 .
2013-08-08 10:52:59 -07:00
Ashley Penney
2b2d9747bf
Merge pull request #60 from apenney/rspec-system
...
Add rspec-system tests.
2013-08-08 08:52:28 -07:00
Ashley Penney
1d403b6763
Add rspec-system tests.
2013-08-08 08:44:31 -07:00
Ashley Penney
82de49bcd0
Merge pull request #46 from andir/warnmsg_fix
...
Allow WARNMSG to contain/start with '#'
2013-08-07 16:08:56 -07:00
R.I.Pienaar
fe537c0f4f
Merge pull request #51 from duritong/lang_sort
...
sort always with LANG=C
2013-05-22 13:20:20 -07:00
mh
78e547025b
sort always with LANG=C
...
somehowe puppet leaks then LANG into execs, which can give different
ordering depending with which LANG puppet is executed. Which is likely
different between a logged in admin and cron
2013-05-22 00:03:56 +02:00
R.I.Pienaar
c54a95f782
Merge pull request #50 from tremble/master
...
RDoc cleanup
2013-05-10 03:02:39 -07:00
Mark Chappell
688655eb7b
RDoc cleanup
2013-05-10 11:58:02 +02:00
Andreas Rammhold
f1579e50ca
Allow WARNMSG to contain/start with '#'
...
Previosuly this error was being displayed:
108: [: x#: unexpected operator
2013-04-28 13:59:40 +02:00
R.I.Pienaar
57ce1c70c8
Merge pull request #44 from abohne/filenameescapes
...
Added -r flag to read so that filenames with \ will be read correctly
2013-04-11 02:00:37 -07:00
Andy Bohne
03650cc0ca
Added -r flag to read so that filenames with \ will be read correctly
2013-04-08 10:42:53 -04:00
R.I.Pienaar
8c9615dd4e
Merge pull request #43 from maxenced/master
...
Case don't require ',' between cases
2013-03-13 06:29:17 -07:00
Maxence Dunnewind
8e83e57a29
remove unneeded ','
2013-03-13 14:25:47 +01:00
R.I.Pienaar
aa29b59cf6
Merge pull request #42 from tehmaze/master
...
Using the case statement does not properly notify the file resource about changes
2013-03-13 03:04:09 -07:00
Wijnand Modderman-Lenstra
4396d601d6
Move away from defining resource defaults, we can just pass $source and $content directly to the file resource
...
Using the case statement does not properly notify the file resource about
changes, leading to unexpected results when generating fragments from Puppet
templates. This patch fixes that issue.
2013-02-28 13:00:11 +01:00
R.I.Pienaar
6f4f617fd1
Merge pull request #41 from raphaabreu/master
...
Changing messages related to pluginsync to indicate where this setting should be put.
2013-02-24 04:27:54 -08:00