]> gitweb.fluxo.info Git - puppet-concat.git/log
puppet-concat.git
13 years agoMerge remote-tracking branch 'shared/master' master
mh [Wed, 2 Jan 2013 14:42:58 +0000 (15:42 +0100)]
Merge remote-tracking branch 'shared/master'

13 years agoMerge pull request #38 from jpoppe/master
R.I.Pienaar [Wed, 12 Dec 2012 14:21:53 +0000 (06:21 -0800)]
Merge pull request #38 from jpoppe/master

added (file) $replace parameter to concat

13 years agoadded description of replace in the comment block
Jasper Poppe [Wed, 12 Dec 2012 14:14:51 +0000 (15:14 +0100)]
added description of replace in the comment block

13 years agoadded (file) $replace parameter to concat
Jasper Poppe [Wed, 12 Dec 2012 13:33:47 +0000 (14:33 +0100)]
added (file) $replace parameter to concat

13 years agoMerge pull request #35 from Zugschlus/master
R.I.Pienaar [Tue, 6 Nov 2012 09:59:57 +0000 (01:59 -0800)]
Merge pull request #35 from Zugschlus/master

please consider pulling

13 years agogracefully handle \n in fragment resource name
Marc Haber [Tue, 6 Nov 2012 09:31:54 +0000 (10:31 +0100)]
gracefully handle \n in fragment resource name

13 years agorefer to manifest files for option docs
Marc Haber [Tue, 6 Nov 2012 09:31:07 +0000 (10:31 +0100)]
refer to manifest files for option docs

13 years agofix markup
R.I.Pienaar [Tue, 4 Sep 2012 11:45:45 +0000 (12:45 +0100)]
fix markup

13 years agoPrepare for version 0.2.0
R.I.Pienaar [Tue, 4 Sep 2012 11:40:42 +0000 (12:40 +0100)]
Prepare for version 0.2.0

13 years agoMerge pull request #32 from UnifiedPost/develop
R.I.Pienaar [Thu, 30 Aug 2012 10:39:47 +0000 (03:39 -0700)]
Merge pull request #32 from UnifiedPost/develop

Fixes various puppet-lint warnings.

13 years agoFixes various puppet-lint warnings.
Jan Vansteenkiste [Thu, 30 Aug 2012 10:33:50 +0000 (12:33 +0200)]
Fixes various puppet-lint warnings.

* ./manifests/init.pp - WARNING: ensure found on line but it's not the first attribute on line 222
* ./manifests/setup.pp - WARNING: selector inside resource block on line 34
* ./manifests/fragment.pp - WARNING: case statement without a default case on line 28

13 years agoMerge pull request #31 from UnifiedPost/develop
R.I.Pienaar [Thu, 30 Aug 2012 09:11:02 +0000 (02:11 -0700)]
Merge pull request #31 from UnifiedPost/develop

Allow using a custom name and provide a path to the file that needs to be created using concat.

13 years agoDocument the path parameter and provide a small use case.
Jan Vansteenkiste [Thu, 30 Aug 2012 09:06:58 +0000 (11:06 +0200)]
Document the path parameter and provide a small use case.

13 years agoAdd a second spec test for the name/path combination
Jan Vansteenkiste [Thu, 30 Aug 2012 08:10:23 +0000 (10:10 +0200)]
Add a second spec test for the name/path combination

13 years agoAllow overriding the target path of a (concat) file and use a custom name.
Jan Vansteenkiste [Thu, 30 Aug 2012 08:09:28 +0000 (10:09 +0200)]
Allow overriding the target path of a (concat) file and use a custom name.

13 years agoMerge pull request #29 from x-way/master
R.I.Pienaar [Tue, 14 Aug 2012 16:45:36 +0000 (09:45 -0700)]
Merge pull request #29 from x-way/master

Add puppet-lint and rspec-puppet gems to make Travis CI work again

13 years agoAdd puppet-lint and rspec-puppet gem for Travis CI
Andreas Jaggi [Tue, 14 Aug 2012 16:23:44 +0000 (18:23 +0200)]
Add puppet-lint and rspec-puppet gem for Travis CI

