itamae 1.0.11 → 1.0.12

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: f33cda78b5bc4a3243b5c405f71d0301d23b4b8d
4
- data.tar.gz: 0a046c03cb563adbf210849fbe27ae9b5437a32b
3
+ metadata.gz: 1311099107afef7a408dea30eb069c44bfc93ecc
4
+ data.tar.gz: 00bfdd9ac80ab5c36553c5ba23fc8b370d9cf356
5
5
  SHA512:
6
- metadata.gz: 57375980d2adff19751e17441d4a38418426d916a59bc4ed2fbe01e39a7580a24c1d61960f36a8360b696fd99d76062b789d9302e67206117c557541da7c5bad
7
- data.tar.gz: 7c2f78e973463799b3de2e35001a4f9d97ca272e493a6a47b3a4c0c7f052c499d085749e0175612c2ae0b3da696f049a1bbd4e0127adcf95358cd2bc3b290bff
6
+ metadata.gz: 6c4206cd9298d247d2a6bb75fd9295c7f89a0a663b7568fe3eb4facbe906c1d16f2de2d8171052570a09200b42cf10bb8dbf3ce78c93e8f1412120c21010ee42
7
+ data.tar.gz: 91828f3ea04f9082b6d07fecd32e4bafd288c7f5d66244c93b49e10eabaad12ff01f3ba42fbaea72505467c848424670c7b2a1ac32bce89bbd93821f8365362a
@@ -25,7 +25,8 @@ module Itamae
25
25
 
26
26
  def action_install(action_options)
27
27
  unless run_specinfra(:check_package_is_installed, attributes.name, attributes.version)
28
- run_specinfra(:install_package, attributes.name, attributes.version, attributes.options)
28
+ command = Specinfra.command.get(:install_package, attributes.name, attributes.version, attributes.options)
29
+ run_command(command, {user: attributes.user})
29
30
  updated!
30
31
  end
31
32
  end
@@ -1 +1 @@
1
- 1.0.11
1
+ 1.0.12
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.11
4
+ version: 1.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryota Arai
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-16 00:00:00.000000000 Z
11
+ date: 2014-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor