vagrant-service-manager 0.0.5 → 1.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f1e9902aaff50390eff0bbf5bef7964ccc07a4a
4
- data.tar.gz: 297496405f7ad27b5fbdf2fbc4565f80e7d3b162
3
+ metadata.gz: ca4fffe47264ba2b029362806a88f8495c947d70
4
+ data.tar.gz: e5b0d7ac1bdaf82879b1f238860f7a38d6b01808
5
5
  SHA512:
6
- metadata.gz: 084b2c651cb6486fe25a3c4dd08d6d41c9042870d4ea53e2afa8afaa7784b66fdb9912dfd4528478103961d6fd157a8add918da66fa245fcccc511dbca1eebc0
7
- data.tar.gz: 71766c71c6a027d78408cd83c289fb453110ed9956d946a1ccbed1367dd7fe6cd9e8d9328476be0755bc3cb0746d91b2a7a38217e605fa7cd1baae5b278d6873
6
+ metadata.gz: c2576875e9f19647ed220bad985427a74e195954b6e0f1ee551bdd19f212774c2e7cd64c8005b93af3722bd3739474c2f56a4ef32d938c0e5ab96b006198a2e3
7
+ data.tar.gz: c7c57eeb19ca720a7ffe38bd7bb29e04b7dee290cded645aabb1c61efa1669e36d493d7c8d80de55db07f11e81dbbb38fca58d2279b6cafd2b21fe2c5961c7db
data/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ CHANGELOG.md merge=union
data/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## v1.0.0 Apr 07, 2016
6
+ - Fix #132: vagrant-service-manager 1.0.0 release @navidshaikh
7
+ - Fix #133: Adds restart command for services @navidshaikh
8
+ - Fix #152: Makes plugin backward compatible with docker 1.8.2 for docker version API @navidshaikh
9
+ - Fix #150: Adds .gitattributes to fix the CHANGELOG.md merge conflicts @bexelbie
10
+ - Fix #142: Removes # before human readable output of openshift env info @navidshaikh
11
+ - Fix #75 and #141: Improves `vagrant service-manager env` output @navidshaikh
12
+ - Fix#146: Updates docker 1.9.1 API call for `docker version` @navidshaikh
13
+ - Updating CONTRIBUTING with note about entry loc @bexelbie
14
+ - Update IP detection routine and fix for libvirt @bexelbie
15
+ - Fix #50: Add --help @budhrg
16
+ - Fix #89: Improve help output for service-manager -h @budhrg
17
+ - Vagrant way of showing information using 'locale' @budhrg
18
+ - cygwin eval hint now removes colors and env uses export @bexelbie
19
+ - Fix #131: Fixes starting OpenShift service by default for CDK box @navidshaikh
20
+
5
21
  ## v0.0.5 Mar 29, 2016
6
22
  - Fix #127: vagrant-service-manager 0.0.5 release @navidshaikh
7
23
  - Fixes a logical issue in the method invocation @navidshaikh
data/CONTRIBUTING.md CHANGED
@@ -19,7 +19,8 @@ mailing list they will be added to this document.
19
19
  * All changes must include appropriate documentation updates.
20
20
 
21
21
  * All changes must include an entry in the `CHANGELOG.md` in the
22
- *unreleased* section describing the change
22
+ *unreleased* section describing the change. Your new entry should be
23
+ the first entry after *unreleased.*
23
24
 
24
25
  * All changes need at least 2 ACKs from maintainers before they will be merged. If
25
26
  the author of the PR is a maintainer, their submission is considered
data/README.md CHANGED
@@ -77,6 +77,12 @@ Exit Code Number | Meaning
77
77
  3 | Vagrant box is not running and must be before this command can succeed
78
78
  126 | A service inside the box is not running / Command invoked cannot execute
79
79
 
80
+ ## IP Address Detection
81
+
82
+ There is no standarized way of detection Vagrant box IP addresses.
83
+ This code uses the last IPv4 address available from the set of configured
84
+ addresses that are *up*. i.e. if eth0, eth1, and eth2 are all up and
85
+ have IPv4 addresses, the address on eth2 is used.
80
86
 
81
87
  ## Get Involved/Contact Us
82
88
 
data/Vagrantfile CHANGED
@@ -13,6 +13,9 @@ Vagrant.configure(2) do |config|
13
13
 
14
14
  config.vm.box = "projectatomic/adb"
15
15
 
16
+ #config.vm.network "private_network", ip: "192.168.33.10"
17
+ #config.vm.network "private_network", type: "dhcp"
18
+
16
19
  # This is the default setup
17
20
  # config.servicemanager.services = 'docker'
18
21
 
@@ -4,24 +4,21 @@ require 'digest'
4
4
  module Vagrant
5
5
  module ServiceManager
6
6
  DOCKER_PATH = '/home/vagrant/.docker'
7
+ SUPPORTED_SERVICES = ['docker', 'openshift', 'kubernetes']
8
+ SCCLI_SERVICES = ["openshift", "k8s"]
7
9
 
8
10
  class Command < Vagrant.plugin(2, :command)
9
11
  OS_RELEASE_FILE = '/etc/os-release'
10
12
 
11
13
  def self.synopsis
12
- 'provides the IP address:port and tls certificate file location for a docker daemon'
14
+ I18n.t('servicemanager.synopsis')
13
15
  end
14
16
 
15
17
  def exit_if_machine_not_running
16
18
  # Exit from plugin with status 3 if machine is not running
17
19
  with_target_vms(nil, {:single_target=>true}) do |machine|
18
20
  if machine.state.id != :running then
19
- message = <<-eos
20
- The virtual machine must be running before you execute this command.
21
- Try this in the directory with your Vagrantfile:
22
- vagrant up
23
- eos
24
- @env.ui.error(message)
21
+ @env.ui.error I18n.t('servicemanager.machine_should_running')
25
22
  exit 3
26
23
  end
27
24
  end
@@ -29,81 +26,79 @@ module Vagrant
29
26
 
30
27
  def execute
31
28
  command, subcommand, option = ARGV[1..ARGV.length]
29
+
32
30
  case command
33
- when "env"
34
- self.exit_if_machine_not_running
31
+ when 'env'
32
+ exit_if_machine_not_running
35
33
  case subcommand
36
- when "docker"
34
+ when 'docker'
37
35
  case option
38
36
  when nil
39
- self.execute_docker_info
37
+ execute_docker_info
38
+ when '--help', '-h'
39
+ print_help(type: command)
40
40
  else
41
- self.print_help
41
+ print_help(type: command, exit_status: 1)
42
42
  end
43
- when "openshift"
43
+ when 'openshift'
44
44
  case option
45
45
  when nil
46
- self.execute_openshift_info
47
- when "--script-readable"
48
- self.execute_openshift_info(true)
46
+ execute_openshift_info
47
+ when '--script-readable'
48
+ execute_openshift_info(true)
49
+ when '--help', '-h'
50
+ print_help(type: command)
49
51
  else
50
- self.print_help
52
+ print_help(type: command, exit_status: 1)
51
53
  end
52
54
  when nil
53
55
  # display information about all the providers inside ADB/CDK
54
- self.print_all_provider_info
56
+ print_all_provider_info
57
+ when '--help', '-h'
58
+ print_help(type: command)
55
59
  else
56
- self.print_help(1)
60
+ print_help(type: command, exit_status: 1)
57
61
  end
58
- when "box"
59
- self.exit_if_machine_not_running
62
+ when 'box'
63
+ exit_if_machine_not_running
60
64
  case subcommand
61
- when "version"
65
+ when 'version'
62
66
  case option
63
67
  when nil
64
- self.print_vagrant_box_version
65
- when "--script-readable"
66
- self.print_vagrant_box_version(true)
68
+ print_vagrant_box_version
69
+ when '--script-readable'
70
+ print_vagrant_box_version(true)
67
71
  else
68
- self.print_help(1)
72
+ print_help(type: command, exit_status: 1)
69
73
  end
74
+ when '--help', '-h'
75
+ print_help(type: command)
70
76
  else
71
- self.print_help
77
+ print_help(type: command, exit_status: 1)
78
+ end
79
+ when '--help', '-h'
80
+ print_help
81
+ when "restart"
82
+ self.exit_if_machine_not_running
83
+ case subcommand
84
+ when '--help', '-h'
85
+ print_help(type: command)
86
+ else
87
+ restart_service(subcommand)
72
88
  end
73
89
  when "help"
74
90
  self.print_help
75
91
  else
76
- self.print_help(1)
92
+ print_help(exit_status: 1)
77
93
  end
78
94
  end
79
95
 
80
- def print_help(exit_status=0)
81
- help_text = <<-help
82
- Service manager for services inside vagrant box.
83
-
84
- vagrant service-manager <verb> <object> [options]
85
-
86
- Verb:
87
- env
88
- Display connection information for providers in the box.
89
- Example:
90
- Display information for all active providers in the box:
91
- $vagrant service-manager env
92
- Display information for docker provider in the box:
93
- $vagrant service-manager env docker
94
- Display information for openshift provider in the box:
95
- $vagrant service-manager env openshift
96
- Display information for openshift provider in script readable format:
97
- $vagrant service-manager env openshift --script-readable
98
-
99
- box
100
- object
101
- version : Display version and release of the running vagrant box (from /etc/os-release)
102
- option
103
- --script-readable : Display the version and release in script readable (key=value) form
104
- help
105
- @env.ui.info(help_text)
106
- exit exit_status
96
+ def print_help(config = {})
97
+ config[:type] ||= 'default'
98
+ config[:exit_status] ||= 0
99
+
100
+ @env.ui.info(I18n.t("servicemanager.commands.help.#{config[:type]}"))
101
+ exit config[:exit_status]
107
102
  end
108
103
 
109
104
  def check_if_a_service_is_running?(service)
@@ -114,12 +109,23 @@ Verb:
114
109
  end
115
110
 
116
111
  def print_all_provider_info
117
- message = <<-msg
118
- # Showing the status of providers in the vagrant box:
119
- msg
120
- @env.ui.info(message)
121
- self.execute_docker_info
122
- self.execute_openshift_info
112
+ @env.ui.info I18n.t('servicemanager.commands.env.nil')
113
+
114
+ running_services = []
115
+ SUPPORTED_SERVICES.each do |service|
116
+ status = if check_if_a_service_is_running?(service)
117
+ running_services << service
118
+ I18n.t('servicemanager.commands.env.status.running')
119
+ else
120
+ I18n.t('servicemanager.commands.env.status.stopped')
121
+ end
122
+ @env.ui.info("#{service} - #{status}")
123
+ end
124
+
125
+ running_services.each do |e|
126
+ @env.ui.info("\n#{e} env:")
127
+ public_send("execute_#{e}_info")
128
+ end
123
129
  end
124
130
 
125
131
  def execute_openshift_info(script_readable = false)
@@ -134,39 +140,28 @@ Verb:
134
140
  openshift_console_url,
135
141
  script_readable)
136
142
  else
137
- @env.ui.error("# OpenShift service is not running in the vagrant box.")
143
+ @env.ui.error I18n.t('servicemanager.commands.env.service_not_running',
144
+ name: 'OpenShift')
138
145
  exit 126
139
146
  end
140
147
  end
141
148
 
142
- def print_openshift_info(openshift_url, openshift_console_url, script_readable = false)
143
- if !script_readable
144
- message =
145
- <<-eos
146
- # You can access the OpenShift console on: #{openshift_console_url}
147
- # To use OpenShift CLI, run: oc login #{openshift_url}
148
- eos
149
+ def print_openshift_info(url, console_url, script_readable = false)
150
+ if script_readable
151
+ message = I18n.t('servicemanager.commands.env.openshift.script_readable',
152
+ openshift_url: url, openshift_console_url: console_url)
149
153
  else
