brpm_content 0.1.35 → 0.1.36
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 +8 -8
- data/modules/framework/config.yml +1 -1
- data/modules/framework/lib/module_installer.rb +8 -6
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZjAzMTJkNWM2YjUwNjA1ZGU2ZDg3YWE2OWFlYzUwMGFkYjAzYTQ1Zg==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YWMwNDI2ZWI2Mzg4NjdlNDQxZTQ2MDQxZGY1ODNlMTdjNTI3OWI3NA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
MjNhMjJmMWE3MTZkYTcxZjI3YmQyMzdhMzAxZDlhZDc5OTY0MWUzZDA4ZmUx
|
|
10
|
+
ZDg5Mjk3ZDc0NzNmNGVjY2VkNzliYTM3MWUyMjEyMzUxZDUyMDgyYzYzOTUx
|
|
11
|
+
NTE4ZGQxMzY1NmFiODE3ZGM4YzNjNTBmY2YyMzRiOGUwMjA0OTQ=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ODBiMTgxMTQ2M2FmZmE2OTM5NDBmNDRiZGUzNDU2OGQ2MzhiOWY3YWY4ODVh
|
|
14
|
+
ZWI3NWFkNjNmYzg0ZGY3MGRmYjM1YzQ0YWNlODM3ODBlYTQwYWY3OWI2MzBk
|
|
15
|
+
NjM2ZDcwOWUwZmQ0YzU1ZTZiMDhmOWIyNWI3NDY0Mjg1NzU4ZDk=
|
|
@@ -14,7 +14,7 @@ class ModuleInstaller
|
|
|
14
14
|
if brpm_content_spec
|
|
15
15
|
if brpm_content_spec.version > Gem::Version.new(BrpmAuto.version) or ! File.exist?(get_symlink_path)
|
|
16
16
|
BrpmAuto.log "Updating the symlink to brpm_content-latest..."
|
|
17
|
-
update_symlink_to_brpm_content(brpm_content_spec)
|
|
17
|
+
update_symlink_to_brpm_content(brpm_content_spec.gem_dir)
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
if brpm_content_spec.version > Gem::Version.new(BrpmAuto.version) or ! File.exist?("#{ENV["BRPM_HOME"]}/automation_results/log.html")
|
|
@@ -25,11 +25,10 @@ class ModuleInstaller
|
|
|
25
25
|
|
|
26
26
|
BrpmAuto.log "Preparing the connectivity to BRPM..."
|
|
27
27
|
if prepare_brpm_connection
|
|
28
|
-
module_friendly_name = get_module_friendly_name(module_name)
|
|
29
|
-
|
|
30
28
|
BrpmAuto.log "Creating an automation error for '******** ERROR ********' if one doesn't exist yet..."
|
|
31
29
|
create_automation_error_if_not_exists("******** ERROR ********")
|
|
32
30
|
|
|
31
|
+
module_friendly_name = get_module_friendly_name(module_name)
|
|
33
32
|
BrpmAuto.log "Creating an automation category for #{module_friendly_name} if one doesn't exist yet..."
|
|
34
33
|
create_automation_category_if_not_exists(module_friendly_name)
|
|
35
34
|
|
|
@@ -108,8 +107,8 @@ class ModuleInstaller
|
|
|
108
107
|
"#{ENV["GEM_HOME"]}/gems/brpm_content-latest"
|
|
109
108
|
end
|
|
110
109
|
|
|
111
|
-
def update_symlink_to_brpm_content(
|
|
112
|
-
new_version_path =
|
|
110
|
+
def update_symlink_to_brpm_content(brpm_content_path)
|
|
111
|
+
new_version_path = brpm_content_path
|
|
113
112
|
symlink_path = get_symlink_path
|
|
114
113
|
|
|
115
114
|
BrpmAuto.log "Linking #{symlink_path} to #{new_version_path}..."
|
|
@@ -247,12 +246,15 @@ class ModuleInstaller
|
|
|
247
246
|
wrapper_script_content += get_script_executor_template(automation_type, module_name, auto_script_name)
|
|
248
247
|
|
|
249
248
|
module_friendly_name = get_module_friendly_name(module_name)
|
|
250
|
-
auto_script_friendly_name = auto_script_config["friendly_name"] || "#{module_friendly_name} - #{auto_script_name.gsub("_", " ").capitalize}"
|
|
251
249
|
if auto_script_config["automation_category"]
|
|
252
250
|
automation_category = auto_script_config["automation_category"]
|
|
253
251
|
create_automation_category_if_not_exists(automation_category)
|
|
252
|
+
|
|
253
|
+
module_friendly_name = automation_category
|
|
254
254
|
end
|
|
255
255
|
|
|
256
|
+
auto_script_friendly_name = auto_script_config["friendly_name"] || "#{module_friendly_name} - #{auto_script_name.gsub("_", " ").capitalize}"
|
|
257
|
+
|
|
256
258
|
script = {}
|
|
257
259
|
script["name"] = auto_script_friendly_name
|
|
258
260
|
script["description"] = auto_script_config["description"] || ""
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brpm_content
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.36
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Niek Bartholomeus
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: modules/framework/bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rest-client
|