aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
AgeCommit message (Collapse)AuthorFilesLines
2016-09-22Switch puppet-tripleo to use puppet-openstack_spec_helperEmilien Macchi1-23/+4
Align puppet-tripleo with other Puppet OpenStack modules to use puppet-openstack_spec_helper. Here are the benefits: - Allow to use Depends-On between Puppet OpenStack modules and puppet-tripleo, and unit tests will work correctly with dependencies. - Use the Puppet OpenStack gemspec file that handle gems dependencies to test the module. - Allow to re-use ruby helper that Puppet OpenStack modules have in unit tests, to avoid duplicated code. - Don't manage .fixtures.yml file, it will be generated by Puppet OpenStack tooling. TripleO dependencies will live in Puppetfile_extras. Change-Id: Ic66e9f872c57545327a9fb4b8ae86fbf0abbd8be
2016-09-21Add in rspec-puppet-facts supportAlex Schultz1-0/+1
This change pulls in rspec-puppet-facts to provide the basic default facts for puppet-tripleo rspec tests. rspec-puppet-facts provides an easy to use interface to allow for the same set of tests to be executed with multiple sets of operating system facts. In most cases this includes defaults for Debian/RedHat based systems. In puppet-tripleo's case this is just RHEL/CentOS. We are removing the Fedora listing from the metadata.json as we only support RHEL and CentOS for tripleo. This change also updates the existing rspec tests to leverage rspec-puppet-facts to be more consistent with how facts are defined. Change-Id: I0ddc71799d74ee95b9828aea6a8dcb4abb4e4e62
2016-08-24Revert "Pin puppetlabs_spec_helper to 1.1.1"Emilien Macchi1-3/+1
This reverts commit 8f8860c0343b49b50b3d0259b9c4a859f5d81cc3. Change-Id: I456c3a46a16a904042b5af6c5fbe347912d1bf30
2016-08-23Pin puppetlabs_spec_helper to 1.1.1Emilien Macchi1-1/+3
Version 1.2.0 of puppetlabs_spec_helper pulled in a version gem with ruby 2.2 requirements. TripleO CI has ruby 2.0 so we need to pin the gem. Change-Id: Idc3959e16aa329c1dfc335b766f52cd9dbde5de5
2016-06-23Revert "Pin puppet-lint-absolute_classname-check to 0.1.3"Emilien Macchi1-2/+1
This reverts commit b546ad26fbdc98e6ae09d41b2ab2982db4c55135. Bug was fixed, see: https://github.com/voxpupuli/puppet-lint-absolute_classname-check/releases/tag/0.2.2 Change-Id: I95727fa7763064ab06bbccead9bf80d913863b5d
2016-06-22Pin puppet-lint-absolute_classname-check to 0.1.3Emilien Macchi1-1/+2
https://github.com/voxpupuli/puppet-lint-absolute_classname-check/issues/6 Change-Id: Ie6b69aef23c2028ad8632038a9a8283f4c1b8d40
2016-01-22Drop webmock dependencyEmilien Macchi1-1/+0
webmock is not used anywhere in puppet-tripleo, let's clean it. Change-Id: Idd8646e69e31a63791a345765c459d094a23f813
2015-12-14Adding psych on Gemfile explicitlyJaume Devesa1-0/+4
It seems like bundle has a bug[1] that, somehow, it unloads the psych library unless is installed through bundle itself. It will be fixed on bundle 1.2. [1]: http://github.com/bundler/bundler/issues/2068 Change-Id: Ic2fa8a8f114c3183a656bfdb1bc2d6d6413dbb75
2015-08-18Initial msync run for all Puppet OpenStack modulesCody Herriges1-19/+23
This patch is the initial modulesync run, it impacts: * gitignore: just a sync between projects * gemfile: - update and allow to setup facter version and gem source - split beaker gems with a dedicated group - switch to rspec-puppet 2.2.0 * rakefile: - use the new syntax for lint configuration - add a acceptance target * acceptance: - sync nodesets - update tests in order to use zuul-cloner * spec: added rspec coverage report Change-Id: Iadefbe2cc0525224e9917c6712712c67ce1e0fff
2015-04-22Bump rspec-puppet to 2.1.0Emilien Macchi1-1/+1
rspec-puppet 2.1.0 includes Puppet 4.0 support [1]. [1] https://github.com/rodjek/rspec-puppet/commits/v2.1.0 Change-Id: I101785506c7f450c3a6146eee1e76ead28933e7a
2015-03-17spec: updates for rspec-puppet 2.x and rspec 3.xGael Chamoulaud1-5/+1
- This patch aim to update our specs test in order to work with the rspec-puppet release 2.0.0, in the mean time, we update rspec syntax order to be prepared for rspec 3.x move. Change-Id: If67d5d39d7b94785c811a16703cdfe9782df2d24 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-03-17Add Puppet 4.x lint checksGael Chamoulaud1-2/+14
- This changes the puppet-lint requirement to 1.1.x, so that we can use puppet-lint plugins. Most of these plugins are for 4.x compat, but some just catch common errors. Change-Id: I2660b960b6ef696bd5dc8a6965b4a9aa25409b66 Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2015-02-02Add basic structure for a Puppet moduleEmilien Macchi1-0/+24