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 +4 -4
- data/lib/beaker-puppet.rb +2 -0
- data/lib/beaker-puppet/version.rb +1 -1
- data/setup/aio/010_Install_Puppet_Agent.rb +0 -3
- data/setup/aio/011_Install_Puppet_Server.rb +0 -3
- data/setup/aio/012_Finalize_Installs.rb +0 -2
- data/setup/gem/010_GemInstall.rb +0 -2
- data/setup/git/000_EnvSetup.rb +0 -2
- data/setup/git/010_TestSetup.rb +0 -5
- data/spec/beaker-puppet/install_utils/puppet_utils_spec.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2eaf1431f3c69d52d3d5cca39a3ca55e1aa1107a
|
4
|
+
data.tar.gz: 7bc51601fdeee7f6c989f631abe6fa5ff7d5719d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 313ae2bb977c25c2c31b0469498d9006ef46ab7778ca9eb53fd94c9456bd8e11e29edeeaec0c4c473f8e241d4f23f85465fd9cf6b713cad4d85f0d19137832f2
|
7
|
+
data.tar.gz: 735df403910919b2f6226a82ffbb107e50770908013126622266298d80b9aecc5f4507ba998e8259e322ffd6ffc9077302ebdf3bab3fa88b9c23df0bac65eda1
|
data/lib/beaker-puppet.rb
CHANGED
data/setup/gem/010_GemInstall.rb
CHANGED
data/setup/git/000_EnvSetup.rb
CHANGED
data/setup/git/010_TestSetup.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2018-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|