vagrant-puppet-install 3.1.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -3
- data/README.md +1 -1
- data/lib/vagrant-puppet-install/config.rb +2 -5
- data/lib/vagrant-puppet-install/version.rb +1 -1
- data/test/acceptance/virtualbox/Vagrantfile +5 -0
- data/vagrant-puppet-install.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd581140ef127f0b1d8eff44dc9b236909c05c2e
|
4
|
+
data.tar.gz: c47a647457d7aba371af6396c0b9129e1f4a1220
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 198797655bef1dca1f251eb261dffa21feb0e0b1e1453d177118c760b05c617b178d99ac7d5d1b25a8cb5e9cd2e3b2ffbac14cfa8a98dd93acb89f131ff90dac
|
7
|
+
data.tar.gz: e744df7b94828d4dd8eeefd36d2077091b2256c7f3112b10bf15774d5ab1a528eb543ce178f23d203e53ce3f6b5ed5e67469c3f6ce1326b40476bfab6a6f265b
|
data/CHANGELOG.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
-
## [
|
3
|
+
## [v3.1.0](https://github.com/petems/vagrant-puppet-install/tree/v3.1.0) (2016-01-21)
|
4
4
|
|
5
|
-
[Full Changelog](https://github.com/petems/vagrant-puppet-install/compare/v3.0.0...
|
5
|
+
[Full Changelog](https://github.com/petems/vagrant-puppet-install/compare/v3.0.0...v3.1.0)
|
6
6
|
|
7
7
|
**Closed issues:**
|
8
8
|
|
@@ -106,4 +106,4 @@
|
|
106
106
|
|
107
107
|
|
108
108
|
|
109
|
-
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
109
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ middleware. You specify the version of the `puppet-common` package you want
|
|
43
43
|
installed using the `puppet_install.puppet_version` config key. The version string
|
44
44
|
should be a valid Puppet release (ie. `2.7.11`, `3.7.4`, etc.).
|
45
45
|
|
46
|
-
The Puppet version is validated against the RubyGems API
|
46
|
+
The Puppet version is validated against the RubyGems API. So as long as the version you give is [listed there](https://rubygems.org/gems/puppet/versions/), it will allow you to install.
|
47
47
|
|
48
48
|
Install the latest version of Puppet:
|
49
49
|
|
@@ -19,9 +19,6 @@ module VagrantPlugins
|
|
19
19
|
elsif @puppet_version.to_s == 'latest'
|
20
20
|
# resolve `latest` to a real version
|
21
21
|
@puppet_version = retrieve_latest_puppet_version
|
22
|
-
elsif valid_puppet_version?(puppet_version)
|
23
|
-
# allows for pessimistic version constraint
|
24
|
-
@puppet_version = retrieve_latest_puppet_version(puppet_version)
|
25
22
|
end
|
26
23
|
@install_url = nil if @install_url == UNSET_VALUE
|
27
24
|
end
|
@@ -51,9 +48,9 @@ A list of valid versions can be found at: http://docs.puppetlabs.com/release_not
|
|
51
48
|
private
|
52
49
|
|
53
50
|
# Query RubyGems.org's Ruby API and retrive the latest version of Puppet.
|
54
|
-
def retrieve_latest_puppet_version
|
51
|
+
def retrieve_latest_puppet_version
|
55
52
|
available_gems =
|
56
|
-
dependency_installer.find_gems_with_sources(puppet_gem_dependency
|
53
|
+
dependency_installer.find_gems_with_sources(puppet_gem_dependency)
|
57
54
|
spec, _source =
|
58
55
|
if available_gems.respond_to?(:last)
|
59
56
|
# DependencyInstaller sorts the results such that the last one is
|
@@ -6,6 +6,11 @@ require 'vagrant-puppet-install'
|
|
6
6
|
|
7
7
|
Vagrant.configure("2") do |config|
|
8
8
|
|
9
|
+
config.vm.define :no_config_set do |no_config_set|
|
10
|
+
no_config_set.vm.box = "ubuntu/trusty64"
|
11
|
+
no_config_set.vm.provision "shell", inline: "echo 'Should still work with no puppet plugin enabled'"
|
12
|
+
end
|
13
|
+
|
9
14
|
config.vm.define :trusty_ubuntu_box do |trusty_ubuntu_box|
|
10
15
|
trusty_ubuntu_box.puppet_install.puppet_version = :latest
|
11
16
|
trusty_ubuntu_box.puppet_install.install_url = 'https://gist.githubusercontent.com/petems/6723c2eedb9d32d7ad97/raw/990ff448f6430aa015e208668a3cecb3f1db0d4b/purge_old_install_new.sh'
|
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:
|
4
|
+
version: 4.0.0
|
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: 2016-01-
|
13
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -68,6 +68,20 @@ dependencies:
|
|
68
68
|
- - "~>"
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: 0.17.0
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: pry
|
73
|
+
requirement: !ruby/object:Gem::Requirement
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: !ruby/object:Gem::Requirement
|
81
|
+
requirements:
|
82
|
+
- - ">="
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: '0'
|
71
85
|
description: A Vagrant plugin that ensures the desired version of Puppet is installed
|
72
86
|
via the Puppet Labs package repos.
|
73
87
|
email:
|