vagrant-puppet-module-registry 0.2.0 → 0.2.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc5ac4281a6befe6534ef4f65a75d55b8a137042
4
- data.tar.gz: ae75d1a70300f7c4b47529dff989dd420bdeb78d
3
+ metadata.gz: e65571d860387b214b8ec31adc7dd5735d0a04d6
4
+ data.tar.gz: 8785c3143057fd26719ea9d3dc098c5f30550bcf
5
5
  SHA512:
6
- metadata.gz: a2bf1ce2401ba1988247bbe4f78798ce260bb88352d6eada628aec1c6b7f9d5acee8696427fd277bc8115a6a0fcf827a4481b2620c43fc92073927b44cf72207
7
- data.tar.gz: d76f99296a1c4c1be902556c13e8ff755c2b7360f6099ff437d15f8caa3e21d71f79da14e9d2f96d715c11192fb8690a21c8cf9f76d6e188f6e87b13025c171c
6
+ metadata.gz: 04a890d2c898735e8356f1410362a4c2cd6b7177ca2791c48bb00eb71763bbe3e96087feaf7d8be309e512bab70fee1a97acec40800b7be1b6e18a71312a5c86
7
+ data.tar.gz: 4cd27f22edda45c63750235148831db8402e43ea8ee11b0bf17c1dc7d71333041b4cb419c571e596d0c2fa9907c4c96ea3f493e7c4b5544a99ebfad0308fc900
@@ -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 = @env[:machine].config.vm.provisioners[0]
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
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module PuppetModuleRegistry
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
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.0
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-04-04 00:00:00.000000000 Z
11
+ date: 2014-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler