vagrant-config_builder 0.12.0 → 0.13.0

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.
data/CHANGELOG CHANGED
@@ -1,6 +1,17 @@
1
1
  CHANGELOG
2
2
  =========
3
3
 
4
+ 0.13.0
5
+ ------
6
+
7
+ 2015-01-20
8
+
9
+ This is a backwards feature and bugfix release.
10
+
11
+ * (GH-31) Support for Azure provider.
12
+
13
+ * (GH-34) Properly load file provisioner
14
+
4
15
  0.12.0
5
16
  ------
6
17
 
@@ -0,0 +1,66 @@
1
+ # @see https://github.com/MSOpenTech/vagrant-azure
2
+ class ConfigBuilder::Model::Provider::Azure < ConfigBuilder::Model::Base
3
+
4
+ def_model_attribute :mgmt_certificate
5
+ def_model_attribute :mgmt_endpoint
6
+ def_model_attribute :subscription_id
7
+ def_model_attribute :storage_acct_name
8
+ def_model_attribute :storage_access_key
9
+
10
+ def_model_attribute :vm_name
11
+ def_model_attribute :vm_user
12
+ def_model_attribute :vm_password
13
+ def_model_attribute :vm_image
14
+ def_model_attribute :vm_location
15
+ def_model_attribute :vm_affinity_group
16
+
17
+ def_model_attribute :cloud_service_name
18
+ def_model_attribute :deployment_name
19
+ def_model_attribute :tcp_endpoints
20
+ def_model_attribute :ssh_private_key_file
21
+ def_model_attribute :ssh_certificate_file
22
+ def_model_attribute :ssh_port
23
+ def_model_attribute :vm_size
24
+ def_model_attribute :winrm_transport
25
+ def_model_attribute :winrm_http_port
26
+ def_model_attribute :winrm_https_port
27
+ def_model_attribute :availability_set_name
28
+
29
+ def_model_attribute :state_read_timeout
30
+
31
+ def initialize
32
+ @defaults = {}
33
+ end
34
+
35
+ def to_proc
36
+ Proc.new do |vm_config|
37
+ vm_config.provider 'azure' do |config|
38
+ with_attr(:mgmt_certificate) { |val| config.mgmt_certificate = val }
39
+ with_attr(:mgmt_endpoint) { |val| config.mgmt_endpoint = val }
40
+ with_attr(:subscription_id) { |val| config.subscription_id = val }
41
+ with_attr(:storage_acct_name) { |val| config.storage_acct_name = val }
42
+ with_attr(:storage_access_key) { |val| config.storage_access_key = val }
43
+ with_attr(:vm_name) { |val| config.vm_name = val }
44
+ with_attr(:vm_user) { |val| config.vm_user = val }
45
+ with_attr(:vm_password) { |val| config.vm_password = val }
46
+ with_attr(:vm_image) { |val| config.vm_image = val }
47
+ with_attr(:vm_location) { |val| config.vm_location = val }
48
+ with_attr(:vm_affinity_group) { |val| config.vm_affinity_group = val }
49
+ with_attr(:cloud_service_name) { |val| config.cloud_service_name = val }
50
+ with_attr(:deployment_name) { |val| config.deployment_name = val }
51
+ with_attr(:tcp_endpoints) { |val| config.tcp_endpoints = val }
52
+ with_attr(:ssh_private_key_file) { |val| config.ssh_private_key_file = val }
53
+ with_attr(:ssh_certificate_file) { |val| config.ssh_certificate_file = val }
54
+ with_attr(:ssh_port) { |val| config.ssh_port = val }
55
+ with_attr(:vm_size) { |val| config.vm_size = val }
56
+ with_attr(:winrm_transport) { |val| config.winrm_transport = val }
57
+ with_attr(:winrm_http_port) { |val| config.winrm_http_port = val }
58
+ with_attr(:winrm_https_port) { |val| config.winrm_https_port = val }
59
+ with_attr(:availability_set_name) { |val| config.availability_set_name = val }
60
+ with_attr(:state_read_timeout) { |val| config.state_read_timeout = val }
61
+ end
62
+ end
63
+ end
64
+
65
+ ConfigBuilder::Model::Provider.register('azure', self)
66
+ end
@@ -44,6 +44,7 @@ module ConfigBuilder
44
44
  require 'config_builder/model/provider/vmware_workstation'
45
45
  require 'config_builder/model/provider/libvirt'
46
46
  require 'config_builder/model/provider/vsphere'
47
+ require 'config_builder/model/provider/azure'
47
48
  end
48
49
 
49
50
  module Provisioner
@@ -58,6 +59,7 @@ module ConfigBuilder
58
59
  @registry.register(name, klass)
59
60
  end
60
61
 
62
+ require 'config_builder/model/provisioner/file'
61
63
  require 'config_builder/model/provisioner/shell'
62
64
  require 'config_builder/model/provisioner/puppet'
63
65
  require 'config_builder/model/provisioner/puppet_server'
@@ -1,3 +1,3 @@
1
1
  module ConfigBuilder
2
- VERSION = '0.12.0'
2
+ VERSION = '0.13.0'
3
3
  end
metadata CHANGED
@@ -1,18 +1,20 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-config_builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Adrien Thebo
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-10-08 00:00:00.000000000 Z
12
+ date: 2015-01-20 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: deep_merge
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: rspec
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: :development
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
@@ -69,6 +74,7 @@ files:
69
74
  - lib/config_builder/model/base.rb
70
75
  - lib/config_builder/model/network/forwarded_port.rb
71
76
  - lib/config_builder/model/network/private_network.rb
77
+ - lib/config_builder/model/provider/azure.rb
72
78
  - lib/config_builder/model/provider/libvirt.rb
73
79
  - lib/config_builder/model/provider/virtualbox.rb
74
80
  - lib/config_builder/model/provider/vmware.rb
@@ -99,26 +105,27 @@ files:
99
105
  homepage: https://github.com/adrienthebo/vagrant-config_builder
100
106
  licenses:
101
107
  - Apache 2.0
102
- metadata: {}
103
108
  post_install_message:
104
109
  rdoc_options: []
105
110
  require_paths:
106
111
  - lib
107
112
  required_ruby_version: !ruby/object:Gem::Requirement
113
+ none: false
108
114
  requirements:
109
- - - '>='
115
+ - - ! '>='
110
116
  - !ruby/object:Gem::Version
111
117
  version: '0'
112
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
+ none: false
113
120
  requirements:
114
- - - '>='
121
+ - - ! '>='
115
122
  - !ruby/object:Gem::Version
116
123
  version: '0'
117
124
  requirements: []
118
125
  rubyforge_project:
119
- rubygems_version: 2.0.14
126
+ rubygems_version: 1.8.23.2
120
127
  signing_key:
121
- specification_version: 4
128
+ specification_version: 3
122
129
  summary: Generate Vagrant configurations from arbitrary data
123
130
  test_files: []
124
131
  has_rdoc: true
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: d978845f673cd4fd8fee29c4baa0976fba50b612
4
- data.tar.gz: 16164ce3af929e4005c44b8725e9da99528799be
5
- SHA512:
6
- metadata.gz: 47df11d730c5af000107adf333349a41aa35c53f35d9b02eacea19a5a768e031f11fc636f0f25563e47000231d94fbed2bac7b59083f4b8b8acd9c1f805aefa7
7
- data.tar.gz: ebb29afcc5e993b0ab1379f73c811bb86d82852caa2ae163ac49a2646cf9aa61a5d155e19a81be7636a538cd4106e52f522f6af495740174204f6cdbdee21bc2