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: f9bad216eb549f706c4703ddce8629bf2bd37630
4
- data.tar.gz: cde6e442ca52860d4b2ca09db2f50a62d25517dc
3
+ metadata.gz: 7195925caa51aeb43ae96872e35731ef7bcabd18
4
+ data.tar.gz: a336fdaeda940738d7d23bcbc132d07cecbbd9c5
5
5
  SHA512:
6
- metadata.gz: f849a15385437ad9e59b00f21dbf9fce34413eb04b38f29567696e048b3a07e18c81757bfba4fe5e5acb9061b865802c107f32d9b70f96a4cac2c5078392afde
7
- data.tar.gz: 3766e2e26edb30b200257f00941cff9f72d7e19a64161a546db69d0bc37733a08f6e9153f0928377a4ffad767c2552379f6fc874483bea1ca9cf145c46688061
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
- target_directory = clone_service_repo(service, config)
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)
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Soa
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
data/manifests/init.pp CHANGED
@@ -1,6 +1,7 @@
1
1
  class dev {
2
2
  notify { 'Development provision!':}
3
3
  include example_service
4
+ include local_service
4
5
  }
5
6
 
6
7
  include dev
Binary file
@@ -0,0 +1,3 @@
1
+ class local_service {
2
+ notify { 'provisioning local service':}
3
+ }
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.0
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-04-04 00:00:00.000000000 Z
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: