itamae 1.12.1 → 1.12.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +3 -0
- data/CHANGELOG.md +29 -1
- data/bin/itamae +0 -1
- data/lib/itamae/cli.rb +4 -0
- data/lib/itamae/resource/remote_directory.rb +1 -1
- data/lib/itamae/runner.rb +2 -2
- data/lib/itamae/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e47ead5c51f39486dc78c265eb1d7ac31ccb1d3597597c73043513c50f755fc7
|
4
|
+
data.tar.gz: fb29caac7b950f41e0d24f034a8aec9bac1205263ce1556dbcf6df139f555f6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0fc18bd902d82bd812fd0a6f65f2e3788c538c22f2141a07201c01e58c0c0c943aa449fc20e5cc3d4f203514595d5f0573ad84bf89c06fe60e6eab7c2f6dcd1
|
7
|
+
data.tar.gz: b0f179fcaa5de472f01afcc716d9407e332ace2e11d897318205e2630440b866f1802e3dc52800e106110668aa64b2954e39be0f997404bf03ad73aa9d1a4671
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,33 @@
|
|
1
1
|
## Unreleased
|
2
|
-
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.
|
2
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.5...master)
|
3
|
+
|
4
|
+
## v1.12.5
|
5
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.4...v1.12.5)
|
6
|
+
|
7
|
+
Bugfixes
|
8
|
+
|
9
|
+
- [Define exit_on_failure? to suppress thor's warning](https://github.com/itamae-kitchen/itamae/pull/344)
|
10
|
+
|
11
|
+
## v1.12.4
|
12
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.3...v1.12.4)
|
13
|
+
|
14
|
+
Improvements
|
15
|
+
|
16
|
+
- [Initialize tmp_dir if no tmpdir option was specified.](https://github.com/itamae-kitchen/itamae/pull/341)
|
17
|
+
|
18
|
+
## v1.12.3
|
19
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.2...v1.12.3)
|
20
|
+
|
21
|
+
Bugfixes
|
22
|
+
|
23
|
+
- [Fix Chef install script URL (by @NPoi)](https://github.com/itamae-kitchen/itamae/pull/339)
|
24
|
+
|
25
|
+
## v1.12.2
|
26
|
+
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.1...v1.12.2)
|
27
|
+
|
28
|
+
Improvements
|
29
|
+
|
30
|
+
- [remote_directory: add diff -r option](https://github.com/itamae-kitchen/itamae/pull/338)
|
3
31
|
|
4
32
|
## v1.12.1
|
5
33
|
[full changelog](https://github.com/itamae-kitchen/itamae/compare/v1.12.0...v1.12.1)
|
data/bin/itamae
CHANGED
data/lib/itamae/cli.rb
CHANGED
@@ -39,7 +39,7 @@ module Itamae
|
|
39
39
|
super
|
40
40
|
|
41
41
|
if current.exist
|
42
|
-
diff = run_command(["diff", "-u", attributes.path, @temppath], error: false)
|
42
|
+
diff = run_command(["diff", "-u", "-r", attributes.path, @temppath], error: false)
|
43
43
|
if diff.exit_status == 0
|
44
44
|
# no change
|
45
45
|
Itamae.logger.debug "directory content will not change"
|
data/lib/itamae/runner.rb
CHANGED
@@ -30,7 +30,7 @@ module Itamae
|
|
30
30
|
prepare_handler
|
31
31
|
|
32
32
|
@node = create_node
|
33
|
-
@tmpdir = options[:tmp_dir]
|
33
|
+
@tmpdir = options[:tmp_dir] || '/tmp/itamae_tmp'
|
34
34
|
@children = RecipeChildren.new
|
35
35
|
@diff = false
|
36
36
|
|
@@ -98,7 +98,7 @@ module Itamae
|
|
98
98
|
unless @backend.run_command("which ohai", error: false).exit_status == 0
|
99
99
|
# install Ohai
|
100
100
|
Itamae.logger.info "Installing Chef package... (to use Ohai)"
|
101
|
-
@backend.run_command("curl -L https://
|
101
|
+
@backend.run_command("curl -L https://omnitruck.chef.io/install.sh | bash")
|
102
102
|
end
|
103
103
|
|
104
104
|
Itamae.logger.info "Loading node data via ohai..."
|
data/lib/itamae/version.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.12.
|
4
|
+
version: 1.12.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryota Arai
|
8
8
|
- Yusuke Nakamura
|
9
9
|
- sue445
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-12-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: thor
|
@@ -200,7 +200,7 @@ dependencies:
|
|
200
200
|
- - ">="
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
|
-
description:
|
203
|
+
description:
|
204
204
|
email:
|
205
205
|
- ryota.arai@gmail.com
|
206
206
|
- yusuke1994525@gmail.com
|
@@ -316,7 +316,7 @@ metadata:
|
|
316
316
|
homepage_uri: https://itamae.kitchen/
|
317
317
|
source_code_uri: https://github.com/itamae-kitchen/itamae
|
318
318
|
changelog_uri: https://github.com/itamae-kitchen/itamae/blob/master/CHANGELOG.md
|
319
|
-
post_install_message:
|
319
|
+
post_install_message:
|
320
320
|
rdoc_options: []
|
321
321
|
require_paths:
|
322
322
|
- lib
|
@@ -332,7 +332,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
332
332
|
version: '0'
|
333
333
|
requirements: []
|
334
334
|
rubygems_version: 3.2.3
|
335
|
-
signing_key:
|
335
|
+
signing_key:
|
336
336
|
specification_version: 4
|
337
337
|
summary: Simple Configuration Management Tool
|
338
338
|
test_files:
|