vagrant-librarian-puppet-plugin 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
YzIzMDc3MmQ5ZWZlYTExYjA0YjczZWVkMTY1NjEwNTBkMzk1NTVjNw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZDM5NjdmYzYwMDQxZjBmMDJhMWZhYTYyMjYzYzViOGZlYTcwZGYyZQ==
|
|
7
7
|
!binary "U0hBNTEy":
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
Y2QzZWVmMWVhZmNkNGEyMjZhZmEzNDM1MTEyMTMxYTIwODE0OTQ3MzcxMWEy
|
|
10
|
+
YzI4M2RhZjk5MjY0NmQ3NGNlNWE3YjA0MWQ4ZWI0NjNkZjg0ZDFlYzQ2NWIw
|
|
11
|
+
NmYwNTg2ODMyZTZhOTdiNmQzYTZkYTA4M2FmZmI2NDVkNTdkZjE=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
MzUxODZhYjE3MDJiMGVkMTYwZjI5Y2RhYzJmNjM2MDU2OTJmZjg0MjE1NGNk
|
|
14
|
+
NGE1NzA1YTJjMmVmNTVkNDgzMTAzZjEwM2Y4ZmUwZTg3YTUxYTVmMzRiNTI2
|
|
15
|
+
NjY5MzNlNTE0NTI0MmEwYjc2YTVhNGNlOGEyMzA4YmQxNTAwNWQ=
|
data/Vagrantfile
CHANGED
|
@@ -2,16 +2,18 @@
|
|
|
2
2
|
# -*- mode: ruby -*-
|
|
3
3
|
# vi: set ft=ruby :
|
|
4
4
|
|
|
5
|
-
Vagrant.require_plugin
|
|
5
|
+
Vagrant.require_plugin 'vagrant-librarian-puppet-plugin'
|
|
6
6
|
|
|
7
|
-
Vagrant.configure(
|
|
8
|
-
config.vm.box =
|
|
9
|
-
config.vm.box_url =
|
|
7
|
+
Vagrant.configure('2') do |config|
|
|
8
|
+
config.vm.box = 'precise64'
|
|
9
|
+
config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
|
|
10
|
+
|
|
11
|
+
config.librarian_puppet.puppetfile_dir = 'puppet'
|
|
10
12
|
|
|
11
13
|
config.vm.provision :puppet do |puppet|
|
|
12
|
-
puppet.manifests_path =
|
|
13
|
-
puppet.manifest_file =
|
|
14
|
-
puppet.module_path =
|
|
14
|
+
puppet.manifests_path = 'manifests'
|
|
15
|
+
puppet.manifest_file = 'init.pp'
|
|
16
|
+
puppet.module_path = 'puppet/modules'
|
|
15
17
|
end
|
|
16
18
|
|
|
17
19
|
end
|
|
@@ -20,7 +20,7 @@ module VagrantPlugins
|
|
|
20
20
|
|
|
21
21
|
env[:ui].info "Installing Puppet modules with Librarian-Puppet..."
|
|
22
22
|
environment = Librarian::Puppet::Environment.new({
|
|
23
|
-
:project_path => File.join(env[:root_path], config.
|
|
23
|
+
:project_path => File.join(env[:root_path], config.puppetfile_dir)
|
|
24
24
|
})
|
|
25
25
|
Librarian::Action::Ensure.new(environment).run
|
|
26
26
|
Librarian::Action::Resolve.new(environment).run
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
module VagrantPlugins
|
|
2
2
|
module LibrarianPuppet
|
|
3
3
|
class Config < Vagrant.plugin(2, :config)
|
|
4
|
-
attr_accessor :
|
|
4
|
+
attr_accessor :puppetfile_dir
|
|
5
5
|
|
|
6
6
|
def initialize
|
|
7
|
-
@
|
|
7
|
+
@puppetfile_dir = UNSET_VALUE
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def finalize!
|
|
11
|
-
@
|
|
11
|
+
@puppetfile_dir = '.' if @puppetfile_dir == UNSET_VALUE
|
|
12
12
|
end
|
|
13
13
|
|
|
14
14
|
def puppetfile_path
|
|
15
|
-
@puppetfile_path ||= @
|
|
15
|
+
@puppetfile_path ||= @puppetfile_dir ? File.join(@puppetfile_dir, 'Puppetfile') : 'Puppetfile'
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
end
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: vagrant-librarian-puppet-plugin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Hahn
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-
|
|
11
|
+
date: 2013-08-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: librarian-puppet
|
|
@@ -104,7 +104,6 @@ files:
|
|
|
104
104
|
- .gitignore
|
|
105
105
|
- Gemfile
|
|
106
106
|
- LICENSE.txt
|
|
107
|
-
- Puppetfile
|
|
108
107
|
- README.md
|
|
109
108
|
- Rakefile
|
|
110
109
|
- Vagrantfile
|
|
@@ -114,6 +113,7 @@ files:
|
|
|
114
113
|
- lib/vagrant-librarian-puppet-plugin/plugin.rb
|
|
115
114
|
- lib/vagrant-librarian-puppet-plugin/version.rb
|
|
116
115
|
- manifests/init.pp
|
|
116
|
+
- puppet/Puppetfile
|
|
117
117
|
- vagrant-librarian-puppet-plugin.gemspec
|
|
118
118
|
homepage: https://github.com/mhahn/vagrant-librarian-puppet-plugin
|
|
119
119
|
licenses:
|