150
- message =
151
- <<-eos
152
- OPENSHIFT_URL=#{openshift_url}
153
- OPENSHIFT_WEB_CONSOLE=#{openshift_console_url}
154
- eos
154
+ message = I18n.t('servicemanager.commands.env.openshift.default',
155
+ openshift_url: url, openshift_console_url: console_url)
155
156
  end
157
+
156
158
  @env.ui.info(message)
157
159
  end
158
160
 
159
161
  def find_machine_ip
160
162
  with_target_vms(nil, {:single_target=>true}) do |machine|
161
163
  # Find the guest IP
162
- if machine.provider_name == :virtualbox then
163
- # VirtualBox automatically provisions an eth0 interface that is a NAT interface
164
- # We need a routeable IP address, which will therefore be found on eth1
165
- command = "ip addr show eth1 | awk 'NR==3 {print $2}' | cut -f1 -d\/"
166
- else
167
- # For all other provisions, find the default route
168
- command = "ip route get 8.8.8.8 | awk 'NR==1 {print $NF}'"
169
- end
164
+ command = "ip -o -4 addr show up |egrep -v ': docker|: lo' |tail -1 | awk '{print $4}' |cut -f1 -d\/"
170
165
  guest_ip = ""
171
166
  machine.communicate.execute(command) do |type, data|
172
167
  guest_ip << data.chomp if type == :stdout
@@ -207,9 +202,14 @@ OPENSHIFT_WEB_CONSOLE=#{openshift_console_url}
207
202
  end
208
203
 
209
204
  api_version = ""
210
- docker_apiversion = "docker version --format '{{.Server.ApiVersion}}'"
211
- machine.communicate.execute(docker_apiversion) do |type, data|
212
- api_version << data.chomp if type == :stdout
205
+ docker_api_version = "docker version --format '{{.Server.APIVersion}}'"
206
+ unless machine.communicate.test(docker_api_version)
207
+ # fix for issue #152: Fallback to older Docker version (< 1.9.1)
208
+ docker_api_version.gsub!(/APIVersion/, 'ApiVersion')
209
+ end
210
+
211
+ machine.communicate.execute(docker_api_version) do |type, data|
212
+ api_version << data.chomp if type ==:stdout
213
213
  end
214
214
 
215
215
  # display the information, irrespective of the copy operation
@@ -221,31 +221,23 @@ OPENSHIFT_WEB_CONSOLE=#{openshift_console_url}
221
221
  # Print configuration information for accesing the docker daemon
222
222
 
223
223
  if !OS.windows? then
224
- message =
225
- <<-eos
226
- # Set the following environment variables to enable access to the
227
- # docker daemon running inside of the vagrant virtual machine:
228
- export DOCKER_HOST=tcp://#{guest_ip}:#{port}
229
- export DOCKER_CERT_PATH=#{secrets_path}
230
- export DOCKER_TLS_VERIFY=1
231
- export DOCKER_API_VERSION=#{api_version}
232
- # run following command to configure your shell:
233
- # eval "$(vagrant service-manager env docker)"
234
-
235
- eos
224
+ message = I18n.t('servicemanager.commands.env.docker.non_windows',
225
+ ip: guest_ip, port: port, path: secrets_path,
226
+ api_version: api_version)
227
+ @env.ui.info(message)
228
+ elsif OS.windows_cygwin? then
229
+ # replace / with \ for path in Cygwin Windows - which uses export
230
+ secrets_path = secrets_path.split('/').join('\\') + '\\'
231
+ message = I18n.t('servicemanager.commands.env.docker.windows_cygwin',
232
+ ip: guest_ip, port: port, path: secrets_path,
233
+ api_version: api_version)
236
234
  @env.ui.info(message)
237
235
  else
238
236
  # replace / with \ for path in Windows
239
237
  secrets_path = secrets_path.split('/').join('\\') + '\\'
