itamae-plugin-recipe-god 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itamae/plugin/recipe/god/install.rb +19 -1
- data/lib/itamae/plugin/recipe/god/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4bb225e341ee8e584f2ca9d69f910c65a1b077abfb9fa92a11af5ea5fdf05f85
|
4
|
+
data.tar.gz: e072fe48099d92e544641d45d370ea03123d1a38abb485a5357f22d7729a909c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a50a64cf704cb2e0d9a735211c62a31d7064adc0a17aeaa77f5262af103bfa52ab7f4c5d870994680f87cee5e53e106ea00af0185e8af673eb754360f0df59d
|
7
|
+
data.tar.gz: 4f374a91e530f0ce0c4fd051b5f564383e832f90d913c9eb4c8e6e836253b650c97cbdd722bdd5860c5180d46946eca0b26d7442b3c6e3d8cc802a3ad41ebb26
|
@@ -1,5 +1,23 @@
|
|
1
|
+
alt_god = ENV['ALTERNATIVE_GOD']
|
2
|
+
god_gem =
|
3
|
+
case alt_god
|
4
|
+
when %r!\.gem\z! then # Ends with '.gem'
|
5
|
+
{ package: alt_god,
|
6
|
+
version: nil
|
7
|
+
}
|
8
|
+
when %r!\A\S+\z! then # Matches characters without white spaces
|
9
|
+
{ package: alt_god,
|
10
|
+
version: ENV['ALTERNATIVE_GOD_VERSION']
|
11
|
+
}
|
12
|
+
else
|
13
|
+
{ package: 'god',
|
14
|
+
version: '0.13.7'
|
15
|
+
}
|
16
|
+
end
|
17
|
+
|
1
18
|
gem_package 'god' do
|
2
|
-
|
19
|
+
package_name god_gem[:package]
|
20
|
+
version god_gem[:version]
|
3
21
|
user 'root'
|
4
22
|
end
|
5
23
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itamae-plugin-recipe-god
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- y-matsuda
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
|
-
rubygems_version: 3.
|
119
|
+
rubygems_version: 3.1.6
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: itamae recipe for god process monitoring framework
|