13 years agoMerge pull request #28 from x-way/master
R.I.Pienaar [Tue, 14 Aug 2012 15:27:52 +0000 (08:27 -0700)]
Merge pull request #28 from x-way/master

Remove trailing whitespace to make puppet-lint happy

13 years agoRemove trailing whitespace in comment
Andreas Jaggi [Tue, 14 Aug 2012 15:13:25 +0000 (17:13 +0200)]
Remove trailing whitespace in comment

puppet-lint does not like trailing whitespaces

13 years agoMerge pull request #27 from djmitche/auto-setup
R.I.Pienaar [Wed, 11 Jul 2012 22:22:25 +0000 (15:22 -0700)]
Merge pull request #27 from djmitche/auto-setup

Include concat::setup from concat, so users don't need to

13 years agoInclude concat::setup from concat, so users don't need to
Dustin J. Mitchell [Wed, 11 Jul 2012 21:52:31 +0000 (16:52 -0500)]
Include concat::setup from concat, so users don't need to

13 years agoMerge pull request #26 from djmitche/patch-1
R.I.Pienaar [Wed, 11 Jul 2012 21:49:17 +0000 (14:49 -0700)]
Merge pull request #26 from djmitche/patch-1

Remove spurious 'e' character.

13 years agoRemove spurious 'e' character.
Dustin J. Mitchell [Wed, 11 Jul 2012 21:46:12 +0000 (16:46 -0500)]
Remove spurious 'e' character.

13 years agoMerge pull request #25 from branan/module_package_name
R.I.Pienaar [Thu, 28 Jun 2012 18:13:40 +0000 (11:13 -0700)]
Merge pull request #25 from branan/module_package_name

Fix module name to make the PMT happier

13 years agoFix module name to make the PMT happier
Branan Purvine-Riley [Thu, 28 Jun 2012 18:09:57 +0000 (11:09 -0700)]
Fix module name to make the PMT happier

13 years agoMerge pull request #24 from pabelanger/improvements
R.I.Pienaar [Sat, 23 Jun 2012 22:37:34 +0000 (15:37 -0700)]
Merge pull request #24 from pabelanger/improvements

Improvements

13 years agoReformatting for puppet-lint
Paul Belanger [Sat, 23 Jun 2012 21:45:57 +0000 (17:45 -0400)]
Reformatting for puppet-lint
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
13 years agoAdd Travis CI support
Paul Belanger [Sat, 23 Jun 2012 21:15:47 +0000 (17:15 -0400)]
Add Travis CI support
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
13 years agoLets use puppetlabs_spec_helper
Paul Belanger [Sat, 23 Jun 2012 21:13:08 +0000 (17:13 -0400)]
Lets use puppetlabs_spec_helper
Signed-off-by: Paul Belanger <paul.belanger@polybeacon.com>
13 years agoupdate README.markdown to clearly indicate how to start using the concat module
Micah Anderson [Wed, 20 Jun 2012 14:38:08 +0000 (10:38 -0400)]
update README.markdown to clearly indicate how to start using the concat module

13 years agoMerge pull request #23 from sathlan/feature/add-basic-tests
R.I.Pienaar [Thu, 31 May 2012 23:36:59 +0000 (16:36 -0700)]
Merge pull request #23 from sathlan/feature/add-basic-tests

Feature/add basic tests

13 years agoCleanup.
sathlan [Thu, 31 May 2012 12:42:49 +0000 (14:42 +0200)]
Cleanup.

13 years agoAdding basic tests.
sathlan [Thu, 31 May 2012 12:31:43 +0000 (14:31 +0200)]
Adding basic tests.

Successfully tested inside rvm:
  - ruby 1.8.7-p302;
  - puppet (2.7.13)
  - facter (1.6.9)
  - bundler (1.1.3)
  - diff-lcs (1.1.3)
  - metaclass (0.0.1)
  - mocha (0.11.4)
  - puppet-lint (0.1.13)
  - rake (0.9.2.2)
  - rspec (2.8.0)
  - rspec-core (2.8.0)
  - rspec-expectations (2.8.0)
  - rspec-mocks (2.8.0)
  - rspec-puppet (0.1.3)
  - rubygems-bundler (1.0.2)
  - rvm (1.11.3.3)

