summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-12-26MODULES-1596 - Repository repeatedly destroyed/created with forceMorgan Haskel
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.
2014-12-16Merge pull request #223 from infopro-digital/MODULES-1597Aaron Stone
Fix for MODULES-1597: "format" is a file not a directory
2014-12-13Fix for MODULES-1597: "format" is a file not a directoryFarzad FARID
The "format" entry in a SVN directory is a file, not a directory.
2014-12-09Merge pull request #222 from cmurphy/masterMorgan Haskel
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
2014-12-08Add json gemColleen Murphy
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.
2014-12-08Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.mdColleen Murphy
2014-11-20Merge pull request #219 from laurenrother/readmeMorgan Haskel
Updates README per MODULES-1425
2014-11-20Updates README per MODULES-1425Lauren Rother
Adds note to Setup section stating that the module will not create parent directories or install VCS software.
2014-11-04Merge pull request #217 from mhaskel/testTravis Fields
Merge 1.2.x into master
2014-11-03Merge pull request #216 from mhaskel/missing_docTravis Fields
Add missing doc update.
2014-11-03Add missing doc update.Morgan Haskel
2014-11-03Merge pull request #215 from mhaskel/1.2.0-prepTravis Fields
1.2.0 prep
2014-11-031.2.0 prepMorgan Haskel
2014-10-29Merge pull request #213 from jfautley/cvs-runasAaron Stone
Add `user` feature support to CVS provider
2014-10-29Add spec test for invokation as a different userJon Fautley
2014-10-29Rework spec tests to support new execution methodJon Fautley
2014-10-29Revamp debugging outputJon Fautley
2014-10-28Add `user` feature support to CVS providerJon Fautley
2014-10-21Merge pull request #200 from Paulche/change_uidAaron Stone
Change uid by Puppet execution API
2014-10-21Merge pull request #210 from igalic/transpecAaron Stone
Convert specs to RSpec 2.99.2 syntax with Transpec
2014-10-16Merge pull request #211 from justinstoller/bug/master/FM-1951-ensure-gitMorgan Haskel
(FM-1951) Ensure Git is installable on EL 5 platforms
2014-10-16(FM-1951) Ensure Git is installable on EL 5 platformsJustin Stoller
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
2014-09-29Convert specs to RSpec 2.99.2 syntax with TranspecIgor Galić
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
2014-09-17Merge pull request #207 from sodabrew/excludes_stringAaron Stone
Handle both Array/Enumerable and String values for excludes parameter
2014-09-17Handle both Array/Enumerable and String values for excludes parameterAaron Stone
Thanks to @revhazroot for identifying the problem that excludes with a string or single-element array fails on Ruby >= 1.9.
2014-09-17Merge pull request #206 from sodabrew/whitespace_p4Aaron Stone
Remove excess whitespace
2014-09-17Remove excess whitespaceAaron Stone
2014-09-17Merge pull request #209 from hunner/global_defaultTravis Fields
(MODULES-428) Remove dummy warning
2014-09-16(MODULES-428) Remove dummy warningHunter Haugen
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.)
2014-09-16Merge pull request #208 from sodabrew/simplecov_not_1.8.7Hunter Haugen
Disable simplecov on Ruby 1.8.7
2014-09-15Merge branch '1.1.x'Hunter Haugen
2014-09-14Disable simplecov on Ruby 1.8.7Aaron Stone
2014-09-10Merge pull request #204 from cyberious/1.1.xHunter Haugen
Fix issue with puppet_module_install, removed and using updated method f...
2014-09-10Fix issue with puppet_module_install, removed and using updated method from ↵Travis Fields
beaker core copy_module_to
2014-08-29Merge pull request #203 from mhaskel/spec_updatesAshley Penney
Update spec_helper for more consistency
2014-08-28Update spec_helper for more consistencyMorgan Haskel
2014-08-20Change uid by Puppet execution APIPaul Chechetin
2014-07-14Merge pull request #196 from hunner/release_1.1.0Morgan Haskel
Release 1.1.0
2014-07-14Release 1.1.0Hunter Haugen
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
2014-07-14Merge branch 'master' into 1.0.xHunter Haugen
2014-07-14Merge pull request #195 from hunner/fix_metadataAshley Penney
Fix metadata.json to match checksum
2014-07-14Fix metadata.json to match checksumHunter Haugen
2014-07-14Merge pull request #194 from justinstoller/maint/1.0.x/this_is_confusingHunter Haugen
(maint) Use `copy_module_to` in `beaker_helper.rb`
2014-07-14(maint) Use `copy_module_to` in `beaker_helper.rb`Justin Stoller
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.
2014-07-14Merge pull request #187 from p4paul/masterHunter Haugen
Update Markdown with missing Perforce details.
2014-07-11Merge pull request #193 from hunner/fix_helperHunter Haugen
The helper calls host outside of an each loop
2014-07-11The helper calls host outside of an each loopHunter Haugen
2014-07-11Merge pull request #192 from hunner/fix_lintHunter Haugen
Fix lint errors
2014-07-11Fix lint errorsHunter Haugen
2014-07-11Merge branch '1.0.x'Hunter Haugen