vagrant-service-manager 1.4.1 → 1.5.0

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: 5865b4ded5fb8b167fb6bad3617ced706128d9ad
4
- data.tar.gz: 50ee25f87f5008d4358fd8b530809c60688b535d
3
+ metadata.gz: 67b33f8cb75eaf6a041a69431520ca3df0a30580
4
+ data.tar.gz: 387aa826a1d9172407c21dd5997086f40feeae5c
5
5
  SHA512:
6
- metadata.gz: 7982fc202d71510528e996d352f5228ad422563447bc614c6f28936839390fd4df188d8f2df264d4b82155fe121a07cd575e00de76f5026a12ab03bb6b141b77
7
- data.tar.gz: e137145f206dc26bb95ec8a8aeadceb54aab1e1a16e2938db2521f8f94801b7aa3baf0e0e63fded8b1cc409a126a8024a21e66247bf5693c30c61c8ae5fa5663
6
+ metadata.gz: 1a66b2f3b78ef4d94b1d28e2eb54e6a9ac94ff027d5493661a476197e7cd541a40ce1229f3d6bca4dfa9ec5dbc2168bb0e552bd827edc2b689baedeacb33d3c7
7
+ data.tar.gz: 30913a431397314ad817e6b5e5f5d64071569b6acbb49858f6a6a993f40635d7c172a5539c74da6a4d2bf3e42e559427f04534b1a9bdaf2afa67be5f73ea1496
@@ -1,6 +1,14 @@
1
1
  = Revision History
2
2
  :toc:
3
3
 
4
+ [[v1.5.0-jan-24-2017]]
5
+ == 1.5.0 January 24, 2017
6
+ * Fix #446 Support folder as path in install-cli '--path' option @budhrg
7
+ * Fix #441 install-cli with --path give wrong export @budhrg
8
+ * Fix #449 Update ‘oc’ version getting installed via install-cli to 1.4.0 @budhrg
9
+ * Fix #443 Double quote is missing in the HTTP Proxy Settings doc @budhrg
10
+ * Fix adb-atomic-developer-bundle doc url on README @trishnaguha
11
+
4
12
  [[v1.4.1-nov-17-2016]]
5
13
  == 1.4.1 November 17, 2016
6
14
  * Fix #346 Adding a Rake task for Asciidoctor and enabling Guard and Live Reload @hferentschik
@@ -12,7 +12,7 @@ provided by the ADB and is a must have for most ADB users. +
12
12
  This plugin makes it easier to use the ADB with host-based tools such as
13
13
  Eclipse and the docker and kubernetes CLI commands. Details on how to
14
14
  use ADB with this plugin can be found in the
