puppet-magnum 4.0.0 → 4.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: 748039c14ee38cd19f95edd8b2ed8a64881ff3c8
4
- data.tar.gz: 1c2ecade7ad694e133d7b3217c85f5e049ce7414
3
+ metadata.gz: 6b015672f5b4db9b907a5bb7a8f5419cdae37b3d
4
+ data.tar.gz: 63b332f85916dd09797e2c0d457fc5687f72e0c9
5
5
  SHA512:
6
- metadata.gz: '03933ffd363ec826f4f7bf636fd8467f98ce01aedc54b2935f07a11f34aeb65a6afa903c3ad92c319402e7f552eceb51fabf5343bdec6289e6f69180d74729eb'
7
- data.tar.gz: d07bef53339d343b3363a464707363cd2435284db5b35fd7fbaeefc7713ca31538a2ebddceb4ab36f108503e092b4a8d1ce9c77647e918a0560bb1206dc57ed3
6
+ metadata.gz: 8815217c5be4c6cda765e332c2e5f7fdb67311f0eab8374b19f650c8987e2e3aa71ad408039683bb83779dbd903105c49491c6ca919d0751747ff0163c7728df
7
+ data.tar.gz: be67eff63cca1d8fdbdb3da35e2be7af9e6daa4c657c87d529f22d078cb12b151a6af514b495539730ee4aba167a766cd1888b62a2e2e1ea1d735ef87d59c75b
@@ -1,3 +1,9 @@
1
+ ## [4.0.1]
2
+
3
+ ### IMPROVEMENTS:
4
+
5
+ * Minor code cleanup.
6
+
1
7
  ## [4.0.0]
2
8
 
3
9
  ### IMPROVEMENTS:
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puppet-magnum (4.0.0)
4
+ puppet-magnum (4.0.1)
5
5
  beaker-hostgenerator (~> 0.8.4)
6
6
  bundler (>= 1.14.6)
7
7
  puppet (~> 4.10.0)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.0
1
+ 4.0.1
@@ -31,9 +31,9 @@ module PuppetMagnum
31
31
  end
32
32
 
33
33
  def write_base_files
34
- template license_file, target.join('LICENSE')
35
- template 'README.md.erb', target.join('README.md')
36
- template 'CHANGELOG.md.erb', target.join('CHANGELOG.md')
34
+ template license_file, target.join('LICENSE')
35
+ template 'base/README.md.erb', target.join('README.md')
36
+ template 'base/CHANGELOG.md.erb', target.join('CHANGELOG.md')
37
37
  end
38
38
 
39
39
  def write_puppet_files
@@ -48,13 +48,15 @@ module PuppetMagnum
48
48
  template 'spec/acceptance/init_spec.rb.erb', target.join("spec/acceptance/#{module_name}_spec.rb")
49
49
 
50
50
  # beaker test files
51
- template 'spec/acceptance/spec_helper_acceptance.rb.erb', target.join('spec/spec_helper_acceptance.rb')
52
-
53
- template 'spec/acceptance/ubuntu-server-1404-x64.yml.erb', target.join('spec/acceptance/nodesets/ubuntu-server-1404-x64.yml')
54
- template 'spec/acceptance/ubuntu-server-1604-x64.yml.erb', target.join('spec/acceptance/nodesets/ubuntu-server-1604-x64.yml')
55
-
56
- template 'spec/acceptance/docker/ubuntu-server-1404-x64.yml.erb', target.join('spec/acceptance/nodesets/docker/ubuntu-server-1404-x64.yml')
57
- template 'spec/acceptance/docker/ubuntu-server-1604-x64.yml.erb', target.join('spec/acceptance/nodesets/docker/ubuntu-server-1604-x64.yml')
51
+ template 'spec/acceptance/spec_helper_acceptance.rb.erb', target.join('spec/spec_helper_acceptance.rb')
52
+
53
+ beaker_sut_files = ['ubuntu-server-1404-x64.yml', 'ubuntu-server-1604-x64.yml']
54
+ beaker_sut_files.each do |beaker_sut_file|
55
+ # VirtualBox
56
+ template "spec/acceptance/#{beaker_sut_file}.erb", target.join("spec/acceptance/nodesets/#{beaker_sut_file}")
57
+ # Docker
58
+ template "spec/acceptance/docker/#{beaker_sut_file}.erb", target.join("spec/acceptance/nodesets/docker/#{beaker_sut_file}")
59
+ end
58
60
  end
59
61
 
60
62
  def write_util_files
@@ -35,5 +35,4 @@ Gem::Specification.new do |spec|
35
35
  spec.add_runtime_dependency 'rspec-puppet', '~> 2.5.0'
36
36
  spec.add_runtime_dependency 'puppetlabs_spec_helper', '~> 2.1.2'
37
37
  spec.add_runtime_dependency 'beaker-hostgenerator', '~> 0.8.4'
38
-
39
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-magnum
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tehmasp Chaudhri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-02 00:00:00.000000000 Z
11
+ date: 2017-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sem_ver
@@ -185,8 +185,8 @@ files:
185
185
  - Rakefile
186
186
  - VERSION
187
187
  - bin/puppet-magnum
188
- - generator_files/CHANGELOG.md.erb
189
- - generator_files/README.md.erb
188
+ - generator_files/base/CHANGELOG.md.erb
189
+ - generator_files/base/README.md.erb
190
190
  - generator_files/git/gitignore.erb
191
191
  - generator_files/licenses/apachev2.erb
192
192
  - generator_files/licenses/mit.erb