beaker_spec_helper 0.0.1 → 0.1.0

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: e32c88bd4389acbe743dcc93fecdf97b69daf2ec
4
- data.tar.gz: ae3045251f5698e85e1e1302e167cf6127485acd
3
+ metadata.gz: 8b3884228dc16f035a2cdfa747f5b4b0213d3229
4
+ data.tar.gz: 3768288d8e8e4fe50bfdc7f27a0cb1957c77bf06
5
5
  SHA512:
6
- metadata.gz: d5bc57cc9674dc67ee4e97825466605aa05ecc8d4067f52299f464d09a701d9b706416215d7be3db1f5c6d28e24696bd5cb39b537e7338bd6532805c61f2955f
7
- data.tar.gz: f346a57195eff8f8c7ef486b127bb554dbafc0d65f4018cb5b43211dad827a1ca0c299932e2d202a681d3d1524792d39bc1c3431886fb6f413d17f183254110c
6
+ metadata.gz: bd64afd74d6e45cce06f480848ca25c23cd3a36d3337d3d03c2fb11e36081f460a9737518b2f037bb1ee40e6fc670f4c769ee7203bae021f313d7f43ea06a7be
7
+ data.tar.gz: 805195a096277d21d10f7811dc3432c36de0dc66947b9c1fe6ea07f2bcfbfcdfee4a208721e6128d7eefe1482103ccfd8c72b9a0df3a1b1a8c2bb98e94f4db03
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [0.1.0] - 2015-06-05
2
+ Remove monkey patching for utopic and vivid
3
+
4
+ ## [0.0.1] - 2015-05-28
5
+ Initial release
@@ -1,42 +1,5 @@
1
1
  module BeakerSpecHelper
2
2
 
3
- hosts.each do |host|
4
- # Workaround for Ubuntu utopic and vivid
5
- if host['platform'] =~ /ubuntu-(14.10|15.04)/
6
- # Ugly Monkey patching...
7
- module Beaker::DSL::InstallUtils::PuppetUtils
8
- def install_puppet_from_deb( host, opts )
9
- if ! host.check_for_package 'lsb-release'
10
- host.install_package('lsb-release')
11
- end
12
-
13
- if ! host.check_for_command 'curl'
14
- on host, 'apt-get install -y curl'
15
- end
16
-
17
- on host, 'curl -O http://apt.puppetlabs.com/puppetlabs-release-trusty.deb'
18
- on host, 'dpkg -i puppetlabs-release-trusty.deb'
19
- on host, 'apt-get update'
20
-
21
- if opts[:facter_version]
22
- on host, "apt-get install -y facter=#{opts[:facter_version]}-1puppetlabs1"
23
- end
24
-
25
- if opts[:hiera_version]
26
- on host, "apt-get install -y hiera=#{opts[:hiera_version]}-1puppetlabs1"
27
- end
28
-
29
- if opts[:version]
30
- on host, "apt-get install -y puppet-common=#{opts[:version]}-1puppetlabs1"
31
- on host, "apt-get install -y puppet=#{opts[:version]}-1puppetlabs1"
32
- else
33
- on host, 'apt-get install -y puppet'
34
- end
35
- end
36
- end
37
- end
38
- end
39
-
40
3
  ###
41
4
  # Copied/pasted/adapted from puppetlabs_spec_helper's lib/puppetlabs_spec_helper/rake_tasks.rb
42
5
  #
@@ -1,5 +1,5 @@
1
1
  module BeakerSpecHelper
2
2
  module Version
3
- STRING = '0.0.1'
3
+ STRING = '0.1.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker_spec_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Camptocamp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-28 00:00:00.000000000 Z
11
+ date: 2015-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: beaker
@@ -33,6 +33,7 @@ extensions: []
33
33
  extra_rdoc_files: []
34
34
  files:
35
35
  - ".gitignore"
36
+ - CHANGELOG.md
36
37
  - Gemfile
37
38
  - LICENSE
38
39
  - README.md