240
- message =
241
- <<-eos
242
- # Set the following environment variables to enable access to the
243
- # docker daemon running inside of the vagrant virtual machine:
244
- setx DOCKER_HOST tcp://#{guest_ip}:#{port}
245
- setx DOCKER_CERT_PATH #{secrets_path}
246
- setx DOCKER_TLS_VERIFY 1
247
- setx DOCKER_API_VERSION=#{api_version}
248
- eos
238
+ message = I18n.t('servicemanager.commands.env.docker.windows',
239
+ ip: guest_ip, port: port, path: secrets_path,
240
+ api_version: api_version)
249
241
  # puts is used here to escape and render the back slashes in Windows path
250
242
  @env.ui.info(puts(message))
251
243
  end
@@ -272,6 +264,26 @@ setx DOCKER_API_VERSION=#{api_version}
272
264
  end
273
265
  end
274
266
  end
267
+
268
+ def restart_service(service)
269
+
270
+ if SCCLI_SERVICES.include? service
271
+ # TODO : Handle the case where user wants to pass extra arguments to OpenShift service
272
+ command = "sudo sccli #{service}"
273
+ else
274
+ command = "sudo systemctl restart #{service}"
275
+ end
276
+
277
+ with_target_vms(nil, { single_target: true}) do |machine|
278
+ machine.communicate.execute(command) do |type, error|
279
+ if type == :stderr
280
+ @env.ui.error(error)
281
+ exit 126
282
+ end
283
+ end
284
+ end
285
+ end
286
+
275
287
  end
276
288
  end
277
289
  end
@@ -12,7 +12,7 @@ module Vagrant
12
12
  attr_accessor(*CONFIG_KEYS)
13
13
 
14
14
  DEFAULTS = {
15
- services: 'docker'
15
+ services: ''
16
16
  }
17
17
 
18
18
  def initialize
@@ -40,7 +40,8 @@ module Vagrant
40
40
  errors = []
41
41
 
42
42
  unless is_supported_services?
43
- errors << "services should be subset of #{SERVICES.inspect}.}"
43
+ errors << I18n.t('servicemanager.config.supported_devices',
44
+ services: SERVICES.inspect)
44
45
  end
45
46
 
46
47
  errors
@@ -5,7 +5,7 @@ module OS
5
5
  end
6
6
 
7
7
  def self.windows_cygwin?
8
- (/cygwin/ =~ RUBY_PLATFORM) != nil
8
+ (/cygwin/ =~ ENV["VAGRANT_DETECTED_OS"]) != nil
9
9
  end
10
10
 
11
11
  def self.mac?
@@ -19,13 +19,13 @@ module Vagrant
19
19
  @app.call(env)
20
20
 
21
21
  if SUPPORTED_BOXES.include? @machine.guest.capability(:os_variant)
22
+ # docker service needs to be started by default for ADB and CDK box
22
23
  @docker_hook.execute
23
24
 
24
- if @machine.guest.capability(:os_variant) == "cdk" and @services.length == 0
25
+ if @machine.guest.capability(:os_variant) == "cdk" && @services.length == 0
25
26
  # openshift to be started by default for CDK
26
27
  @openshift_hook.execute
27
- end
28
- if @services.include? "openshift"
28
+ elsif @services.include? "openshift"
29
29
  # Start OpenShift service if it is configured in Vagrantfile
30
30
  @openshift_hook.execute
31
31
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module ServiceManager
3
- VERSION = "0.0.5"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
@@ -17,5 +17,7 @@ module Vagrant
17
17
 
18
18
  # Temporally load the extra capabilities files for Red Hat
19
19
  load(File.join(source_root, 'plugins/guests/redhat/plugin.rb'))
20
+ # Default I18n to load the en locale
21
+ I18n.load_path << File.expand_path("locales/en.yml", source_root)
20
22
  end
21
23
  end