13 years agoMerge branch 'master' of github.com:ripienaar/puppet-concat
R.I.Pienaar [Tue, 29 May 2012 18:30:35 +0000 (19:30 +0100)]
Merge branch 'master' of github.com:ripienaar/puppet-concat

13 years agoMerge pull request #21 from mrwacky42/basedir_warning
R.I.Pienaar [Wed, 23 May 2012 21:42:14 +0000 (14:42 -0700)]
Merge pull request #21 from mrwacky42/basedir_warning

Fail with helpful advice if $::concat_basedir is not yet set

13 years agoFail with helpful advice if $::concat_basedir is not yet set
Sharif Nassar [Wed, 23 May 2012 21:35:08 +0000 (14:35 -0700)]
Fail with helpful advice if $::concat_basedir is not yet set

Building on the new docs in https://github.com/ripienaar/puppet-concat/pull/20

13 years agoMerge pull request #20 from endemics/master
R.I.Pienaar [Sun, 20 May 2012 18:29:21 +0000 (11:29 -0700)]
Merge pull request #20 from endemics/master

add information about concat_basedir and the need for pluginsync = true at least once

13 years agoadd information about concat_basedir and the need for pluginsync = true at least...
Gildas Le Nadan [Sun, 20 May 2012 18:24:22 +0000 (20:24 +0200)]
add information about concat_basedir and the need for pluginsync = true at least once

13 years agoadd files needed for the module forge
R.I.Pienaar [Mon, 30 Apr 2012 09:45:08 +0000 (10:45 +0100)]
add files needed for the module forge

13 years agoMerge pull request #18 from dalen/master
R.I.Pienaar [Tue, 24 Apr 2012 15:01:43 +0000 (08:01 -0700)]
Merge pull request #18 from dalen/master

A patch to make puppet-concat better comply with community style guidelines.

13 years agoStyle guideline fixes
Erik Dalén [Wed, 14 Mar 2012 17:02:43 +0000 (18:02 +0100)]
Style guideline fixes

Comply better with puppet community style guidelines.

Change-Id: Ie1782d266539b1a8f9890b2ade77280011aa22aa

13 years agoMerge pull request #17 from pdxcat/refactor_remove_gnuflag
R.I.Pienaar [Tue, 17 Apr 2012 19:08:05 +0000 (12:08 -0700)]
Merge pull request #17 from pdxcat/refactor_remove_gnuflag

Remove the gnu parameter from concat

13 years agoRemove the gnu parameter from concat
Reid Vandewiele [Wed, 11 Apr 2012 21:09:50 +0000 (14:09 -0700)]
Remove the gnu parameter from concat

Previously, the concatfragments.sh script was would default to using
GNU-specific flags for find, sort, and xargs. This necessitated
explicit passing of a "gnu = false" parameter to the concat define in
order to successfully run the script without GNU-specific flags when
working with systems that do not by default include GNU versions of the
utilities (solaris, for example).

This commit modifies the concatfragments script such that GNU versions
of the utilities are not needed at all. It does this while preserving
the original use case for the GNU flags, which was to allow special
characters (like spaces) in the filenames, which it accomplished by
using GNU flags to separate fields using null characters instead of
newlines.

In order to preserve backwards-compatibility with existing puppet
installations that make use of the "gnu = false" parameter, the
parameter list for the concat define has not been changed. Rather, the
gnu parameter is now deprecated and ignored.

14 years agoFix comments to match actual behavior, clean up old script.
Sharif Nassar [Wed, 14 Dec 2011 21:45:06 +0000 (13:45 -0800)]
Fix comments to match actual behavior, clean up old script.

* Zap the old copy of /usr/local/bin/concatfragments.sh.
* Fix comments to point at new location of script.
* Delete trailing whitespace.

14 years agoMerge pull request #12 from mrwacky42/master
R.I.Pienaar [Wed, 14 Dec 2011 06:56:07 +0000 (22:56 -0800)]
Merge pull request #12 from mrwacky42/master

Unset silly Nexenta environment variable.

14 years agoRemove silly environment variable that corrupts reality.
Sharif Nassar [Wed, 14 Dec 2011 04:24:10 +0000 (20:24 -0800)]
Remove silly environment variable that corrupts reality.

Not sure how this is set in our puppet environment, but it is.
http://nexenta.org/projects/site/wiki/Personalities

14 years agoMerge pull request #11 from cwarden/fully-qualify
R.I.Pienaar [Tue, 6 Dec 2011 17:11:59 +0000 (09:11 -0800)]
Merge pull request #11 from cwarden/fully-qualify

Fix use of unqualified variable names

14 years agoFix use of unqualified variable names
Christian G. Warden [Mon, 5 Dec 2011 22:37:18 +0000 (14:37 -0800)]
Fix use of unqualified variable names

Fully qualify $::id, $::puppetversion, and $::concat_basedir.

14 years agoMerge pull request #8 from duritong/master
R.I.Pienaar [Wed, 3 Aug 2011 13:44:57 +0000 (06:44 -0700)]
Merge pull request #8 from duritong/master

use client's vardir - make module usable for unprivileged users

14 years agoMerge remote-tracking branch 'ripienaar/master'
Peter Meier [Wed, 3 Aug 2011 12:27:37 +0000 (14:27 +0200)]
Merge remote-tracking branch 'ripienaar/master'

14 years agoMerge pull request #10 from mediatemple/master
R.I.Pienaar [Tue, 12 Jul 2011 08:35:11 +0000 (01:35 -0700)]
Merge pull request #10 from mediatemple/master

Fix for /bin/sh on Solaris.

14 years agoOn Solaris, 'test -a' does not work with /bin/sh
Sharif Nassar [Mon, 11 Jul 2011 23:54:20 +0000 (16:54 -0700)]
On Solaris, 'test -a' does not work with /bin/sh

     -a file                 True if file exists. (Not  available
                             in sh.)

14 years agoMerge pull request #5 from TimBaldoni/master
R.I.Pienaar [Thu, 23 Jun 2011 22:20:24 +0000 (15:20 -0700)]
Merge pull request #5 from TimBaldoni/master

updated to better support dash

14 years agofinish work for unpriviledged user
Peter Meier [Thu, 23 Jun 2011 11:37:03 +0000 (13:37 +0200)]
finish work for unpriviledged user

To be able to use the module as an unprivileged user we need to
adjust certain things:

* only enforce the run user and group if we are root and can
  actually change the user
* set owner/group of our files and directories to our own user/group
* place the concat script in a location we can write -> use the
  concat dir for that.

14 years agodon't use a hardcoded concatdir
Peter Meier [Thu, 23 Jun 2011 09:05:43 +0000 (11:05 +0200)]
don't use a hardcoded concatdir

Get the concat base directory from a fact -> makes it useable if
Puppet's :vardir is not /var/lib/puppet/. This fixes problems with
PE and makes the module also useable for puppet runs as
unpriviledged user.

14 years agoMerge remote-tracking branch 'tim/master'
Peter Meier [Thu, 23 Jun 2011 08:17:32 +0000 (10:17 +0200)]
Merge remote-tracking branch 'tim/master'

14 years agoMerge pull request #7 from mrwacky42/master
R.I.Pienaar [Tue, 21 Jun 2011 21:44:34 +0000 (14:44 -0700)]
Merge pull request #7 from mrwacky42/master

As discussed .. Make $concatdir only readable by root.

14 years agoMake sure interesting data in the concatdir is only available to root
Sharif Nassar [Mon, 20 Jun 2011 20:31:25 +0000 (13:31 -0700)]
Make sure interesting data in the concatdir is only available to root

