kscript 1.0.2 → 1.0.3
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 +4 -4
- data/lib/kscript/plugins/kk_es_fingerprint_utils.rb +3 -2
- data/lib/kscript/plugins/kk_ffmpeg_utils.rb +4 -0
- data/lib/kscript/plugins/kk_jenkins_utils.rb +3 -1
- data/lib/kscript/plugins/kk_kibana_utils.rb +3 -1
- data/lib/kscript/plugins/kk_lvm_utils.rb +2 -1
- data/lib/kscript/plugins/kk_syscheck_utils.rb +4 -0
- data/lib/kscript/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 01ab48d4e8819e3190707f87bbc3fa8a98df3046c278a6c6a625c8eca25d4585
|
4
|
+
data.tar.gz: 15970ccc55e4900e98d0c99a6e3ebb4ebe9555891e63393ec31459c4847d5ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e45e15a0732f678f90db60384458c542f8d038460a801a60f986c197f975321fbf8ca88e39902f5fd2d1d8c2b39b8f4adae55522253824f8cf9a5afff947a83
|
7
|
+
data.tar.gz: 4b0f0f5c5be88b4b248ad9e5d5a8ccca3c0f9a267da5a664afe426917881f16ec173b09e3e287d44fbe9a9aa86aa74ef651c96abaae4b34e77ab1c6b40a85ed1
|
@@ -15,8 +15,9 @@ module Kscript
|
|
15
15
|
|
16
16
|
# Initialize with certificate path
|
17
17
|
# @param cert_path [String] path to the certificate file
|
18
|
-
def initialize(cert_path =
|
19
|
-
|
18
|
+
def initialize(cert_path = nil, *_args, **opts)
|
19
|
+
super(**opts.merge(service: 'kk_es_fingerprint'))
|
20
|
+
@cert_path = cert_path || self.class::DEFAULT_CERT_PATH
|
20
21
|
end
|
21
22
|
|
22
23
|
def run
|
@@ -15,7 +15,9 @@ module Kscript
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
def initialize(
|
18
|
+
def initialize(*args, **opts)
|
19
|
+
super(**opts.merge(service: 'kk_jenkins'))
|
20
|
+
jenkins_url, user, password = args
|
19
21
|
@jenkins_url = jenkins_url
|
20
22
|
@user = user
|
21
23
|
@password = password
|
@@ -15,7 +15,9 @@ module Kscript
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
-
def initialize(
|
18
|
+
def initialize(*args, **opts)
|
19
|
+
super(**opts.merge(service: 'kk_kibana'))
|
20
|
+
project_name, project_env, base_url, username, password = args
|
19
21
|
@base_url = base_url
|
20
22
|
@username = username
|
21
23
|
@password = password
|
@@ -20,7 +20,8 @@ module Kscript
|
|
20
20
|
|
21
21
|
# Initialize the LVM mounter with configuration
|
22
22
|
# @param config [Hash] configuration options
|
23
|
-
def initialize(config = {}, *_args, **
|
23
|
+
def initialize(config = {}, *_args, **opts)
|
24
|
+
super(**opts.merge(service: 'kk_lvm'))
|
24
25
|
@config = DEFAULT_CONFIG.merge(config)
|
25
26
|
end
|
26
27
|
|
data/lib/kscript/version.rb
CHANGED