data/locales/en.yml ADDED
@@ -0,0 +1,111 @@
1
+ en:
2
+ servicemanager:
3
+ synopsis: |-
4
+ provides the IP address:port and tls certificate file location for a docker daemon
5
+ machine_should_running: |-
6
+ The virtual machine must be running before you execute this command.
7
+ Try this in the directory with your Vagrantfile:
8
+ vagrant up
9
+
10
+ #-------------------------------------------------------------------------------
11
+ # Translations for config validation errors
12
+ #-------------------------------------------------------------------------------
13
+ config:
14
+ supported_devices: |-
15
+ services should be subset of %{services}.
16
+ #-------------------------------------------------------------------------------
17
+ # Translations for commands. e.g. `vagrant x`
18
+ #-------------------------------------------------------------------------------
19
+ commands:
20
+ help:
21
+ default: |-
22
+ Usage: vagrant service-manager <command> [options]
23
+
24
+ Commands:
25
+ env displays connection information for services in the box
26
+ box displays version and release information for the box
27
+ restart restarts the given systemd service in the box
28
+
29
+ Options:
30
+ -h, --help print this help
31
+
32
+ For help on any individual command run `vagrant service-manager COMMAND -h`
33
+ env: |-
34
+ Usage: vagrant service-manager env [object] [options]
35
+
36
+ Objects:
37
+ docker display information and environment variables for docker
38
+ openshift display information and environment variables for openshift
39
+
40
+ If OBJECT is ommitted, display the status of all services and information
41
+ for all active services
42
+
43
+ Options:
44
+ --script-readable display information in a script readable format.
45
+ Only supported by the openshift object.
46
+ -h, --help print this help
47
+ box: |-
48
+ Usage: vagrant service-manager box <sub-command> [options]
49
+
50
+ Sub-Command:
51
+ version display version and release information about the running VM
52
+
53
+ Options:
54
+ --script-readable display information in a script readable format
55
+ -h, --help print this help
56
+
57
+ restart: |-
58
+ Restarts the service
59
+
60
+ Usage: vagrant service-manager restart <object> [options]
61
+
62
+ Object:
63
+ Object is a service provided via sccli or systemd. For example: docker, k8s, or openshift etc.
64
+
65
+ Options:
66
+ -h, --help print this help
67
+
68
+ Examples:
69
+ vagrant service-manager restart docker
70
+
71
+ env:
72
+ docker:
73
+ windows: |-
74
+ # Set the following environment variables to enable access to the
75
+ # docker daemon running inside of the vagrant virtual machine:
76
+ setx DOCKER_HOST tcp://%{ip}:%{port}
77
+ setx DOCKER_CERT_PATH %{path}
78
+ setx DOCKER_TLS_VERIFY 1
79
+ setx DOCKER_API_VERSION=#{api_version}
80
+ non_windows: |-
81
+ # Set the following environment variables to enable access to the
82
+ # docker daemon running inside of the vagrant virtual machine:
83
+ export DOCKER_HOST=tcp://%{ip}:%{port}
84
+ export DOCKER_CERT_PATH=%{path}
85
+ export DOCKER_TLS_VERIFY=1
86
+ export DOCKER_API_VERSION=%{api_version}
87
+ # run following command to configure your shell:
88
+ # eval "$(vagrant service-manager env docker)"
89
+ windows_cygwin: |-
90
+ # Set the following environment variables to enable access to the
91
+ # docker daemon running inside of the vagrant virtual machine:
92
+ export DOCKER_HOST=tcp://%{ip}:%{port}
93
+ export DOCKER_CERT_PATH='%{path}'
94
+ export DOCKER_TLS_VERIFY=1
95
+ export DOCKER_API_VERSION=%{api_version}
96
+ # run following command to configure your shell:
97
+ # eval "$(VAGRANT_NO_COLOR=1 vagrant service-manager env docker | tr -d '\r')"
98
+ openshift:
99
+ default: |-
100
+ You can access the OpenShift console on: %{openshift_console_url}
101
+ To use OpenShift CLI, run: oc login %{openshift_url}
102
+ script_readable: |-
103
+ OPENSHIFT_URL=%{openshift_url}
104
+ OPENSHIFT_WEB_CONSOLE=%{openshift_console_url}
105
+ service_not_running: |-
106
+ # %{name} service is not running in the vagrant box.
107
+ nil: |-
108
+ Configured services:
109
+ status:
110
+ running: running
111
+ stopped: stopped
@@ -2,7 +2,7 @@
2
2
  %global vagrant_plugin_name vagrant-service-manager
