vagrant-itamae 0.2.0 → 0.2.1

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: 07ee0fb7b59eee9464e072c87253addeceed7aff
4
- data.tar.gz: c7fce72ff8a3c5327146ea4a4f808fda63564889
3
+ metadata.gz: cd418f5a5f98078cac8d35d61b19824621d6f9b8
4
+ data.tar.gz: 2033365a08da1a1931d6f19cb1fc2e91c79cd074
5
5
  SHA512:
6
- metadata.gz: 8418b10650ddf2bf6105593950bdd58668f51b2b6b65def939bee08e771910a82a2eb37041a38f437831fdf80de5064437bfd8c8b11a7657cbfcef92633e6836
7
- data.tar.gz: f8f9b12855a51bafefa6c7f3b5b0acd12ff0dfdde43285ec32aebd9c63f0ca78214d664d877270bac605a1300a69284a4684661e1ab64c7e9e87395b6eb09787
6
+ metadata.gz: 96a0193fecc3a1ca5a7579e56a4a07c34d6099300bb3743bfb5349a541471838c654eccce64c4cb678bbe27bdd962ba7d51d196619247deb24113793a12747a4
7
+ data.tar.gz: 56353f81db1ac8883f977ac39642756f288a934276ef561d8689ef29b1ab23d76f2f27ba58afaf7c3db52655e878ddc9e6bba540e49b7ba59029cb5a16f64088
@@ -0,0 +1,26 @@
1
+ # Change Log
2
+
3
+ ## [v0.2.0](https://github.com/chiastolite/vagrant-itamae/tree/v0.2.0) (2015-10-06)
4
+ [Full Changelog](https://github.com/chiastolite/vagrant-itamae/compare/v0.1.0...v0.2.0)
5
+
6
+ **Merged pull requests:**
7
+
8
+ - enable to use 'shell' option [\#8](https://github.com/chiastolite/vagrant-itamae/pull/8) ([3100](https://github.com/3100))
9
+
10
+ ## [v0.1.0](https://github.com/chiastolite/vagrant-itamae/tree/v0.1.0) (2015-01-05)
11
+ [Full Changelog](https://github.com/chiastolite/vagrant-itamae/compare/v0.0.1...v0.1.0)
12
+
13
+ **Merged pull requests:**
14
+
15
+ - Add configuration sudo [\#7](https://github.com/chiastolite/vagrant-itamae/pull/7) ([niku](https://github.com/niku))
16
+ - Support YAML format to Node Attirbutes [\#6](https://github.com/chiastolite/vagrant-itamae/pull/6) ([Tomohiro](https://github.com/Tomohiro))
17
+
18
+ ## [v0.0.1](https://github.com/chiastolite/vagrant-itamae/tree/v0.0.1) (2014-08-07)
19
+ **Merged pull requests:**
20
+
21
+ - .vagrant directory should be ignored. [\#2](https://github.com/chiastolite/vagrant-itamae/pull/2) ([ryotarai](https://github.com/ryotarai))
22
+ - Fix README markdown. [\#1](https://github.com/chiastolite/vagrant-itamae/pull/1) ([ryotarai](https://github.com/ryotarai))
23
+
24
+
25
+
26
+ \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
@@ -1,3 +1,5 @@
1
+ require 'logger'
2
+
1
3
  module VagrantPlugins
2
4
  module Itamae
3
5
  class Config < Vagrant.plugin('2', :config)
@@ -6,6 +8,7 @@ module VagrantPlugins
6
8
  attr_accessor :sudo
7
9
  attr_accessor :recipes
8
10
  attr_accessor :shell
11
+ attr_accessor :log_level
9
12
 
10
13
  def initialize
11
14
  @recipes = UNSET_VALUE
@@ -13,6 +16,7 @@ module VagrantPlugins
13
16
  @yaml = UNSET_VALUE
14
17
  @sudo = UNSET_VALUE
15
18
  @shell = UNSET_VALUE
19
+ @log_level = UNSET_VALUE
16
20
  end
17
21
 
18
22
  def finalize!
@@ -24,6 +28,8 @@ module VagrantPlugins
24
28
  @shell = nil if @shell == UNSET_VALUE
25
29
 
26
30
  @sudo = false if @sudo == UNSET_VALUE
31
+
32
+ @log_level = ::Logger.const_get((@log_level == UNSET_VALUE ? :info : @log_level).upcase)
27
33
  end
28
34
  end
29
35
  end
@@ -14,6 +14,8 @@ module VagrantPlugins
14
14
  user: @machine.ssh_info[:username],
15
15
  key: @machine.ssh_info[:private_key_path][0]
16
16
  }
17
+
18
+ ::Itamae.logger.level = config.log_level
17
19
  ::Itamae::Runner.run(config.recipes, :ssh, options)
18
20
  end
19
21
  end
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Itamae
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-itamae
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - chiastolite
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-06 00:00:00.000000000 Z
11
+ date: 2015-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae
@@ -66,6 +66,7 @@ extensions: []
66
66
  extra_rdoc_files: []
67
67
  files:
68
68
  - ".gitignore"
69
+ - CHANGELOG.md
69
70
  - Gemfile
70
71
  - LICENSE.txt
71
72
  - README.md