14 years agoDash (default /bin/sh on Debian and Ubuntu) does not support 'echo -e'. That invocat...
Tim [Wed, 20 Apr 2011 21:54:27 +0000 (14:54 -0700)]
Dash (default /bin/sh on Debian and Ubuntu) does not support 'echo -e'.  That invocation of echo is not POSIX compliant: https://bugs.launchpad.net/ubuntu/+source/dash/+bug/72167

14 years ago- make the root group configurable in the concat::setup class for portability
Pierre-Yves Ritschard [Thu, 3 Feb 2011 17:58:09 +0000 (17:58 +0000)]
- make the root group configurable in the concat::setup class for portability
- use sh and not bash

15 years agoFix doco typo
R.I.Pienaar [Wed, 19 Jan 2011 17:36:20 +0000 (17:36 +0000)]
Fix doco typo

15 years agoadd "g" option to getopts
Jonathan Boyett [Tue, 14 Dec 2010 19:06:27 +0000 (11:06 -0800)]
add "g" option to getopts

15 years agoUpdate changelog
R.I.Pienaar [Fri, 3 Dec 2010 20:55:34 +0000 (20:55 +0000)]
Update changelog

15 years agoadd a -g flag to concatfragments.sh to disable GNU extensions to find, sort and xargs...
Jonathan Boyett [Fri, 3 Dec 2010 20:35:23 +0000 (12:35 -0800)]
add a -g flag to concatfragments.sh to disable GNU extensions to find, sort and xargs; makes concat work on Solaris.

Add a $gnu parameter to make use of the aforementioned -g flag, and a $order parameter to make use of the -n flag in concatfragments.sh

15 years agoUpdate cangelog
R.I.Pienaar [Mon, 4 Oct 2010 21:48:47 +0000 (22:48 +0100)]
Update cangelog

15 years agoParametrize warning message
martin f. krafft [Mon, 4 Oct 2010 21:02:32 +0000 (23:02 +0200)]
Parametrize warning message

The concat warn parameter can now be any string (and needs to include
the appropriate commenting character) and will then override the default
(which still gets printed when warn=>true).

Signed-off-by: martin f. krafft <madduck@madduck.net>
15 years agoFix the Usage example so it parses and orders properly
Chris Jones [Tue, 3 Aug 2010 22:41:39 +0000 (06:41 +0800)]
Fix the Usage example so it parses and orders properly

15 years agoMake the filebucket behavior of files configurable
R.I.Pienaar [Wed, 14 Jul 2010 12:01:45 +0000 (13:01 +0100)]
Make the filebucket behavior of files configurable

15 years agoimprove documentation
R.I.Pienaar [Sat, 22 May 2010 10:14:28 +0000 (11:14 +0100)]
improve documentation

15 years agoimprove documentation
R.I.Pienaar [Sat, 22 May 2010 10:09:47 +0000 (11:09 +0100)]
improve documentation

15 years agoMarkdown really is pretty rubbish and inconsistent.
R.I.Pienaar [Fri, 14 May 2010 14:44:20 +0000 (15:44 +0100)]
Markdown really is pretty rubbish and inconsistent.

15 years agoMarkdown tweaks
R.I.Pienaar [Fri, 14 May 2010 14:40:49 +0000 (15:40 +0100)]
Markdown tweaks

15 years agoAdd markdown readme and clear up old info from README
R.I.Pienaar [Thu, 13 May 2010 18:48:30 +0000 (19:48 +0100)]
Add markdown readme and clear up old info from README

15 years agoupdate README with a sample
R.I.Pienaar [Wed, 12 May 2010 15:35:46 +0000 (16:35 +0100)]
update README with a sample

15 years agoImprove error message and documentation
R.I.Pienaar [Fri, 7 May 2010 18:15:21 +0000 (19:15 +0100)]
Improve error message and documentation

15 years agofix spacing/tab mixup
R.I.Pienaar [Thu, 6 May 2010 21:56:26 +0000 (22:56 +0100)]
fix spacing/tab mixup

15 years agoPull in work from private Subversion repository
R.I.Pienaar [Thu, 6 May 2010 21:55:02 +0000 (22:55 +0100)]
Pull in work from private Subversion repository