Age | Commit message (Collapse) | Author |
|
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>
|
|
Add support for 'conflict' parameter to populate svn --accept arg
|
|
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
|
|
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.
|
|
puppetdb, etc
- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
|
|
|
|
Updating 'excludes' in readme to be more concise.
|
|
Clarified what the parameter 'excludes' is intended to do.
|
|
Pin rspec gems
|
|
|
|
Implemented multiple remotes feature for git provider.
|
|
|
|
Add submodules feature to git provider
|
|
|
|
Update let to use instance variable instead.
|
|
Since lets can't be used in before :all any more.
|
|
removing private tests
|
|
removing private tests, due to rspec3 not handling private methods
|
|
Add IntelliJ files to the ignore list
|
|
|
|
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.
|
|
Fix for MODULES-1597: "format" is a file not a directory
|
|
The "format" entry in a SVN directory is a file, not a directory.
|
|
Update .travis.yml, Gemfile, Rakefile, and CONTRIBUTING.md
|
|
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.
|
|
|
|
Updates README per MODULES-1425
|
|
Adds note to Setup section stating that the module will not create parent directories or install VCS software.
|
|
Merge 1.2.x into master
|
|
Add missing doc update.
|
|
|
|
1.2.0 prep
|
|
|
|
Add `user` feature support to CVS provider
|
|
|
|
|
|
|
|
|
|
Change uid by Puppet execution API
|
|
Convert specs to RSpec 2.99.2 syntax with Transpec
|
|
(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
|
|
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
|
|
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.
|
|
Remove excess whitespace
|
|
|
|
(MODULES-428) Remove dummy warning
|