chake 0.90.2 → 0.90.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog.md +6 -0
- data/lib/chake/bootstrap/00_set_hostname.sh +4 -2
- data/lib/chake/connection.rb +2 -0
- data/lib/chake/version.rb +1 -1
- data/spec/chake/config_manager/itamae_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 693b8b54a375b45d4adcd8ba3bc9b4d67c4a54746767e3dcf4a3df14750a18b9
|
4
|
+
data.tar.gz: 6ddd35528575a2b413d3c8e1ebd445bfb9a742c4410eb76062a2848a8b5b06d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 254cdfa1778b624204769f8f6ab96dc367d1200a3814809597df64b102d91c47d91659a2854620963702b5251ec1730476da5e40dd7db5e7e0c66a1ec55136ad
|
7
|
+
data.tar.gz: 607a924a23f89120fbf7fb97e0f27a80ed3a5b20f001620776498e9a3d7646f4ad01cdb94d159fd405cf22ba1e6f8d810718f69cc20399bf54bf5eedfacbae33
|
data/ChangeLog.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
# 0.90.3
|
2
|
+
|
3
|
+
- `itamae_spec`: fix rspec warning about syntax for `expect { }.to raise`
|
4
|
+
- bootstrap: `00_set_hostname.sh`: don't set hostname if not needed
|
5
|
+
- Chake::Connection: add missing require for `$CHILD_STATUS`
|
6
|
+
|
1
7
|
# 0.90.2
|
2
8
|
|
3
9
|
- upload: make sure to reupload on config manager changes
|
@@ -1,7 +1,9 @@
|
|
1
1
|
hostname="$1"
|
2
2
|
|
3
|
-
|
4
|
-
hostname
|
3
|
+
if [ "$(hostname)" != "${hostname}" ]; then
|
4
|
+
echo "$hostname" > /etc/hostname
|
5
|
+
hostname --file /etc/hostname
|
6
|
+
fi
|
5
7
|
|
6
8
|
fqdn=$(hostname --fqdn || true)
|
7
9
|
if [ "$fqdn" != "$hostname" ]; then
|
data/lib/chake/connection.rb
CHANGED
data/lib/chake/version.rb
CHANGED
@@ -61,7 +61,7 @@ describe Chake::ConfigManager::Itamae do
|
|
61
61
|
|
62
62
|
it 'throws an error for unsupported connection' do
|
63
63
|
allow(node).to receive(:connection).and_return(Object.new)
|
64
|
-
expect
|
64
|
+
expect { cfg.converge }.to raise_error(NotImplementedError)
|
65
65
|
end
|
66
66
|
|
67
67
|
it 'handles silent mode' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.90.
|
4
|
+
version: 0.90.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antonio Terceiro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|