Browse Source

Add plugins repos noop tests

Includes hiera fixture with plugins repositories
Adds webmock to mock http requests for apt pins

Change-Id: If8b3a64e06f7b7711128590b81c5c14a8509732a
Related-bug: #1602719
stable/newton
Vladimir Kuklin 2 years ago
parent
commit
ca9bf75231
3 changed files with 3061 additions and 1 deletions
  1. 2
    1
      Gemfile
  2. 3058
    0
      hiera/neut_vlan_plugin.ceph-primary-controller.yaml
  3. 1
    0
      spec/spec_helper.rb

+ 2
- 1
Gemfile View File

@@ -6,11 +6,12 @@ group :development, :test do
6 6
   gem 'rspec-puppet', '~> 2.4.0'
7 7
   gem 'rspec-puppet-utils', '~> 2.0.0'
8 8
   gem 'deep_merge'
9
-  gem 'pry'
9
+  gem 'pry-byebug'
10 10
   gem 'puppet-spec'
11 11
   gem 'colorize'
12 12
   gem 'parallel'
13 13
   gem 'openstack'
14
+  gem 'webmock'
14 15
 end
15 16
 
16 17
 if ENV['PUPPET_GEM_VERSION']

+ 3058
- 0
hiera/neut_vlan_plugin.ceph-primary-controller.yaml
File diff suppressed because it is too large
View File


+ 1
- 0
spec/spec_helper.rb View File

@@ -4,6 +4,7 @@ require 'hiera_puppet'
4 4
 require 'rspec-puppet'
5 5
 require 'rspec-puppet-utils'
6 6
 require 'puppetlabs_spec_helper/module_spec_helper'
7
+require 'webmock/rspec'
7 8
 
8 9
 require_relative '../lib/noop'
9 10
 

Loading…
Cancel
Save