vagrant-puppet-module-registry 0.2.0 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e65571d860387b214b8ec31adc7dd5735d0a04d6
|
4
|
+
data.tar.gz: 8785c3143057fd26719ea9d3dc098c5f30550bcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04a890d2c898735e8356f1410362a4c2cd6b7177ca2791c48bb00eb71763bbe3e96087feaf7d8be309e512bab70fee1a97acec40800b7be1b6e18a71312a5c86
|
7
|
+
data.tar.gz: 4cd27f22edda45c63750235148831db8402e43ea8ee11b0bf17c1dc7d71333041b4cb419c571e596d0c2fa9907c4c96ea3f493e7c4b5544a99ebfad0308fc900
|
data/Vagrantfile
CHANGED
@@ -8,6 +8,10 @@ Vagrant.configure('2') do |config|
|
|
8
8
|
|
9
9
|
config.puppet_module_registry.register_module_path('core', 'manifests/modules')
|
10
10
|
|
11
|
+
config.vm.provision 'shell' do |s|
|
12
|
+
s.inline = 'sudo /opt/vagrant_ruby/bin/gem install puppet --no-ri --no-rdoc --version=3.5.1'
|
13
|
+
end
|
14
|
+
|
11
15
|
config.vm.provision 'puppet' do |puppet|
|
12
16
|
puppet.manifests_path = 'manifests'
|
13
17
|
puppet.manifest_file = 'init.pp'
|
@@ -8,7 +8,13 @@ module VagrantPlugins
|
|
8
8
|
@puppet_fact_generator = @env[:machine].config.puppet_fact_generator
|
9
9
|
@puppet_module_registry = @env[:machine].config.puppet_module_registry
|
10
10
|
|
11
|
-
provisioner =
|
11
|
+
provisioner = nil
|
12
|
+
@env[:machine].config.vm.provisioners.each do |p|
|
13
|
+
if p.name == :puppet
|
14
|
+
provisioner = p
|
15
|
+
break
|
16
|
+
end
|
17
|
+
end
|
12
18
|
@puppet_config = provisioner ? provisioner.config: nil
|
13
19
|
end
|
14
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-puppet-module-registry
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Hahn
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|