Bryan Jen [Fri, 16 Oct 2015 15:51:13 +0000 (08:51 -0700)]
Merge pull request #273 from hunner/fix_trustcert
Fix :false to be default value
Hunter Haugen [Thu, 15 Oct 2015 17:42:01 +0000 (10:42 -0700)]
Fix :false to be default value
false is not a valid value; only :false is.
David Schmitt [Thu, 17 Sep 2015 17:59:59 +0000 (18:59 +0100)]
Merge pull request #262 from webfactory/autorequire-hg
Autorequire Package['mercurial']
Hunter Haugen [Thu, 17 Sep 2015 17:55:25 +0000 (10:55 -0700)]
Merge pull request #272 from tphoney/dos2unix_readme
dos2unix the readme
tphoney [Thu, 17 Sep 2015 17:54:21 +0000 (18:54 +0100)]
dos2unix the readme
Bryan Jen [Mon, 14 Sep 2015 16:47:27 +0000 (09:47 -0700)]
Merge pull request #269 from monai/develop
Add feature 'depth' and parameter 'trust_server_cert' to svn
monai [Wed, 9 Sep 2015 16:20:58 +0000 (19:20 +0300)]
Add feature depth and param trust_server_cert to svn
added param trust server cert
updated depth feature
updated README.markdown
trust_server_cert is not feature
trust_server_cert default value should be false
add test for depth and trust_server_cert
David Schmitt [Tue, 1 Sep 2015 10:24:18 +0000 (11:24 +0100)]
Merge pull request #257 from alexmv/master
Explitly unset SSH_AUTH_SOCK; it is preferred to the -i flag
David Schmitt [Fri, 28 Aug 2015 09:57:41 +0000 (10:57 +0100)]
Merge pull request #266 from puppet-by-examples/example-shallow-clone-with-just-one-commit
Example how to create a shallow clone with just one commit
Włodzimierz Gajda [Wed, 26 Aug 2015 15:10:56 +0000 (17:10 +0200)]
Example how to create a shallow clone with just one commit
Hunter Haugen [Tue, 25 Aug 2015 23:33:34 +0000 (16:33 -0700)]
Merge pull request #265 from mhaskel/MODULES-1232
MODULES-1232 Make sure HOME is set correctly
Morgan Haskel [Tue, 25 Aug 2015 00:07:37 +0000 (17:07 -0700)]
MODULES-1232 Make sure HOME is set correctly
Morgan Haskel [Tue, 25 Aug 2015 23:14:04 +0000 (16:14 -0700)]
Remove 2.7 from travis matrix
I believe 2.7 in the matrix is an error, this module has never claimed
support for 2.7 and 2.7 currently doesn't work (though fails in places
that are not unit tested)
Morgan Haskel [Thu, 20 Aug 2015 22:25:34 +0000 (15:25 -0700)]
Merge pull request #264 from hunner/fix_hang
Fix acceptance hang
Hunter Haugen [Thu, 20 Aug 2015 22:24:28 +0000 (15:24 -0700)]
Fix acceptance hang
The ssh-keygen is waiting for a 'y' to confirm overwrite, and the test hangs.
Bryan Jen [Mon, 17 Aug 2015 21:57:21 +0000 (14:57 -0700)]
Merge pull request #263 from mhaskel/MODULES-2326
MODULES-2326 - Run Regexp.escape on the source URL
Morgan Haskel [Mon, 17 Aug 2015 19:14:18 +0000 (12:14 -0700)]
MODULES-2326 - Run Regexp.escape on the source URL
The URL can have special characters, making the regex match fail.
Matthias Pigulla [Sat, 15 Aug 2015 13:45:39 +0000 (15:45 +0200)]
Autorequire Package['mercurial']
Along the lines of
2b190756260346931b8f9a0dda8afc0c815710d6, if the
Mercurial package is being managed, it stands to reason that the Mercurial
package should be installed before trying to potentially manage Mercurial
repositories using vcsrepo resources.
This commit adds an autorequire to the vcsrepo type that reflects the
above premise.
Bryan Jen [Fri, 14 Aug 2015 22:38:32 +0000 (15:38 -0700)]
Merge pull request #261 from mhaskel/MODULES-2125
MODULES-2125 - Allow revision to be passed without source
Morgan Haskel [Thu, 13 Aug 2015 23:02:22 +0000 (16:02 -0700)]
MODULES-2125 - Allow revision to be passed without source
Will also work with empty repositories.
Bryan Jen [Tue, 4 Aug 2015 15:38:54 +0000 (08:38 -0700)]
Merge pull request #260 from mhaskel/MODULES-1800
MODULES-1800 - fix case where ensure => latest and no revision specified
Morgan Haskel [Mon, 3 Aug 2015 23:49:01 +0000 (16:49 -0700)]
MODULES-1800 - fix case where ensure => latest and no revision specified
This would explode when revision was unspecified when you were on a
branch. Use the branch you're currently on when updating.
Bryan Jen [Thu, 30 Jul 2015 23:25:48 +0000 (16:25 -0700)]
Merge pull request #259 from mhaskel/merge_1.3.x_to_master
Merge 1.3.x to master
Hunter Haugen [Fri, 24 Jul 2015 22:35:56 +0000 (15:35 -0700)]
Merge pull request #258 from mhaskel/1.3.1-prep
1.3.1 prep
Morgan Haskel [Fri, 24 Jul 2015 22:28:24 +0000 (15:28 -0700)]
1.3.1 prep
Alex Vandiver [Wed, 22 Jul 2015 18:51:37 +0000 (11:51 -0700)]
Explitly unset SSH_AUTH_SOCK; it is preferred to the -i flag
Even if the -i flag is explicitly passed via the command line, openssh
ignores the identity file if an socket exists to an SSH authentication
agent. In cases where puppet has been configured to use an explicit
identity file, altering behavior based on the calling environment of
puppet violates the principle of least surprise, and can lead to
inconsistent deployments.
Work around this odd corner case of ssh by explicitly unsetting
SSH_AUTH_SOCK inside the ssh wrapper.
Hunter Haugen [Tue, 30 Jun 2015 21:08:11 +0000 (14:08 -0700)]
Merge pull request #256 from keeleysam/master
fix for detached HEAD on git 2.4+
Samuel Keeley [Mon, 29 Jun 2015 19:01:10 +0000 (12:01 -0700)]
fix for detached HEAD on git 2.4+
Hunter Haugen [Mon, 29 Jun 2015 18:28:16 +0000 (11:28 -0700)]
Merge pull request #242 from BillWeiss/bump-ssl-expiry
Make sure the embedded SSL cert doesn't expire
David Schmitt [Mon, 22 Jun 2015 14:27:40 +0000 (15:27 +0100)]
Merge pull request #255 from jonnytpuppet/depth_fix
MODULES-2131 Git provider now takes account of revision property when using depth property.
Jonathan Tripathy [Mon, 22 Jun 2015 14:22:16 +0000 (15:22 +0100)]
MODULES-2131 Git provider now takes account of revision property when using depth property.
JT (Jonny) [Fri, 19 Jun 2015 10:12:54 +0000 (11:12 +0100)]
Merge pull request #252 from DavidS/add-https-clone-test
acceptance: Add a test verifying anonymous https cloning
Bryan Jen [Mon, 15 Jun 2015 17:30:28 +0000 (10:30 -0700)]
Merge pull request #254 from hunner/add_helper
Add helper to install puppet/pe/puppet-agent
Hunter Haugen [Thu, 11 Jun 2015 22:41:17 +0000 (15:41 -0700)]
Add helper to install puppet/pe/puppet-agent
Hunter Haugen [Tue, 9 Jun 2015 22:04:35 +0000 (15:04 -0700)]
Merge pull request #253 from justinstoller/maint/master/set-puppet-version
(maint) allow setting PUPPET_VERSION in acceptance
Justin Stoller [Tue, 9 Jun 2015 05:32:54 +0000 (22:32 -0700)]
(maint) allow setting PUPPET_VERSION in acceptance
David Schmitt [Fri, 29 May 2015 12:00:42 +0000 (13:00 +0100)]
acceptance: Add a test verifying anonymous https cloning
In MODULES-891 the question arose whether https sources are supported.
This test shows that it works.
David Schmitt [Thu, 28 May 2015 17:48:40 +0000 (18:48 +0100)]
Merge pull request #232 from netors/master
Consider the submodules flag on specific revision cloning
Hunter Haugen [Wed, 27 May 2015 15:15:02 +0000 (08:15 -0700)]
Add ability to unittest puppet 4
Bryan Jen [Thu, 21 May 2015 19:50:20 +0000 (12:50 -0700)]
Merge pull request #251 from mhaskel/merge_1.3.x_to_master
Merge 1.3.x to master
Morgan Haskel [Mon, 18 May 2015 21:17:11 +0000 (14:17 -0700)]
Merge branch 'psoloway-readme' into 1.3.x
Pete Soloway [Mon, 18 May 2015 20:18:36 +0000 (13:18 -0700)]
Last-minute README corrections
* Corrected the list of supported platforms under Limitations
* Spelled “revision spec” instead of “revisionspec”.
Morgan Haskel [Wed, 13 May 2015 23:39:14 +0000 (16:39 -0700)]
Merge pull request #249 from hunner/release_1.3.0
Release 1.3.0
Hunter Haugen [Wed, 13 May 2015 23:34:37 +0000 (16:34 -0700)]
Release 1.3.0
Hunter Haugen [Wed, 13 May 2015 23:30:45 +0000 (16:30 -0700)]
Merge pull request #246 from psoloway/readme
Update README per DOC-1501
Morgan Haskel [Wed, 13 May 2015 22:50:12 +0000 (15:50 -0700)]
Merge pull request #248 from hunner/fix_tmp
(MODULES-821) Don't use /tmp
Hunter Haugen [Wed, 13 May 2015 22:39:01 +0000 (15:39 -0700)]
(MODULES-821) Don't use /tmp
Very often /tmp is mounted noexec for security reasons related to it
being writable by all users. This stopped vcsrepo's git provider from
working.
This pull request uses puppet's statedir as it is not writable by all
users and is a good candidate for transient state like the git
provider's identity script for the $GIT_SSH command.
An alternative in the future that wouldn't require a temporary file is
to set $GIT_SSH_COMMAND instead of $GIT_SSH, except this was added in
git 2.3 and is too new to depend on.
Travis Fields [Thu, 7 May 2015 19:00:17 +0000 (12:00 -0700)]
Merge pull request #247 from puppetlabs/modulesync_updates
Modulesync updates
Morgan Haskel [Wed, 6 May 2015 21:33:11 +0000 (14:33 -0700)]
beaker gemfile fixes
Morgan Haskel [Wed, 6 May 2015 21:31:22 +0000 (14:31 -0700)]
sync via modulesync
Morgan Haskel [Wed, 6 May 2015 21:10:46 +0000 (14:10 -0700)]
sync via modulesync
TP Honey [Wed, 22 Apr 2015 16:20:10 +0000 (17:20 +0100)]
Merge pull request #241 from tykeal/master
Clean up puppet lint warnings
TP Honey [Wed, 22 Apr 2015 16:19:08 +0000 (17:19 +0100)]
Merge pull request #237 from cmurphy/rspec-puppet-2
Testing updates
Pete Soloway [Tue, 21 Apr 2015 20:56:15 +0000 (13:56 -0700)]
Merge upstream changes into readme branch
Pete Soloway [Tue, 7 Apr 2015 16:56:10 +0000 (09:56 -0700)]
Update README per DOC-1501
1. Remove any "what this affects" sections, except where particularly warranted.
2. Make sure that for each parameter, where applicable, there is a data type and a default value.
3. Make sure that for each parameter that's applicable, there is a note if the parameter is optional.
4. Make sure the links in the README work and are accurate.
5. Update the link in the Contributing section to point here: https://docs.puppetlabs.com/forge/contributing.html
6. General copyediting.
TP Honey [Tue, 21 Apr 2015 09:01:39 +0000 (10:01 +0100)]
Merge pull request #224 from puppet-by-examples/single-branch
Shallow clone with one commit that corresponds to arbitrary tag from arbitrary branch
Morgan Haskel [Thu, 16 Apr 2015 17:15:29 +0000 (10:15 -0700)]
Merge pull request #243 from rnelson0/quotes
Enforce the style guide's recommendation of single quotes as the default.
Rob Nelson [Tue, 14 Apr 2015 21:29:37 +0000 (21:29 +0000)]
Enforce the style guide's recommendation of single quotes as the default.
Bill Weiss [Wed, 8 Apr 2015 17:24:28 +0000 (12:24 -0500)]
Just bumping the expiration date...
Andrew Grimberg [Mon, 6 Apr 2015 19:23:22 +0000 (12:23 -0700)]
Clean up puppet lint warnings
There were puppet lint warnings due to indentation in several examples.
This commit cleans up the warnings.
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
TP Honey [Mon, 30 Mar 2015 09:36:42 +0000 (10:36 +0100)]
Merge pull request #220 from ddisisto/1.2.x_add_svn_accept
Add support for 'conflict' parameter to populate svn --accept arg
Justin Stoller [Fri, 27 Mar 2015 00:00:26 +0000 (17:00 -0700)]
Merge pull request #238 from anodelman/master
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
Bryan Jen [Thu, 26 Mar 2015 20:33:25 +0000 (13:33 -0700)]
Merge pull request #240 from cmurphy/hash_ordering
Fix remote hash ordering for unit tests
Colleen Murphy [Wed, 25 Mar 2015 19:04:16 +0000 (12:04 -0700)]
Fix remote hash ordering for unit tests
Without this commit, the unit tests for the git provider changing
multiple remotes mocks the remotes in a particular order. While in
practice it doesn't matter which remote the update_remotes method
updates first, the unit tests must be able to mock them in the correct
order. For ruby 1.8.7, a Hash will not necessarily produce key value
pairs in the same order on each run, which causes intermittent failures
in the unit tests. This change sorts the :source property values before
trying to update them, and updates the unit tests to expect the values
in alphabetical order.
Alice Nodelman [Tue, 24 Mar 2015 22:11:45 +0000 (15:11 -0700)]
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
puppetdb, etc
- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
Colleen Murphy [Mon, 23 Mar 2015 19:30:36 +0000 (12:30 -0700)]
Update .travis.yml
This commit makes the following changes to the test matrix:
- Runs tests on ruby 2.1.5 instead of 2.0.0
- Runs tests on ruby 1.8.7 with puppet 3.x
- Adds an environment to run on an intermediate 3.x puppet version
instead of latest (specifically 3.4.x)
- Adds an environment to run with the future parser on latest puppet.
This would affect the test runs for the validate and spec checks.
- Runs the tests on docker
Colleen Murphy [Mon, 23 Mar 2015 19:04:20 +0000 (12:04 -0700)]
Keep testing on puppet 2.7
The modulesync config repo is dropping universal support for puppet
2.7, but individual repos should still keep support until the next
naturally-occuring major release.
Colleen Murphy [Thu, 19 Mar 2015 23:22:07 +0000 (16:22 -0700)]
Unpin rspec-puppet and remove unneeded deps
puppetlabs_spec_helper takes care of these for us.
Daniel DiSisto [Fri, 6 Mar 2015 06:01:38 +0000 (17:01 +1100)]
(MODULES-1551) Add support for SVN conflict handling
TP Honey [Mon, 2 Mar 2015 14:12:05 +0000 (14:12 +0000)]
Merge pull request #236 from dummey/master
Updating 'excludes' in readme to be more concise.
Ricky Ng [Thu, 12 Feb 2015 20:49:41 +0000 (14:49 -0600)]
Update README.markdown
Clarified what the parameter 'excludes' is intended to do.
Hunter Haugen [Wed, 4 Feb 2015 20:05:04 +0000 (12:05 -0800)]
Merge pull request #235 from cmurphy/rspec
Pin rspec gems
Colleen Murphy [Wed, 4 Feb 2015 16:00:39 +0000 (17:00 +0100)]
Pin rspec gems
Ernesto Ruy Sanchez [Fri, 30 Jan 2015 19:01:01 +0000 (11:01 -0800)]
Bugfix: removed duplicated condition
Ernesto Ruy Sanchez [Fri, 30 Jan 2015 18:46:59 +0000 (10:46 -0800)]
Added submodules true condition before update_submodules on revision method
Włodzimierz Gajda [Wed, 22 Oct 2014 08:02:29 +0000 (10:02 +0200)]
Use branch parameter
Hunter Haugen [Thu, 22 Jan 2015 19:09:23 +0000 (11:09 -0800)]
Merge pull request #230 from jonnytpuppet/multiple_remotes
Implemented multiple remotes feature for git provider.
Jonathan Tripathy [Wed, 21 Jan 2015 07:12:20 +0000 (23:12 -0800)]
Implemented multiple remotes feature for git provider.
Aaron Stone [Mon, 19 Jan 2015 05:43:27 +0000 (21:43 -0800)]
Merge pull request #218 from dduvnjak/master
Add submodules feature to git provider
dduvnjak [Sun, 18 Jan 2015 09:49:03 +0000 (10:49 +0100)]
Add submodules feature to git provider
Colleen Murphy [Wed, 14 Jan 2015 16:56:50 +0000 (08:56 -0800)]
Merge pull request #229 from hunner/update_before
Update let to use instance variable instead.
Hunter Haugen [Wed, 14 Jan 2015 16:47:57 +0000 (08:47 -0800)]
Remove let use as variable.
Since lets can't be used in before :all any more.
Hunter Haugen [Wed, 14 Jan 2015 01:16:05 +0000 (17:16 -0800)]
Merge pull request #228 from tphoney/removing_private_tests
removing private tests
tphoney [Wed, 14 Jan 2015 01:06:45 +0000 (17:06 -0800)]
removing private tests
removing private tests, due to rspec3 not handling private methods
Morgan Haskel [Mon, 29 Dec 2014 19:22:00 +0000 (11:22 -0800)]
Merge pull request #226 from cmurphy/master
Add IntelliJ files to the ignore list
Colleen Murphy [Mon, 29 Dec 2014 18:41:26 +0000 (10:41 -0800)]
Add IntelliJ files to the ignore list
Travis Fields [Sat, 27 Dec 2014 00:00:09 +0000 (16:00 -0800)]
Merge pull request #225 from mhaskel/MODULES-1596
MODULES-1596 - Repository repeatedly destroyed/created with force
Morgan Haskel [Fri, 26 Dec 2014 23:27:20 +0000 (15:27 -0800)]
MODULES-1596 - Repository repeatedly destroyed/created with force
The `retrieve` method was calling `create` and `destroy` on every run
with `force => true`. Retrieve should not be making any changes to the
system, so removed that code, and updated `working_copy_exists` to make
sure that the directory not only contains a `.git` directory, but also
if `source` is specified it also matches `#{path}/.git/config` so that
it will overwrite a git repo with a different source.
Updated tests to not check for the old broken behavior. Added a regression test.
Aaron Stone [Tue, 16 Dec 2014 20:02:54 +0000 (12:02 -0800)]
Merge pull request #223 from infopro-digital/MODULES-1597
Fix for MODULES-1597: "format" is a file not a directory
Farzad FARID [Sat, 13 Dec 2014 15:24:49 +0000 (16:24 +0100)]
Fix for MODULES-1597: "format" is a file not a directory
The "format" entry in a SVN directory is a file, not a directory.
Morgan Haskel [Tue, 9 Dec 2014 16:23:58 +0000 (08:23 -0800)]
Merge pull request #222 from cmurphy/master
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
Colleen Murphy [Tue, 9 Dec 2014 06:52:42 +0000 (22:52 -0800)]
Add json gem
The puppet_facts gem implicitly depends on the json gem.
On Ruby 1.8.7, json is not built in. On Puppet 2.7, it is
not explicitly pulled in by the hiera gem. So we add it
here explicitly.
Colleen Murphy [Mon, 8 Dec 2014 18:33:44 +0000 (10:33 -0800)]
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
Morgan Haskel [Thu, 20 Nov 2014 20:04:37 +0000 (15:04 -0500)]
Merge pull request #219 from laurenrother/readme
Updates README per MODULES-1425
Lauren Rother [Thu, 20 Nov 2014 19:57:00 +0000 (11:57 -0800)]
Updates README per MODULES-1425
Adds note to Setup section stating that the module will not create parent directories or install VCS software.
Travis Fields [Tue, 4 Nov 2014 22:34:24 +0000 (14:34 -0800)]
Merge pull request #217 from mhaskel/test
Merge 1.2.x into master
Travis Fields [Mon, 3 Nov 2014 22:23:48 +0000 (14:23 -0800)]
Merge pull request #216 from mhaskel/missing_doc
Add missing doc update.
Morgan Haskel [Mon, 3 Nov 2014 22:20:15 +0000 (14:20 -0800)]
Add missing doc update.
Travis Fields [Mon, 3 Nov 2014 19:59:40 +0000 (11:59 -0800)]
Merge pull request #215 from mhaskel/1.2.0-prep
1.2.0 prep
Morgan Haskel [Mon, 3 Nov 2014 19:56:26 +0000 (11:56 -0800)]
1.2.0 prep