vagrant-puppet-install 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/Gemfile +1 -1
- data/README.md +9 -9
- data/lib/vagrant-puppet-install/plugin.rb +1 -21
- data/lib/vagrant-puppet-install/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8aa24a0de4849ea0f0ce85e92a026eecd3688574
|
4
|
+
data.tar.gz: 6d98237f75bcd7569273d79c8717c705145e233d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 131d3ec9c583fac42f071df9d99f04062e87fb4d8b8abd46362b1532cc402710d2f4ea60d0ff938b51ddb6000083e92fa2b4013aca4341bf4113e96536c77be7
|
7
|
+
data.tar.gz: b24a33a14da0631602af95908d5d4ab7769e27096172e695ca874a99cf400e7b065f48f8b348cf3373935ceec86d84622aa7aac3359e4df172cabc2181a7d052
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# vagrant-puppet-install
|
2
2
|
|
3
3
|
[![Gem Version](https://badge.fury.io/rb/vagrant-puppet-install.png)](http://badge.fury.io/rb/vagrant-puppet-install)
|
4
|
-
[![Build Status](https://travis-ci.org/
|
5
|
-
[![Dependency Status](https://gemnasium.com/
|
6
|
-
[![Code Climate](https://codeclimate.com/github/
|
4
|
+
[![Build Status](https://travis-ci.org/petems/vagrant-puppet-install.png?branch=master)](https://travis-ci.org/petems/vagrant-puppet-install)
|
5
|
+
[![Dependency Status](https://gemnasium.com/petems/vagrant-puppet-install.png)](https://gemnasium.com/petems/vagrant-puppet-install)
|
6
|
+
[![Code Climate](https://codeclimate.com/github/petems/vagrant-puppet-install.png)](https://codeclimate.com/petems/patcon/vagrant-puppet-install)
|
7
7
|
|
8
8
|
A Vagrant plugin that ensures the desired version of Puppet is installed via the
|
9
9
|
Puppet Labs package repo. This proves very useful when using Vagrant
|
@@ -34,7 +34,7 @@ $ vagrant plugin install vagrant-puppet-install
|
|
34
34
|
|
35
35
|
The Puppet Install Vagrant plugin automatically hooks into the Vagrant provisioning
|
36
36
|
middleware. You specify the version of the `puppet-common` package you want
|
37
|
-
installed using the `puppet_install.
|
37
|
+
installed using the `puppet_install.puppet_version` config key. The version string
|
38
38
|
should be a valid Puppet release (ie. `2.7.11`, `3.0.*`, etc.).
|
39
39
|
|
40
40
|
Install the latest version of Puppet:
|
@@ -42,7 +42,7 @@ Install the latest version of Puppet:
|
|
42
42
|
```ruby
|
43
43
|
Vagrant.configure("2") do |config|
|
44
44
|
|
45
|
-
config.puppet_install.
|
45
|
+
config.puppet_install.puppet_version = "*"
|
46
46
|
|
47
47
|
...
|
48
48
|
|
@@ -54,7 +54,7 @@ Install a specific version of Puppet:
|
|
54
54
|
```ruby
|
55
55
|
Vagrant.configure("2") do |config|
|
56
56
|
|
57
|
-
config.puppet_install.
|
57
|
+
config.puppet_install.puppet_version = "2.7.11"
|
58
58
|
|
59
59
|
...
|
60
60
|
|
@@ -77,12 +77,12 @@ The test are also executed by Travis CI every time code is pushed to GitHub.
|
|
77
77
|
|
78
78
|
### Acceptance
|
79
79
|
|
80
|
-
The acceptance tests will be run against the Vagrant providers mentioned above.
|
80
|
+
The acceptance tests will be run against the Vagrant providers mentioned above.
|
81
81
|
|
82
82
|
The acceptance tests can be run with:
|
83
83
|
|
84
84
|
```
|
85
|
-
# to run them all
|
85
|
+
# to run them all
|
86
86
|
rake test:acceptance
|
87
87
|
# or specify a provider
|
88
88
|
rake test:acceptance['virtualbox']
|
@@ -107,4 +107,4 @@ Peter Souter
|
|
107
107
|
|
108
108
|
### Adapted from original code by
|
109
109
|
|
110
|
-
Seth Chisamore
|
110
|
+
Seth Chisamore
|
@@ -1,29 +1,9 @@
|
|
1
|
-
#
|
2
|
-
# Copyright (c) 2013, Seth Chisamore
|
3
|
-
#
|
4
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
# you may not use this file except in compliance with the License.
|
6
|
-
# You may obtain a copy of the License at
|
7
|
-
#
|
8
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
#
|
10
|
-
# Unless required by applicable law or agreed to in writing, software
|
11
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
# See the License for the specific language governing permissions and
|
14
|
-
# limitations under the License.
|
15
|
-
#
|
16
|
-
|
17
|
-
# This is a sanity check to make sure no one is attempting to install
|
18
|
-
# this into an early Vagrant version.
|
19
1
|
if Vagrant::VERSION < '1.1.0'
|
20
2
|
fail 'The Vagrant Puppet Install plugin is only compatible with Vagrant 1.1+'
|
21
3
|
end
|
22
4
|
|
23
5
|
module VagrantPlugins
|
24
|
-
#
|
25
6
|
module PuppetInstall
|
26
|
-
# @author Seth Chisamore <schisamo@opscode.com>
|
27
7
|
class Plugin < Vagrant.plugin('2')
|
28
8
|
name 'vagrant-puppet-install'
|
29
9
|
description <<-DESC
|
@@ -31,7 +11,7 @@ module VagrantPlugins
|
|
31
11
|
via the Puppet Labs package repos.
|
32
12
|
DESC
|
33
13
|
|
34
|
-
action_hook(:
|
14
|
+
action_hook(:install_puppet, Plugin::ALL_ACTIONS) do |hook|
|
35
15
|
require_relative 'action/install_puppet'
|
36
16
|
hook.after(Vagrant::Action::Builtin::Provision, Action::InstallPuppet)
|
37
17
|
|
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: 2.
|
4
|
+
version: 2.2.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: 2014-
|
13
|
+
date: 2014-06-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.0.14
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: A Vagrant plugin that ensures the desired version of Puppet is installed
|