3
3
 
4
4
  Name: %{vagrant_plugin_name}
5
- Version: 0.0.5
5
+ Version: 1.0.0
6
6
  Release: 1%{?dist}
7
7
  Summary: To provide the user a CLI to configure the ADB/CDK for different use cases and to provide glue between ADB/CDK and the user's developer environment.
8
8
  Group: Development/Languages
@@ -70,6 +70,7 @@ popd
70
70
  %exclude %{vagrant_plugin_cache}
71
71
  %{vagrant_plugin_spec}
72
72
  %{vagrant_plugin_instdir}/plugins/guests/
73
+ %{vagrant_plugin_instdir}/locales/
73
74
 
74
75
  %files doc
75
76
  %doc %{vagrant_plugin_docdir}
@@ -84,8 +85,26 @@ popd
84
85
  %{vagrant_plugin_instdir}/vagrant-service-manager.spec
85
86
  %{vagrant_plugin_instdir}/CHANGELOG.md
86
87
  %{vagrant_plugin_instdir}/TODO
88
+ %{vagrant_plugin_instdir}/.gitattributes
87
89
 
88
90
  %changelog
91
+ * Tue Mar 29 2016 Navid Shaikh - 1.0.0-1
92
+ - Bumps the plugin version to 1.0.0
93
+ - Fix #132: vagrant-service-manager 1.0.0 release @navidshaikh
94
+ - Fix #133: Adds restart command for services @navidshaikh
95
+ - Fix #152: Makes plugin backward compatible with docker 1.8.2 for docker version API @navidshaikh
96
+ - Fix #150: Adds .gitattributes to fix the CHANGELOG.md merge conflicts @bexelbie
97
+ - Fix #142: Removes # before human readable output of openshift env info @navidshaikh
98
+ - Fix #75 and #141: Improves `vagrant service-manager env` output @navidshaikh
99
+ - Fix#146: Updates docker 1.9.1 API call for `docker version` @navidshaikh
100
+ - Updating CONTRIBUTING with note about entry loc @bexelbie
101
+ - Update IP detection routine and fix for libvirt @bexelbie
102
+ - Fix #50: Add --help @budhrg
103
+ - Fix #89: Improve help output for service-manager -h @budhrg
104
+ - Vagrant way of showing information using 'locale' @budhrg
105
+ - cygwin eval hint now removes colors and env uses export @bexelbie
106
+ - Fix #131: Fixes starting OpenShift service by default for CDK box @navidshaikh
107
+
89
108
  * Tue Mar 29 2016 Navid Shaikh - 0.0.5-1
90
109
  - Fix #127: vagrant-service-manager 0.0.5 release @navidshaikh
91
110
  - Fix #122: Certs copied at the time of generation @budhrg
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-service-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Exelbierd
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-03-29 00:00:00.000000000 Z
12
+ date: 2016-04-07 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Provides setup information, including environment variables and certificates,
15
15
  required to access services provided by ADB/CDK.
@@ -20,6 +20,7 @@ executables: []
20
20
  extensions: []
21
21
  extra_rdoc_files: []
22
22
  files:
23
+ - ".gitattributes"
23
24
  - ".gitignore"
24
25
  - CHANGELOG.md
25
26
  - CONTRIBUTING.md
@@ -41,6 +42,7 @@ files:
41
42
  - lib/vagrant-service-manager/services/docker.rb
42
43
  - lib/vagrant-service-manager/services/open_shift.rb
43
44
  - lib/vagrant-service-manager/version.rb
45
+ - locales/en.yml
44
46
  - plugins/guests/redhat/cap/osvariant.rb
45
47
  - plugins/guests/redhat/cap/sha_id.rb
46
48
  - plugins/guests/redhat/plugin.rb