diff options
author | bhoopender.singh@t-systems.com <bhoopender.singh@t-systems.com> | 2025-01-19 21:56:17 +0100 |
---|---|---|
committer | Bhoopender singh <bhoopender.singh@t-systems.com> | 2025-01-20 11:00:47 +0000 |
commit | 7529a63846644ae84d33b8c0588f24fb258f27d5 (patch) | |
tree | 93384362a0c2b8f057254a66bc0b5a06352ed3d4 /catalog-be/src/main/docker/backend/chef-solo/roles | |
parent | 1ae1d02db27d1971162d162468614fec8017ce69 (diff) |
Chef removal for catalog-be module.
- Removal of Chef recipes in the module.
- Introduction of shell scripts in the module to replace some recipes.
- Generation of module configuration using Charts.
- Introduction of config files in integration tests to simulate files generated by Charts in the module.
Issue-ID: SDC-4697
Change-Id: Ib7e1e3432437d1857403dfb5d16dd95187934129
Signed-off-by: bhoopender.singh@t-systems.com <bhoopender.singh@t-systems.com>
Diffstat (limited to 'catalog-be/src/main/docker/backend/chef-solo/roles')
-rw-r--r-- | catalog-be/src/main/docker/backend/chef-solo/roles/README.md | 16 | ||||
-rw-r--r-- | catalog-be/src/main/docker/backend/chef-solo/roles/catalog-be.json | 25 |
2 files changed, 0 insertions, 41 deletions
diff --git a/catalog-be/src/main/docker/backend/chef-solo/roles/README.md b/catalog-be/src/main/docker/backend/chef-solo/roles/README.md deleted file mode 100644 index b0ee0b4d21..0000000000 --- a/catalog-be/src/main/docker/backend/chef-solo/roles/README.md +++ /dev/null @@ -1,16 +0,0 @@ -Create roles here, in either the Role Ruby DSL (.rb) or JSON (.json) files. To install roles on the server, use knife. - -For example, create `roles/base_example.rb`: - - name "base_example" - description "Example base role applied to all nodes." - # List of recipes and roles to apply. Requires Chef 0.8, earlier versions use 'recipes()'. - #run_list() - # Attributes applied if the node doesn't have it set already. - #default_attributes() - # Attributes applied no matter what the node has set already. - #override_attributes() - -Then upload it to the Chef Server: - - knife role from file roles/base_example.rb diff --git a/catalog-be/src/main/docker/backend/chef-solo/roles/catalog-be.json b/catalog-be/src/main/docker/backend/chef-solo/roles/catalog-be.json deleted file mode 100644 index 7dbd72a1ad..0000000000 --- a/catalog-be/src/main/docker/backend/chef-solo/roles/catalog-be.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "catalog-be", - "description": "Installation application - catalogBE", - "json_class": "Chef::Role", - "default_attributes": { - - }, - "override_attributes": { - - }, - "chef_type": "role", - "run_list": [ - "recipe[sdc-catalog-be::BE_1_cleanup_jettydir]", - "recipe[sdc-catalog-be::BE_2_setup_configuration]", - "recipe[sdc-catalog-be::BE_3_setup_key_and_trust_store]", - "recipe[sdc-catalog-be::BE_4_jetty_Modules]", - "recipe[sdc-catalog-be::BE_6_setup_portal_and_key_properties]", - "recipe[sdc-catalog-be::BE_7_logback]", - "recipe[sdc-catalog-be::BE_8_errors_config]", - "recipe[sdc-catalog-be::BE_9_prepareProbeFile]" - ], - "env_run_lists": { - } -} - |