vagrant-librarian-puppet 0.5.0 → 0.6.0

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: 715b68f5b6e458a3bfa70ea3d916d66a6e556946
4
- data.tar.gz: 92cd3e90985fe6d882281d49c3d5ecacf8ac56e4
3
+ metadata.gz: 09fd6c43642b2bcef5130b94ffa3b4b0eee62e51
4
+ data.tar.gz: b04d222e1d2b97457c3dfac4263baeeaa3778130
5
5
  SHA512:
6
- metadata.gz: 4aea6c04c3a3aef5521f6bbdd10b99a520f17bf3a3c4070d942f3f0e9447f50558b2ca37d5a68e77c885fa6da9a2485e653b3750d736a76a2dacd2f6462942d8
7
- data.tar.gz: d6ad71cb15d3df7b9aef7ce86de2bb8e50f94fadc95926537375d4c6f4d39f095dd63fb36e946fb7ce28e730e99c51d60c670669ee1dd30c8787c2719f8fdd43
6
+ metadata.gz: 9969b1474354fedb314ccfc198b4b52b84a5b35afe93a788e4099d463c8f414756fb8c96eeb8833d5e6443abdd81ade518922bdfd688d3eaa9177df96c1362ab
7
+ data.tar.gz: fe72c4bb47de866ca9acf32696dd76386270185f0ca40a7ae4573401d3a68789c92ee9507c30bd90526d08a1195564148f85f0b9942b1fc471b65beb604390b3
data/Gemfile CHANGED
@@ -6,3 +6,7 @@ group :development do
6
6
  gem "vagrant", github: "mitchellh/vagrant"
7
7
  gem "debugger"
8
8
  end
9
+
10
+ group :plugins do
11
+ gem "vagrant-librarian-puppet", path: "."
12
+ end
data/Vagrantfile CHANGED
@@ -2,8 +2,6 @@
2
2
  # -*- mode: ruby -*-
3
3
  # vi: set ft=ruby :
4
4
 
5
- Vagrant.require_plugin 'vagrant-librarian-puppet'
6
-
7
5
  Vagrant.configure('2') do |config|
8
6
  config.vm.box = 'precise64'
9
7
  config.vm.box_url = 'http://files.vagrantup.com/precise64.box'
@@ -9,11 +9,11 @@ module VagrantPlugins
9
9
  @app = app
10
10
  @env = env
11
11
  # Config#finalize! SHOULD be called automatically
12
- env[:global_config].librarian_puppet.finalize!
12
+ env[:machine].config.librarian_puppet.finalize!
13
13
  end
14
14
 
15
15
  def call(env)
16
- config = env[:global_config].librarian_puppet
16
+ config = env[:machine].config.librarian_puppet
17
17
  if
18
18
  provisioned? and
19
19
  File.exist? File.join(env[:root_path], config.puppetfile_path)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module LibrarianPuppet
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-librarian-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
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-02-25 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: librarian-puppet