-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add configuration file with the default values #147
Labels
jira
Issues that are synced to Jira
Comments
mwperina
added
jira
Issues that are synced to Jira
and removed
jira
Issues that are synced to Jira
labels
Mar 1, 2023
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 6, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Signed-off-by: ArtiomDivak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 6, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 7, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 7, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: ArtiomDivak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 7, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 8, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
mwperina
pushed a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 10, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
mwperina
pushed a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 10, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
mwperina
pushed a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 10, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
that referenced
this issue
Mar 13, 2023
For a full description please read here #147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: #147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 13, 2023
For a full description please read here eclipse-bluechi#147. For each of the node types [hirte, agent] hirte will get the default config from the default files located in /usr/shar/hirte/{hirte|agent} into the hashmap and only after that it will get the custome config that the usr changed Fixes: eclipse-bluechi#147 Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 20, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 20, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 27, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 28, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 28, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 28, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 28, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
mwperina
pushed a commit
to ArtiomDivak/BlueChi
that referenced
this issue
Mar 29, 2023
This is a follow-up of eclipse-bluechi#147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: eclipse-bluechi#148 Signed-off-by: Artiom Divak adivak@redhat.com Signed-off-by: Artiom Divak <adivak@redhat.com>
ArtiomDivak
added a commit
that referenced
this issue
Mar 30, 2023
This is a follow-up of #147 where it's suggested to use /etc/hirte/hirte.conf and /etc/hirte/agent.conf as configuration files, which could be modified by users to specify custom options. But for automation it's not easy to parse current configuration file and save a new one with modified values, it would be much easier to use conf.d directory with custom user configuration files. Here is the suggestion for the whole configuration files lineup for hirte manager: /usr/share/hirte/config/hirte-default.conf The base configuration file provided project defaults, which should not be modified by users /etc/hirte/hirte.conf The configurations file, where users can modified default values /etc/hirte/hirte.conf.d/ Configuration directory where users might insert a configuration file (for example 99-custom-logging.conf) Only files with .conf suffix are used to load configuration changes Files in this directory are loaded in alphabetical order, so it's suggested to use number prefix to ease understanding of loading (for example 95-my-manager.conf and 99-custom-logging.conf) Similar structure should be used also for hirte-agent: /usr/share/hirte-agent/config/hirte-default.conf /etc/hirte/agent.conf /etc/hirte/agent.conf.d/ Using above configuration files structure should also change the order of loading configurations files during hirte/hirte-agent startup: 1)Load the default configuration values from /usr/share and store them to the configuration hash map 2)Load user customizations from /etc/hirte/{hirte|agent}.conf and overwrite updated values in the configuration hash map 3)Load user customizations files from /etc/hirte/{hirte|agent}.conf.d/ by alphabetical order and overwrite updated values in the configuration hash map 4)Check if all required options have a valid value Fixes: #148 Signed-off-by: Artiom Divak <adivak@redhat.com>
This was referenced Apr 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We need to provide 2 different level of configuration files for
hirte
andhirte-agent
:Here is suggested solution for
hirte
manager:/usr/share/hirte/config/hirte-default.conf
ManagerHost
)/etc/hirte/hirte.conf
/usr/share/hirte/config/hirte-default.conf
to modify their valueSolution for hirte-agent is very similar, just configuration file paths are different:
/usr/share/hirte-agent/config/hirte-default.conf
/etc/hirte/agent.conf
Using above configuration files should also change the order of loading configurations files during
hirte
/hirte-agent
startup:/usr/share
and store them to the configuration hash map/etc
and overwrite updated values in the configuration hash mapThe text was updated successfully, but these errors were encountered: