vagrant-soa 0.3.0 → 0.3.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: 7195925caa51aeb43ae96872e35731ef7bcabd18
|
4
|
+
data.tar.gz: a336fdaeda940738d7d23bcbc132d07cecbbd9c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcbbd395cd37f8d75c783e1b8980a4bd447a910c8cc8b14d3a362e110d015c347dddab778e020f42bd2e70e95d47df9d3124699d6cabb138925e348a777e4992
|
7
|
+
data.tar.gz: 35529cfc7ac1adf32e6f137d13801f958b31aefc322086c32137ebd0a2199510302c4a44bb7ce3f2f387a695212095726db0d8bc3e32fd624ebbc29297d66b32
|
data/Vagrantfile
CHANGED
@@ -11,6 +11,9 @@ Vagrant.configure('2') do |config|
|
|
11
11
|
'puppet_path' => 'services/example_service/puppet',
|
12
12
|
'github_url' => 'git@github.com:eventbrite/vagrant-soa.git'
|
13
13
|
},
|
14
|
+
'local_service' => {
|
15
|
+
'local_path' => './services/local_service',
|
16
|
+
},
|
14
17
|
}
|
15
18
|
|
16
19
|
config.vm.provision 'puppet' do |puppet|
|
@@ -165,7 +165,11 @@ module VagrantPlugins
|
|
165
165
|
# To install a service we clone the service repo and add the puppet
|
166
166
|
# path to @puppet_module_registry.puppet_module_paths.
|
167
167
|
def install_service(service, config)
|
168
|
-
|
168
|
+
if config.has_key? 'local_path'
|
169
|
+
target_directory = File.expand_path config['local_path']
|
170
|
+
else
|
171
|
+
target_directory = clone_service_repo(service, config)
|
172
|
+
end
|
169
173
|
puppet_path = config.fetch('puppet_path', 'puppet')
|
170
174
|
full_path = File.join(target_directory, puppet_path)
|
171
175
|
register_service_home_fact(service, config)
|
data/lib/vagrant-soa/version.rb
CHANGED
data/manifests/init.pp
CHANGED
data/pkg/vagrant-soa-0.3.0.gem
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-soa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.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-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -64,6 +64,7 @@ files:
|
|
64
64
|
- pkg/vagrant-soa-0.2.1.gem
|
65
65
|
- pkg/vagrant-soa-0.3.0.gem
|
66
66
|
- services/example_service/puppet/example_service/manifests/init.pp
|
67
|
+
- services/local_service/puppet/local_service/manifests/init.pp
|
67
68
|
- vagrant-soa.gemspec
|
68
69
|
homepage: ''
|
69
70
|
licenses:
|