Jon Fautley [Wed, 29 Oct 2014 11:00:33 +0000 (11:00 +0000)]
Add spec test for invokation as a different user
Jon Fautley [Wed, 29 Oct 2014 10:59:58 +0000 (10:59 +0000)]
Rework spec tests to support new execution method
Jon Fautley [Wed, 29 Oct 2014 10:55:42 +0000 (10:55 +0000)]
Revamp debugging output
Jon Fautley [Tue, 28 Oct 2014 16:21:48 +0000 (16:21 +0000)]
Add `user` feature support to CVS provider
Aaron Stone [Tue, 21 Oct 2014 19:23:23 +0000 (12:23 -0700)]
Merge pull request #200 from Paulche/change_uid
Change uid by Puppet execution API
Aaron Stone [Tue, 21 Oct 2014 19:12:17 +0000 (12:12 -0700)]
Merge pull request #210 from igalic/transpec
Convert specs to RSpec 2.99.2 syntax with Transpec
Morgan Haskel [Thu, 16 Oct 2014 21:18:51 +0000 (14:18 -0700)]
Merge pull request #211 from justinstoller/bug/master/FM-1951-ensure-git
(FM-1951) Ensure Git is installable on EL 5 platforms
Justin Stoller [Wed, 15 Oct 2014 19:41:46 +0000 (12:41 -0700)]
(FM-1951) Ensure Git is installable on EL 5 platforms
Git is not installed on EL 5, but it is not in the repos either.
With this patch, if we are going to install git on an EL 5 platform we
first ensure epel is installed(FM-1951) Ensure Git is installable on
EL 5 platforms
Igor Galić [Mon, 29 Sep 2014 17:19:21 +0000 (19:19 +0200)]
Convert specs to RSpec 2.99.2 syntax with Transpec
This conversion is done by Transpec 2.3.7 with the following command:
transpec
* 22 conversions
from: it { should ... }
to: it { is_expected.to ... }
* 19 conversions
from: obj.should
to: expect(obj).to
* 15 conversions
from: == expected
to: eq(expected)
* 5 conversions
from: it { should_not ... }
to: it { is_expected.not_to ... }
* 2 conversions
from: its(:attr) { }
to: describe '#attr' do subject { super().attr }; it { } end
* 2 conversions
from: obj.should_not
to: expect(obj).not_to
* 2 conversions
from: proc { }.should
to: expect { }.to
* 1 conversion
from: be_false
to: be_falsey
* 1 conversion
from: be_true
to: be_truthy
For more details: https://github.com/yujinakayama/transpec#supported-conversions
Aaron Stone [Thu, 18 Sep 2014 00:31:23 +0000 (17:31 -0700)]
Merge pull request #207 from sodabrew/excludes_string
Handle both Array/Enumerable and String values for excludes parameter
Aaron Stone [Sun, 14 Sep 2014 06:27:25 +0000 (23:27 -0700)]
Handle both Array/Enumerable and String values for excludes parameter
Thanks to @revhazroot for identifying the problem that excludes with a
string or single-element array fails on Ruby >= 1.9.
Aaron Stone [Wed, 17 Sep 2014 22:39:35 +0000 (15:39 -0700)]
Merge pull request #206 from sodabrew/whitespace_p4
Remove excess whitespace
Aaron Stone [Sun, 14 Sep 2014 05:48:18 +0000 (22:48 -0700)]
Remove excess whitespace
Travis Fields [Wed, 17 Sep 2014 16:04:46 +0000 (09:04 -0700)]
Merge pull request #209 from hunner/global_default
(MODULES-428) Remove dummy warning
Hunter Haugen [Mon, 15 Sep 2014 23:03:11 +0000 (16:03 -0700)]
(MODULES-428) Remove dummy warning
Puppet started raising a warning about multiple default providers due to
a change in puppet. The dummy provider exists to raise an error when
`provider` is not specified because there is no way to declare
`provider` as a required attribute in the type. Even passing a
`provider` value did not get rid of the "multiple default providers
found" warning however.
This commit causes the dummy provider to be the defacto default for all
resources which do not have an explicit provider declared, as the posix
feature is available on basically every operating system on which
vcsrepo works. (There is no way to create an "always default" provider.)
Hunter Haugen [Tue, 16 Sep 2014 23:27:30 +0000 (16:27 -0700)]
Merge pull request #208 from sodabrew/simplecov_not_1.8.7
Disable simplecov on Ruby 1.8.7
Hunter Haugen [Mon, 15 Sep 2014 20:41:04 +0000 (13:41 -0700)]
Merge branch '1.1.x'
Aaron Stone [Sun, 14 Sep 2014 06:34:46 +0000 (23:34 -0700)]
Disable simplecov on Ruby 1.8.7
Hunter Haugen [Wed, 10 Sep 2014 17:57:55 +0000 (10:57 -0700)]
Merge pull request #204 from cyberious/1.1.x
Fix issue with puppet_module_install, removed and using updated method f...
Travis Fields [Wed, 10 Sep 2014 17:54:28 +0000 (10:54 -0700)]
Fix issue with puppet_module_install, removed and using updated method from beaker core copy_module_to
Ashley Penney [Fri, 29 Aug 2014 17:02:46 +0000 (13:02 -0400)]
Merge pull request #203 from mhaskel/spec_updates
Update spec_helper for more consistency
Morgan Haskel [Thu, 28 Aug 2014 22:46:41 +0000 (18:46 -0400)]
Update spec_helper for more consistency
Paul Chechetin [Wed, 20 Aug 2014 07:47:34 +0000 (11:47 +0400)]
Change uid by Puppet execution API
Morgan Haskel [Tue, 15 Jul 2014 00:39:49 +0000 (20:39 -0400)]
Merge pull request #196 from hunner/release_1.1.0
Release 1.1.0
Hunter Haugen [Tue, 15 Jul 2014 00:33:34 +0000 (17:33 -0700)]
Release 1.1.0
Summary:
This release adds a Perforce provider* and corrects the git provider
behavior when using `ensure => latest`.
*(Only git provider is currently supported.)
Features:
- New Perforce provider
Bugfixes:
- (MODULES-660) Fix behavior with `ensure => latest` and detached HEAD
- Spec test fixes
Hunter Haugen [Tue, 15 Jul 2014 00:02:07 +0000 (17:02 -0700)]
Merge branch 'master' into 1.0.x
Ashley Penney [Mon, 14 Jul 2014 23:43:20 +0000 (19:43 -0400)]
Merge pull request #195 from hunner/fix_metadata
Fix metadata.json to match checksum
Hunter Haugen [Mon, 14 Jul 2014 23:40:41 +0000 (16:40 -0700)]
Fix metadata.json to match checksum
Hunter Haugen [Mon, 14 Jul 2014 23:37:58 +0000 (16:37 -0700)]
Merge pull request #194 from justinstoller/maint/1.0.x/this_is_confusing
(maint) Use `copy_module_to` in `beaker_helper.rb`
Justin Stoller [Mon, 14 Jul 2014 20:45:09 +0000 (13:45 -0700)]
(maint) Use `copy_module_to` in `beaker_helper.rb`
Previously we were using `puppet_module_install()`. Which was ported from
Beaker-RSpec. Unfortunately for our heros that method has been refactored
since this was ran last. The method `puppet_module_install()` in Beaker
installs from the public forge, while the previous behavior, installing via
scp from the current directory, has moved to the method `copy_module_to`.
This updates the helper for the beaker tests to use the updated method.
Hunter Haugen [Mon, 14 Jul 2014 21:11:01 +0000 (14:11 -0700)]
Merge pull request #187 from p4paul/master
Update Markdown with missing Perforce details.
Hunter Haugen [Fri, 11 Jul 2014 22:16:33 +0000 (15:16 -0700)]
Merge pull request #193 from hunner/fix_helper
The helper calls host outside of an each loop
Hunter Haugen [Fri, 11 Jul 2014 22:15:34 +0000 (15:15 -0700)]
The helper calls host outside of an each loop
Hunter Haugen [Fri, 11 Jul 2014 21:45:44 +0000 (14:45 -0700)]
Merge pull request #192 from hunner/fix_lint
Fix lint errors
Hunter Haugen [Fri, 11 Jul 2014 21:45:10 +0000 (14:45 -0700)]
Fix lint errors
Hunter Haugen [Fri, 11 Jul 2014 21:29:15 +0000 (14:29 -0700)]
Merge branch '1.0.x'
Ashley Penney [Fri, 11 Jul 2014 21:27:16 +0000 (17:27 -0400)]
Merge pull request #173 from hunner/mod_660
(MODULES-660) Correct detached HEAD on latest
Hunter Haugen [Wed, 18 Jun 2014 20:54:51 +0000 (13:54 -0700)]
(MODULES-660) Correct detached HEAD on latest
Previously vcsrepo detached HEAD on checkout which caused further branch
revisions to fail. This corrects the behavior, and works on git 1.7,
1.8, 1.9, and 2.0
Hunter Haugen [Thu, 10 Jul 2014 23:00:22 +0000 (16:00 -0700)]
Merge pull request #191 from klynton/master
Update README.markdown to fix the formatting around the officially supported note.
Ashley Penney [Thu, 10 Jul 2014 17:59:00 +0000 (13:59 -0400)]
Merge pull request #188 from hunner/rm_modfile
Just use metadata now
Klynton Jessup [Wed, 9 Jul 2014 23:28:08 +0000 (16:28 -0700)]
Update README.markdown
Fixed a missing '*' around the note.
Paul Allen [Tue, 8 Jul 2014 10:02:11 +0000 (11:02 +0100)]
Merge merge lint changes
Hunter Haugen [Thu, 3 Jul 2014 18:17:06 +0000 (11:17 -0700)]
Merge pull request #189 from petems/MODULES-1014-add_beaker_test_noop
(MODULES-1014) Add rspec for noop mode
Peter Souter [Thu, 3 Jul 2014 18:04:59 +0000 (19:04 +0100)]
(MODULES-1014) Add rspec for noop mode
Hunter Haugen [Wed, 2 Jul 2014 18:08:01 +0000 (11:08 -0700)]
Just use metadata now
Paul Allen [Wed, 2 Jul 2014 11:05:35 +0000 (12:05 +0100)]
Update Markdown with missing Perforce details.
Fix tabs/spaces in p4.rb
Hunter Haugen [Mon, 30 Jun 2014 23:14:03 +0000 (16:14 -0700)]
Merge pull request #171 from p4paul/master
Basic Perforce provider
Ashley Penney [Mon, 30 Jun 2014 21:48:55 +0000 (17:48 -0400)]
Merge pull request #186 from hunner/release_1.0.2
Release 1.0.2
Aaron Stone [Mon, 30 Jun 2014 21:39:00 +0000 (14:39 -0700)]
Merge pull request #181 from jbussdieker/fix_resource_change_every_checkin
Fix issue with node changing every checkin
Hunter Haugen [Mon, 30 Jun 2014 21:33:17 +0000 (14:33 -0700)]
Release 1.0.2
Summary:
This supported release adds SLES 11 to the list of compatible OSs and
documentation updates for support.
Joshua B. Bussdieker [Wed, 25 Jun 2014 23:28:04 +0000 (16:28 -0700)]
Fix issue with node changing every checkin
Hunter Haugen [Mon, 30 Jun 2014 19:08:22 +0000 (12:08 -0700)]
Merge pull request #185 from cmurphy/master
Synchronize .travis.yml
Colleen Murphy [Mon, 30 Jun 2014 17:58:51 +0000 (10:58 -0700)]
Update Gemfile for .travis.yml defaults
Hunter Haugen [Fri, 27 Jun 2014 21:40:33 +0000 (14:40 -0700)]
Merge branch '1.0.x'
Ashley Penney [Fri, 27 Jun 2014 19:41:09 +0000 (15:41 -0400)]
Merge pull request #184 from hunner/patch_spec
Patch misuse of apply_manifest_on
Hunter Haugen [Fri, 27 Jun 2014 19:40:33 +0000 (12:40 -0700)]
Patch misuse of apply_manifest_on
Colleen Murphy [Fri, 27 Jun 2014 19:01:21 +0000 (12:01 -0700)]
Add module-specific travis script to .sync.yml
Colleen Murphy [Fri, 27 Jun 2014 17:55:29 +0000 (10:55 -0700)]
Synchronize .travis.yml
Hunter Haugen [Fri, 27 Jun 2014 17:17:01 +0000 (10:17 -0700)]
Merge remote-tracking branch 'laurenrother/readme' into 1.0.x
Hunter Haugen [Fri, 27 Jun 2014 17:11:47 +0000 (10:11 -0700)]
Merge pull request #176 from hunner/patch_noop
Update noop to work
Paul Allen [Fri, 27 Jun 2014 16:44:27 +0000 (17:44 +0100)]
Calculate client workspace name for test case
(The value of host will be different)
Colleen Murphy [Fri, 27 Jun 2014 16:22:41 +0000 (09:22 -0700)]
Update .sync.yml to support new .travis.yml configs
Paul Allen [Fri, 27 Jun 2014 13:14:47 +0000 (14:14 +0100)]
Clear P4CLIENT Environment before test
Hunter Haugen [Fri, 20 Jun 2014 20:48:02 +0000 (13:48 -0700)]
Update noop to work
Ashley Penney [Thu, 26 Jun 2014 18:01:47 +0000 (14:01 -0400)]
Merge pull request #182 from cmurphy/master
Start synchronizing module files
Colleen Murphy [Thu, 26 Jun 2014 01:01:00 +0000 (18:01 -0700)]
Sync files
Colleen Murphy [Wed, 25 Jun 2014 23:03:59 +0000 (16:03 -0700)]
Add configuration file for modulesync
https://github.com/puppetlabs/modulesync
Lauren Rother [Wed, 25 Jun 2014 17:39:37 +0000 (10:39 -0700)]
Add supported information and reorder to highlight support
Include notice that Git is the only supported provider and reorder README so Git is the first VCS addressed.
Paul Allen [Tue, 24 Jun 2014 13:16:05 +0000 (14:16 +0100)]
Sort keys on hash generate same test result.
Keys in the Client spec were processed out of order and failing tests.
Aaron Stone [Tue, 24 Jun 2014 13:08:53 +0000 (06:08 -0700)]
Merge pull request #178 from sodabrew/rebase_pr177
Rebase of PR #177 - Add HG Basic Auth
Paul Allen [Tue, 24 Jun 2014 12:57:30 +0000 (13:57 +0100)]
Support streams and fix Marshal for 'p4 cstat'
Stuart Whelan [Sat, 21 Jun 2014 05:26:14 +0000 (17:26 +1200)]
Added support for basic authentication to hg provider
Updated unit tests
Updated hg readme and added examples
Paul Allen [Mon, 23 Jun 2014 15:22:35 +0000 (16:22 +0100)]
Add hostname to Digest for default client name.
Paul Allen [Mon, 23 Jun 2014 14:51:28 +0000 (15:51 +0100)]
Added support for p4config.
- Removed p4port, p4client, p4user to keep name space clean.
- Changed notify to Puppet.debug
- Updated markdown and examples
- Updated unit tests
Paul Allen [Fri, 20 Jun 2014 10:45:58 +0000 (11:45 +0100)]
Moved p4.markdown content to project's markdown
Paul Allen [Fri, 20 Jun 2014 08:59:42 +0000 (09:59 +0100)]
Detab to 2 spaces.
Paul Allen [Mon, 16 Jun 2014 16:04:52 +0000 (17:04 +0100)]
Add support for passing password/ticket
Uses param ‘p4passwd’ to set P4PASSWD environment to pass a valid
ticket or password.
Paul Allen [Thu, 12 Jun 2014 16:50:55 +0000 (17:50 +0100)]
Spec tests for p4 provider
Test create, destroy and exists? access points.
Paul Allen [Thu, 12 Jun 2014 16:49:19 +0000 (17:49 +0100)]
Markdown and examples
Paul Allen [Wed, 11 Jun 2014 21:32:21 +0000 (22:32 +0100)]
Basic Perforce provider
Supports sync and client create/update
Hunter Haugen [Thu, 19 Jun 2014 21:55:15 +0000 (14:55 -0700)]
Merge pull request #175 from hunner/revert_sles
Revert "Remove compatability guarantees for SLES"
Hunter Haugen [Thu, 19 Jun 2014 19:29:31 +0000 (12:29 -0700)]
Merge branch '1.0.x'
Morgan Haskel [Thu, 19 Jun 2014 18:22:11 +0000 (14:22 -0400)]
Merge pull request #153 from petems/MODULES-1014/add-noop-mode
(MODULES-1014) Adding noop mode option
Hunter Haugen [Wed, 18 Jun 2014 22:15:12 +0000 (15:15 -0700)]
Merge pull request #174 from justinstoller/update-helpers
(QENG-798) Update acceptance helpers to create distmoduledir
Hunter Haugen [Wed, 18 Jun 2014 22:13:43 +0000 (15:13 -0700)]
Revert "Remove compatability guarantees for SLES"
This reverts commit
40c4826933848bf827e69e2276f0c9be05877344.
Justin Stoller [Wed, 18 Jun 2014 21:02:33 +0000 (14:02 -0700)]
(QENG-798) Update acceptance helpers to create distmoduledir
Previously we were creating the module dir on foss installs, but not on PE.
PE agents do not have a module dir deployed as part of the base PE install,
so to test on PE agents we need to create the module dir. `mkdir -p` is
idempotent, so we use it as a cudgle here. We also update the beaker_helper
and spec_helper_acceptance to contain the same installation steps for test
dependencies, warnings, and installation methods.
Hunter Haugen [Wed, 18 Jun 2014 21:00:46 +0000 (14:00 -0700)]
Merge remote-tracking branch 'puppetlabs/1.0.x'
Hunter Haugen [Wed, 18 Jun 2014 18:17:15 +0000 (11:17 -0700)]
Merge branch 'add-group-to-clone-spec' into 1.0.x
John Duarte [Sun, 15 Jun 2014 17:57:25 +0000 (10:57 -0700)]
Define group in clone_repo_spec test
A matching group is not added for a user when added on SLES 11.
This commit adds a group to the setup manifests in order to
ensure that the proper group is added to the system during the
test preparation.
Hunter Haugen [Wed, 18 Jun 2014 16:45:41 +0000 (09:45 -0700)]
Merge pull request #172 from hunner/pending_overflow
Pending overflow depth test
Hunter Haugen [Wed, 18 Jun 2014 16:43:59 +0000 (09:43 -0700)]
Pending overflow depth test
This test is pending as git cannot handle the overflow correctly, though
vcsrepo handles it fine.
Hunter Haugen [Wed, 18 Jun 2014 16:02:16 +0000 (09:02 -0700)]
Merge branch 'release_1.0.1' into 1.0.x
Hunter Haugen [Wed, 18 Jun 2014 00:05:12 +0000 (17:05 -0700)]
Release 1.0.1
Summary:
This release is the first supported release of vcsrepo. The readme has
been greatly improved.
Features:
- Updated and expanded readme to follow readme template
Fixes:
- Remove SLES from compatability metadata
- Unpin rspec development dependencies
- Update acceptance level testing
Hunter Haugen [Wed, 18 Jun 2014 16:00:06 +0000 (09:00 -0700)]
Merge remote-tracking branch 'laurenrother/readme' into 1.0.x
Lauren Rother [Tue, 17 Jun 2014 22:18:10 +0000 (15:18 -0700)]
Remove extra READMEs
Delete the per-VCS readmes. They are all combined in the main readme now.
Lauren Rother [Tue, 17 Jun 2014 22:10:52 +0000 (15:10 -0700)]
Update README to conform with template
Add template sections and organization to original README. Add information about providers, features, and parameters. General edits for clarity and completeness.
Hunter Haugen [Tue, 17 Jun 2014 17:29:05 +0000 (10:29 -0700)]
Merge pull request #168 from hunner/remove_sles
Remove compatability guarantees for SLES
Hunter Haugen [Tue, 17 Jun 2014 17:02:07 +0000 (10:02 -0700)]
Remove compatability guarantees for SLES
We have some as-of-yet unsolved failures on sles.
Hunter Haugen [Mon, 16 Jun 2014 20:56:09 +0000 (13:56 -0700)]
Merge branch 'fix-git-package-ubuntu-10' into 1.0.x
John Duarte [Sat, 14 Jun 2014 18:57:07 +0000 (11:57 -0700)]
Accomodate ubuntu-10 package for git in beaker tests
Add conditional to install `git-core` if the platform under test
is ubuntu-10. The `git` package is not available for this platform.