vagrant-librarian-puppet-plugin 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,12 +19,23 @@ module VagrantPlugins
19
19
  File.exist? File.join(env[:root_path], config.puppetfile_path)
20
20
 
21
21
  env[:ui].info "Installing Puppet modules with Librarian-Puppet..."
22
+
23
+ # NB: Librarian::Puppet::Environment calls `which puppet` so we
24
+ # need to make sure VAGRANT_HOME/gems/bin has been added to the
25
+ # path.
26
+ original_path = ENV['PATH']
27
+ bin_path = env[:gems_path].join('bin')
28
+ ENV['PATH'] = "#{bin_path}#{::File::PATH_SEPARATOR}#{ENV['PATH']}"
29
+
22
30
  environment = Librarian::Puppet::Environment.new({
23
31
  :project_path => File.join(env[:root_path], config.puppetfile_dir)
24
32
  })
25
33
  Librarian::Action::Ensure.new(environment).run
26
34
  Librarian::Action::Resolve.new(environment).run
27
35
  Librarian::Action::Install.new(environment).run
36
+
37
+ # Restore the original path
38
+ ENV['PATH'] = original_path
28
39
  end
29
40
  @app.call(env)
30
41
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module LibrarianPuppet
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -4,3 +4,5 @@ forge 'http://forge.puppetlabs.com'
4
4
 
5
5
  mod 'supervisor',
6
6
  :git => 'git://github.com/eventbrite/puppet-supervisor.git'
7
+
8
+ mod 'puppetlabs/git'
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-librarian-puppet-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Michael Hahn
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-08-10 00:00:00.000000000 Z
12
+ date: 2013-09-24 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: librarian-puppet
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
19
  - - ! '>='
18
20
  - !ruby/object:Gem::Version
@@ -20,6 +22,7 @@ dependencies:
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
27
  - - ! '>='
25
28
  - !ruby/object:Gem::Version
@@ -27,6 +30,7 @@ dependencies:
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: librarian
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
35
  - - ! '>='
32
36
  - !ruby/object:Gem::Version
@@ -34,6 +38,7 @@ dependencies:
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
43
  - - ! '>='
39
44
  - !ruby/object:Gem::Version
@@ -41,6 +46,7 @@ dependencies:
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: puppet
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
51
  - - ! '>='
46
52
  - !ruby/object:Gem::Version
@@ -48,6 +54,7 @@ dependencies:
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
@@ -55,6 +62,7 @@ dependencies:
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: bundler
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
67
  - - ~>
60
68
  - !ruby/object:Gem::Version
@@ -62,6 +70,7 @@ dependencies:
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
75
  - - ~>
67
76
  - !ruby/object:Gem::Version
@@ -69,6 +78,7 @@ dependencies:
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: rake
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
83
  - - ! '>='
74
84
  - !ruby/object:Gem::Version
@@ -76,6 +86,7 @@ dependencies:
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
91
  - - ! '>='
81
92
  - !ruby/object:Gem::Version
@@ -83,6 +94,7 @@ dependencies:
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: rspec
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
99
  - - ! '>='
88
100
  - !ruby/object:Gem::Version
@@ -90,6 +102,7 @@ dependencies:
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
107
  - - ! '>='
95
108
  - !ruby/object:Gem::Version
@@ -118,25 +131,26 @@ files:
118
131
  homepage: https://github.com/mhahn/vagrant-librarian-puppet-plugin
119
132
  licenses:
120
133
  - MIT
121
- metadata: {}
122
134
  post_install_message:
123
135
  rdoc_options: []
124
136
  require_paths:
125
137
  - lib
126
138
  required_ruby_version: !ruby/object:Gem::Requirement
139
+ none: false
127
140
  requirements:
128
141
  - - ! '>='
129
142
  - !ruby/object:Gem::Version
130
143
  version: '0'
131
144
  required_rubygems_version: !ruby/object:Gem::Requirement
145
+ none: false
132
146
  requirements:
133
147
  - - ! '>='
134
148
  - !ruby/object:Gem::Version
135
149
  version: '0'
136
150
  requirements: []
137
151
  rubyforge_project:
138
- rubygems_version: 2.0.5
152
+ rubygems_version: 1.8.23
139
153
  signing_key:
140
- specification_version: 4
154
+ specification_version: 3
141
155
  summary: A Vagrant plugin to install Puppet modules using Librarian-Puppet.
142
156
  test_files: []
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YzIzMDc3MmQ5ZWZlYTExYjA0YjczZWVkMTY1NjEwNTBkMzk1NTVjNw==
5
- data.tar.gz: !binary |-
6
- ZDM5NjdmYzYwMDQxZjBmMDJhMWZhYTYyMjYzYzViOGZlYTcwZGYyZQ==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- Y2QzZWVmMWVhZmNkNGEyMjZhZmEzNDM1MTEyMTMxYTIwODE0OTQ3MzcxMWEy
10
- YzI4M2RhZjk5MjY0NmQ3NGNlNWE3YjA0MWQ4ZWI0NjNkZjg0ZDFlYzQ2NWIw
11
- NmYwNTg2ODMyZTZhOTdiNmQzYTZkYTA4M2FmZmI2NDVkNTdkZjE=
12
- data.tar.gz: !binary |-
13
- MzUxODZhYjE3MDJiMGVkMTYwZjI5Y2RhYzJmNjM2MDU2OTJmZjg0MjE1NGNk
14
- NGE1NzA1YTJjMmVmNTVkNDgzMTAzZjEwM2Y4ZmUwZTg3YTUxYTVmMzRiNTI2
15
- NjY5MzNlNTE0NTI0MmEwYjc2YTVhNGNlOGEyMzA4YmQxNTAwNWQ=