beaker-puppet 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 175a3e08fbd658bd3d8de3b2887bd0528d81bece
4
- data.tar.gz: d9705d9cd91f355d1d275c1404f5c358a960820e
3
+ metadata.gz: 2eaf1431f3c69d52d3d5cca39a3ca55e1aa1107a
4
+ data.tar.gz: 7bc51601fdeee7f6c989f631abe6fa5ff7d5719d
5
5
  SHA512:
6
- metadata.gz: b5fc2e1b4252e692f8e5f8022093603aa609994751502ef9042739e7752bad2c679932f52ba89638444a871c908cd27153a1be0d8794d28720788f0fd00eb38e
7
- data.tar.gz: f705cc01f0635e048e5c3e4e14311822eee1b5ba95369a8a650af0afdcb854321f3e7956872199d96e55beb46cca7071fae96c72dabbcad74c53e9cd569fab28
6
+ metadata.gz: 313ae2bb977c25c2c31b0469498d9006ef46ab7778ca9eb53fd94c9456bd8e11e29edeeaec0c4c473f8e241d4f23f85465fd9cf6b713cad4d85f0d19137832f2
7
+ data.tar.gz: 735df403910919b2f6226a82ffbb107e50770908013126622266298d80b9aecc5f4507ba998e8259e322ffd6ffc9077302ebdf3bab3fa88b9c23df0bac65eda1
data/lib/beaker-puppet.rb CHANGED
@@ -1,3 +1,5 @@
1
+ require 'beaker'
2
+
1
3
  require 'stringify-hash'
2
4
  require 'in_parallel'
3
5
  require 'beaker-puppet/version'
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
@@ -1,6 +1,3 @@
1
- extend BeakerPuppet::Install::Puppet5
2
- extend Beaker::DSL::InstallUtils::FOSSUtils
3
-
4
1
  test_name "Install Packages" do
5
2
 
6
3
  dev_builds_url = ENV['DEV_BUILDS_URL'] || 'http://builds.delivery.puppetlabs.net'
@@ -1,6 +1,3 @@
1
- extend BeakerPuppet::Install::Puppet5
2
- extend Beaker::DSL::InstallUtils::FOSSUtils
3
-
4
1
  test_name "Install Puppet Server" do
5
2
  skip_test "not testing with puppetserver" unless @options['is_puppetserver']
6
3
 
@@ -1,5 +1,3 @@
1
- extend Beaker::DSL::InstallUtils::FOSSUtils
2
-
3
1
  test_name "Finalize Host Installation"
4
2
 
5
3
  step "Verify host times" do
@@ -1,5 +1,3 @@
1
- extend Beaker::DSL::InstallUtils::FOSSUtils
2
-
3
1
  test_name "Install puppet gem"
4
2
 
5
3
  agents.each do |agent|
@@ -2,8 +2,6 @@ test_name "Setup environment"
2
2
 
3
3
  step "Ensure Git and Ruby"
4
4
 
5
- extend Beaker::DSL::InstallUtils
6
-
7
5
  PACKAGES = {
8
6
  :redhat => [
9
7
  'git',
@@ -1,9 +1,4 @@
1
1
  test_name "Install packages and repositories on target machines..." do
2
- extend Beaker::DSL::InstallUtils
3
-
4
- SourcePath = Beaker::DSL::InstallUtils::SourcePath
5
- GitHubSig = Beaker::DSL::InstallUtils::GitHubSig
6
-
7
2
  repositories = options[:install].map do |url|
8
3
  extract_repo_info_from(build_git_url(url))
9
4
  end
@@ -64,9 +64,12 @@ describe ClassMixedWithDSLInstallUtils do
64
64
  end
65
65
 
66
66
  it 'can remove old defaults ands replace with new' do
67
+ # fake the results of calling configure_pe_defaults_on
68
+ hosts.each do |host|
69
+ host['type'] = 'pe'
70
+ end
67
71
  expect(subject).to receive(:remove_pe_defaults_on).exactly(hosts.length).times
68
72
  expect(subject).to receive(:add_foss_defaults_on).exactly(hosts.length).times
69
- subject.configure_defaults_on(hosts, 'pe')
70
73
  subject.configure_defaults_on(hosts, 'foss')
71
74
  end
72
75
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-06 00:00:00.000000000 Z
11
+ date: 2018-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec