vagrant-puppet-install 6.0.0 → 6.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: c8e4e297ff4fde97096077f301620439726631d0
4
- data.tar.gz: 5020d278996330741966371405742c8e39d99cd7
3
+ metadata.gz: 4dee61f9b859f1d3a0b467baaf994f839fb80396
4
+ data.tar.gz: 316a1af6e9c13a12e074015610b7e205cfa1cd3e
5
5
  SHA512:
6
- metadata.gz: c3eb7a2276f286d74d4a2e06a7c1819225f273f232105ac3182cb34964b0e87d8695d9124a033b7a1f3bd92535fb3e842c841f195a3fa90980eae66206847908
7
- data.tar.gz: bf58dd73d1ac9f5bd06e15c46d8ce405232e28d1d8ed938a686c23402ff85fe12088f7510f42b056e0ec8fb35ceb04d6b3fd4ce7c6772ba31b5edccbd4e44196
6
+ metadata.gz: b643bab4e57e910682bae767ceb6134a4bbf863061771efabca7d50227e631d52936bbaf4796643c14538505ded4afd5c3e05d2833e1308b64c2cc9433343ab5
7
+ data.tar.gz: 7459621aa80cd4038b11917fa654fe3d421d8b719ab90846e012e1f25c8210fcdcd2273750adc4ccac4be200e4751e10f241f8678bdd87300baecbee7028decd
@@ -1,5 +1,11 @@
1
+ sudo: required
1
2
  rvm:
2
- - 2.2.5
3
- bundler_args: --jobs 7 --without=acceptance
3
+ - 2.4.1
4
+ before_install:
5
+ - gem install bundler
6
+ - bundle install
7
+ - docker pull petems/centos-7-docker-vagrant-insecure-key
4
8
  script:
9
+ - bundle exec rake validate
5
10
  - bundle exec rake test:unit
11
+ - bundle exec rake test:docker_acceptance
@@ -1,7 +1,19 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
3
+ ## [v6.0.0](https://github.com/petems/vagrant-puppet-install/tree/v6.0.0) (2019-04-07)
4
+ [Full Changelog](https://github.com/petems/vagrant-puppet-install/compare/v5.0.0...v6.0.0)
4
5
 
6
+ **Closed issues:**
7
+
8
+ - '4.9.10' is not a valid version of Puppet [\#56](https://github.com/petems/vagrant-puppet-install/issues/56)
9
+ - Incorrect install script used for default\_install\_url when version is latest [\#55](https://github.com/petems/vagrant-puppet-install/issues/55)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Add support for Puppet 6 [\#61](https://github.com/petems/vagrant-puppet-install/pull/61) ([dhoppe](https://github.com/dhoppe))
14
+ - Bump version to 5.0.1 [\#59](https://github.com/petems/vagrant-puppet-install/pull/59) ([petems](https://github.com/petems))
15
+ - Fixes Travis config [\#58](https://github.com/petems/vagrant-puppet-install/pull/58) ([petems](https://github.com/petems))
16
+ - Fixes security issues detected by Github [\#57](https://github.com/petems/vagrant-puppet-install/pull/57) ([petems](https://github.com/petems))
5
17
 
6
18
  ## [v5.0.0](https://github.com/petems/vagrant-puppet-install/tree/v5.0.0) (2017-07-11)
7
19
  [Full Changelog](https://github.com/petems/vagrant-puppet-install/compare/v4.1.0...v5.0.0)
@@ -28,7 +28,7 @@ GIT
28
28
  PATH
29
29
  remote: .
30
30
  specs:
31
- vagrant-puppet-install (6.0.0)
31
+ vagrant-puppet-install (6.0.1)
32
32
 
33
33
  GEM
34
34
  remote: https://rubygems.org/
data/Rakefile CHANGED
@@ -18,6 +18,13 @@ begin
18
18
  rescue LoadError
19
19
  end
20
20
 
21
+ desc 'Validate ruby files'
22
+ task :validate do
23
+ Dir['test/**/*.rb', 'lib/**/*.rb'].each do |ruby_file|
24
+ sh "ruby -c #{ruby_file}" unless ruby_file =~ %r{spec/fixtures}
25
+ end
26
+ end
27
+
21
28
  namespace :test do
22
29
  RSpec::Core::RakeTask.new(:unit) do |t|
23
30
  t.pattern = 'test/unit/**/*_spec.rb'
@@ -58,6 +65,19 @@ namespace :test do
58
65
  end
59
66
  end
60
67
  end
68
+
69
+ desc 'Run docker acceptance test - Used in CI'
70
+ task :docker_acceptance do |_t, args|
71
+ puts '=================================================================='
72
+ puts "Running acceptance tests against Docker provider..."
73
+ puts '=================================================================='
74
+
75
+ Dir.chdir("test/acceptance/docker") do
76
+ system('vagrant destroy -f')
77
+ system("vagrant up --provider=docker --provision")
78
+ system('vagrant destroy -f')
79
+ end
80
+ end
61
81
  end
62
82
 
63
83
  task default: 'test:unit'
@@ -65,7 +65,7 @@ module VagrantPlugins
65
65
  else
66
66
  if @machine.config.puppet_install.puppet_version == 'latest' || @machine.config.puppet_install.puppet_version.match(/^6\..+/)
67
67
  'https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_6_agent.sh'
68
- if @machine.config.puppet_install.puppet_version.match(/^5\..+/)
68
+ elsif @machine.config.puppet_install.puppet_version.match(/^5\..+/)
69
69
  'https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_5_agent.sh'
70
70
  elsif @machine.config.puppet_install.puppet_version.match(/^4\..+/)
71
71
  'https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet_agent.sh'
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module PuppetInstall
3
- VERSION = '6.0.0'.freeze
3
+ VERSION = '6.0.1'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1,22 @@
1
+ # -*- mode: ruby -*-
2
+ # vi: set ft=ruby :
3
+
4
+ # plugins don't seem to be auto-loaded from the bundle
5
+ require 'vagrant-puppet-install'
6
+
7
+ Vagrant.configure('2') do |config|
8
+ config.puppet_install.puppet_version = :latest
9
+
10
+ config.vm.provider "docker" do |d|
11
+ d.image = "petems/centos-7-docker-vagrant-insecure-key"
12
+ d.name = "vagrant-puppet-install-centos-7"
13
+ d.has_ssh = true
14
+ end
15
+
16
+ config.ssh.username = "vagrant"
17
+
18
+ config.vm.provision :puppet do |puppet|
19
+ puppet.manifests_path = File.expand_path('../../../support/manifests', __FILE__)
20
+ puppet.manifest_file = 'base.pp'
21
+ end
22
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-puppet-install
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.0
4
+ version: 6.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Seth Chisamore
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2019-04-07 00:00:00.000000000 Z
13
+ date: 2019-04-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
@@ -111,6 +111,7 @@ files:
111
111
  - locales/en.yml
112
112
  - test/acceptance/aws/Vagrantfile
113
113
  - test/acceptance/digital_ocean/Vagrantfile
114
+ - test/acceptance/docker/Vagrantfile
114
115
  - test/acceptance/rackspace/Vagrantfile
115
116
  - test/acceptance/virtualbox/Vagrantfile
116
117
  - test/support/environments/vagrant/manifests/site.pp
@@ -148,6 +149,7 @@ summary: A Vagrant plugin that ensures the desired version of Puppet is installe
148
149
  test_files:
149
150
  - test/acceptance/aws/Vagrantfile
150
151
  - test/acceptance/digital_ocean/Vagrantfile
152
+ - test/acceptance/docker/Vagrantfile
151
153
  - test/acceptance/rackspace/Vagrantfile
152
154
  - test/acceptance/virtualbox/Vagrantfile
153
155
  - test/support/environments/vagrant/manifests/site.pp