15
- https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/using.rst[ADB
15
+ https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/using.adoc[ADB
16
16
  Documentation].
17
17
 
18
18
  '''
@@ -36,7 +36,7 @@ $ vagrant plugin install vagrant-service-manager
36
36
  ------------------------------------------------
37
37
 
38
38
  NOTE: To resolve any issues with the plugin installation and for more information on how to install Vagrant on various systems, refer to the
39
- https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/installing.rst[ADB installation instructions].
39
+ https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/installing.adoc[ADB installation instructions].
40
40
 
41
41
  == Usage
42
42
 
@@ -58,7 +58,7 @@ https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/in
58
58
 
59
59
  1. Start the ADB vagrant box using `vagrant up`. For detailed
60
60
  instructions consult the
61
- https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/installing.rst[Installation
61
+ https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/docs/installing.adoc[Installation
62
62
  Documentation].
63
63
  +
64
64
  NOTE: When the vagrant-service-manager plugin is loaded and an ADB box is
@@ -159,9 +159,9 @@ services like Docker and OpenShift to function correctly. +
159
159
  You can do so via:
160
160
  +
161
161
  -----
162
- config.servicemanager.proxy = <Proxy URL>
163
- config.servicemanager.proxy_user = <Proxy user name>
164
- config.servicemanager.proxy_password = <Proxy user password>
162
+ config.servicemanager.proxy = "<Proxy URL>"
163
+ config.servicemanager.proxy_user = "<Proxy user name>"
164
+ config.servicemanager.proxy_password = "<Proxy user password>"
165
165
  -----
166
166
 
167
167
  When these settings are applied, they are passed through to the Docker and OpenShift services. In an unauthenticated proxy environment, the `proxy_user` and `proxy_password` configurations can be omitted.
@@ -173,7 +173,7 @@ The vagrant-service-manager helps you configure the service of your choice:
173
173
 
174
174
  . Enable the desired service(s) in the ADB Vagrantfile as:
175
175
  +
176
- `config.servicemanager.services = 'openshift'`
176
+ `config.servicemanager.services = "openshift"`
177
177
  +
178
178
  [NOTE]
179
179
  ====
@@ -242,14 +242,14 @@ As per default, binaries are downloaded to
242
242
  To install client binary for Docker:
243
243
 
244
244
  ----------------------------------------------------------------------------------------------------
245
- $ vagrant service-manager install-cli docker --cli-version 1.9.1 --path /home/johndoe/bin/docker
245
+ $ vagrant service-manager install-cli docker --cli-version 1.9.1 --path /home/johndoe/bin
246
246
  # Binary already available at /home/johndoe/bin/docker
247
247
  # run binary as:
248
248
  # docker <command>
249
249
  export PATH=/home/johndoe/bin:$PATH
250
250
 
251
251
  # run following command to configure your shell:
252
- # eval "$(VAGRANT_NO_COLOR=1 vagrant service-manager install-cli docker | tr -d '\r')"
252
+ # eval "$(VAGRANT_NO_COLOR=1 vagrant service-manager install-cli docker --path /home/johndoe/bin | tr -d '\r')"
253
253
  ----------------------------------------------------------------------------------------------------
254
254
 
255
255
 
@@ -65,10 +65,10 @@ Feature: Command output from various OpenShift related commands in ADB
65
65
  And the binary "oc" of service "openshift" should be installed with version "1.3.0"
66
66
  And stdout from "bundle exec vagrant service-manager install-cli openshift --cli-version 1.3.0" should be evaluable in a shell
67
67
 
68
- When I evaluate and run `bundle exec vagrant service-manager install-cli openshift --cli-version 1.3.0 --path #{ENV['VAGRANT_HOME']}/oc`
68
+ When I evaluate and run `bundle exec vagrant service-manager install-cli openshift --cli-version 1.3.0 --path #{ENV['VAGRANT_HOME']}`
69
69
  Then the exit status should be 0
70
70
  And the binary should be installed in path "#{ENV['VAGRANT_HOME']}/oc"
71
- And stdout after evaluating and running "bundle exec vagrant service-manager install-cli openshift --cli-version 1.3.0 --path #{ENV['VAGRANT_HOME']}/oc" should be evaluable in a shell
71
+ And stdout after evaluating and running "bundle exec vagrant service-manager install-cli openshift --cli-version 1.3.0 --path #{ENV['VAGRANT_HOME']}" should be evaluable in a shell
72
72
 
73
73
  When I successfully run `bundle exec vagrant reload`
74
74
  And I sleep for 10 seconds
@@ -32,7 +32,7 @@ Feature: Command output from various OpenShift related commands in CDK
32
32
  ==> default: Docker service configured successfully...
33
33
  ==> default: OpenShift service configured successfully...
34
34
  """
35
-
35
+
36
36
  And I successfully run `bundle exec vagrant service-manager status`
37
37
  Then stdout from "bundle exec vagrant service-manager status" should contain "openshift - running"
38
38
 
@@ -87,10 +87,10 @@ Feature: Command output from various OpenShift related commands in CDK
87
87
  And the binary "oc" of service "openshift" should be installed with version "1.3.0"
88
88
  And stdout from "bundle exec vagrant service-manager install-cli openshift --cli-version 1.3.0" should be evaluable in a shell
89
89
 
90
- When I evaluate and run `bundle exec vagrant service-manager install-cli openshift --path #{ENV['VAGRANT_HOME']}/oc`
90
+ When I evaluate and run `bundle exec vagrant service-manager install-cli openshift --path #{ENV['VAGRANT_HOME']}`
91
91
  Then the exit status should be 0
92
92
  And the binary should be installed in path "#{ENV['VAGRANT_HOME']}/oc"
93
- And stdout after evaluating and running "bundle exec vagrant service-manager install-cli openshift --path #{ENV['VAGRANT_HOME']}/oc" should be evaluable in a shell
93
+ And stdout after evaluating and running "bundle exec vagrant service-manager install-cli openshift --path #{ENV['VAGRANT_HOME']}" should be evaluable in a shell
94
94
 
95
95
  When I successfully run `bundle exec vagrant reload`
96
96
  And I successfully run `bundle exec vagrant service-manager status openshift`
@@ -172,18 +172,18 @@ Feature: Command output from box command
172
172
  And the binary "docker" of service "docker" should be installed with version "1.12.1"
173
173
  And the stderr should not contain anything
174
174
 
175
- When I evaluate and run `bundle exec vagrant service-manager install-cli docker --path #{ENV['VAGRANT_HOME']}/docker`
175
+ When I evaluate and run `bundle exec vagrant service-manager install-cli docker --path #{ENV['VAGRANT_HOME']}`
176
176
  Then the exit status should be 0
177
177
  And the binary should be installed in path "#{ENV['VAGRANT_HOME']}/docker"
178
178
  And the stderr should not contain anything
179
179
 
180
- When I evaluate and run `bundle exec vagrant service-manager install-cli docker --path #{ENV['VAGRANT_HOME']}/unknown_dir/docker`
180
+ When I evaluate and run `bundle exec vagrant service-manager install-cli docker --path #{ENV['VAGRANT_HOME']}/unknown_dir`
181
181
  Then the exit status should be 126
182
- And stderr from evaluating and running "bundle exec vagrant service-manager install-cli docker --path #{ENV['VAGRANT_HOME']}/unknown_dir/docker" should match /Directory path #{ENV['VAGRANT_HOME']}/unknown_dir is invalid or doesn't exist/
182
+ And stderr from evaluating and running "bundle exec vagrant service-manager install-cli docker --path #{ENV['VAGRANT_HOME']}/unknown_dir" should match /Directory path #{ENV['VAGRANT_HOME']}/unknown_dir is invalid or doesn't exist/
183
183
 
184
- When I run `bundle exec vagrant service-manager install-cli docker --path /foo/bar/docker`
184
+ When I run `bundle exec vagrant service-manager install-cli docker --path /foo/bar`
185
185
  Then the exit status should be 126
186
- And stderr from evaluating and running "bundle exec vagrant service-manager install-cli docker --path /foo/bar/docker" should match /Permission denied @ dir_s_mkdir - /foo/
186
+ And stderr from evaluating and running "bundle exec vagrant service-manager install-cli docker --path /foo/bar" should match /Permission denied @ dir_s_mkdir - /foo/
187
187
 
188
188
  ####################################################################################################################
189
189
  # START/STOP/STATUS/RESTART command
@@ -39,7 +39,7 @@ module VagrantPlugins
39
39
  @args = { insecure: false }
40
40
  @type = options[:type]
41
41
  @version = options['--cli-version'] || PluginUtil.execute_once(@machine, @ui, VERSION_CMD[@type])
42
- @path = options['--path'] || binary_path
42
+ @path = options['--path'] ? "#{options['--path']}/#{binary_name}" : binary_path
43
43
  @temp_bin_dir = "#{ServiceManager.temp_dir}/#{@type}"
44
44
  end
45
45
 
@@ -4,7 +4,7 @@ module VagrantPlugins
4
4
  class CDKOpenshiftBinaryHandler < ADBOpenshiftBinaryHandler
5
5
  # Default to latest stable origin oc version for CDK as it is different than
6
6
  # OSE oc version running inside CDK development environment
7
- LATEST_OC_VERSION = '1.2.1'.freeze
7
+ LATEST_OC_VERSION = '1.4.0'.freeze
8
8
 
9
9
  def initialize(machine, env, options)
10
10
  options['--cli-version'] = LATEST_OC_VERSION unless options['--cli-version']
@@ -45,8 +45,7 @@ module VagrantPlugins
45
45
 
46
46
  # return if --path is not specified
47
47
  return unless @options.key?('--path')
48
- dir_name = File.dirname(@options['--path'])
49
- return if File.exist?(dir_name) # return if directory exists
48
+ return if File.exist?(@options['--path'])
50
49
  @env.ui.info I18n.t('servicemanager.commands.install_cli.invalid_binary_path', dir_path: dir_name)
51
50
  exit 126
52
51
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module ServiceManager
3
- VERSION = '1.4.1'.freeze
3
+ VERSION = '1.5.0'.freeze
4
4
  end
5
5
  end
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: 1.4.1
4
+ version: 1.5.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-11-17 00:00:00.000000000 Z
12
+ date: 2017-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubyzip