vagrant-conoha 0.1.4 → 0.1.5

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: 1767c663991ea70fe2d5c9d703c9119463213bf5
4
- data.tar.gz: 69bceaf3079b5a67efd0d9fcfb5959727b84a0cf
3
+ metadata.gz: b3b670188cfada0827be286002ddc75a75af43be
4
+ data.tar.gz: 42359eb660971fa2f1de755fbeb09e68c15e4f96
5
5
  SHA512:
6
- metadata.gz: 8391aaacf1566fb391d750425b1e4ac9d465e1a30884775152994dc093c3243db6d28723956eefbbc86ea5318364d61084f1e052a5e5fbc0e9c4fedc9b9f959d
7
- data.tar.gz: c53651f7a2cbad1dcf8d5ab8dd2289b3ba37d4877d373e753dd55995384151a70755d5b8cb470b373fccce85b43801a3be73a1e17f3f280441d25b64ba53ade5
6
+ metadata.gz: dc3e08728010426fe4799fc9559102a01d27a2864825864e11647a0805c7152eafee86d94bc52f0ebe07ad2104b71635ec0955d56e3e4dac6dcee5a292e59004
7
+ data.tar.gz: a20ab6ddd2140894a9a0d5b92433cae7c056b33924db199a6bb7ada08374cafe0165d320f20bc0886029abcc5a254aff97341fa64ca808eb115d09730a4d93eb
@@ -116,10 +116,8 @@ module VagrantPlugins
116
116
 
117
117
  def confirm_rsync_installed(env)
118
118
  # Install rsync if not installed
119
- r = env[:machine].communicate.execute('which rsync', {error_check: false})
120
- if r == 0
121
- return
122
- end
119
+ exit_code = env[:machine].communicate.sudo('which rsync', error_check: false)
120
+ return if exit_code == 0 || exit_code.nil?
123
121
 
124
122
  config = env[:machine].provider_config
125
123
 
@@ -4,7 +4,7 @@ module VagrantPlugins
4
4
  # Stable versions must respect the pattern given
5
5
  # by VagrantPlugins::ConoHa::VERSION_PATTERN
6
6
  #
7
- VERSION = '0.1.4'
7
+ VERSION = '0.1.5'
8
8
 
9
9
  #
10
10
  # Stable version must respect the naming convention 'x.y.z'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-conoha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hironobu Saitoh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-17 00:00:00.000000000 Z
11
+ date: 2016-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json