-
Notifications
You must be signed in to change notification settings - Fork 22
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
Fixes #15023: Adapt system techniques to HTTPS reporting #1451
Fixes #15023: Adapt system techniques to HTTPS reporting #1451
Conversation
Do not merge, the system variable does not exist for now. |
Commit modified |
1 similar comment
Commit modified |
d32b533
to
14cbedd
Compare
Commit modified |
14cbedd
to
b53769c
Compare
Commit modified |
PR rebased |
7406f63
to
7377294
Compare
Commit modified |
1 similar comment
Commit modified |
Commit modified |
1 similar comment
Commit modified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some questions - but this is great !
@@ -79,6 +79,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
<FILE name="properties.cf"> | |||
<INCLUDED>true</INCLUDED> | |||
</FILE> | |||
<FILE name="reporting-http.cf"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could it be reporting-https.cf ?
"reports" slist => sublist("reports", "head", 50); | ||
|
||
methods: | ||
"send" usebundle => send_rudder_report("${reports}"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you may want to use @{reports} (not sure if it's relevant, but could be helpful)
@@ -79,7 +79,7 @@ bundle agent restart_services | |||
|
|||
# Ensure at least one syslog is running | |||
# We cannot detect which one is used for Rudder | |||
!aix.!solaris:: | |||
rudder_reporting_syslog.!aix.!solaris:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it dealt with in the calling bundle ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could rename the bundle to restart_syslog
and only call it when syslog is used for reporting indeed, good idea.
@@ -157,7 +157,7 @@ bundle common va | |||
"common_input_list" slist => { "common/1.0/common.cf", "common/1.0/cf-serverd.cf", "common/1.0/rudder-groups.cf", "common/1.0/hooks.cf", "common/1.0/cron-setup.cf", "common/1.0/site.cf", "common/1.0/update.cf", "common/1.0/monitoring.cf", "common/1.0/restart-services.cf", "common/1.0/internal-security.cf", "common/1.0/environment-variables.cf", "common/1.0/properties.cf" }; | |||
"inventory_input_list" slist => { "inventory/1.0/fusionAgent.cf" }; | |||
"distribute_policy_input_list" slist => { "distributePolicy/1.0/common.cf", "distributePolicy/1.0/rsyslogConf.cf", "distributePolicy/1.0/propagatePromises.cf", "distributePolicy/1.0/apache-acl.cf" }; | |||
"server_roles_input_list" slist => { "server-roles/1.0/common.cf", "server-roles/1.0/component-check.cf", "server-roles/1.0/alive-check.cf", "server-roles/1.0/service-check.cf", "server-roles/1.0/integrity-check.cf", "server-roles/1.0/network-check.cf", "server-roles/1.0/password-check.cf", "server-roles/1.0/postgres-check.cf", "server-roles/1.0/logrotate-check.cf", "server-roles/1.0/technique-reload.cf", "server-roles/1.0/compress-webapp-log.cf", "server-roles/1.0/compress-ldap-backups.cf", "server-roles/1.0/servers-by-role.cf" }; | |||
"server_roles_input_list" slist => { "server-roles/1.0/common.cf", "server-roles/1.0/relayd.cf", "server-roles/1.0/component-check.cf", "server-roles/1.0/alive-check.cf", "server-roles/1.0/service-check.cf", "server-roles/1.0/integrity-check.cf", "server-roles/1.0/network-check.cf", "server-roles/1.0/password-check.cf", "server-roles/1.0/postgres-check.cf", "server-roles/1.0/logrotate-check.cf", "server-roles/1.0/technique-reload.cf", "server-roles/1.0/compress-webapp-log.cf", "server-roles/1.0/compress-ldap-backups.cf", "server-roles/1.0/servers-by-role.cf" }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is server-roles/1.0/relayd.cf included now ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
because it was missing from a previous PR
"pgpass[5]" string => "${p.psql_password[2]}"; | ||
"pgpass[3]" string => "${rudder_postgresql.db_user}"; | ||
"pgpass[4]" string => "${rudder_postgresql.db_name}"; | ||
"pgpass[5]" string => "${rudder_postgresql.db_pass}"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<3
7e9123d
to
6e12e52
Compare
Commit modified |
PR updated with a new commit |
1 similar comment
PR updated with a new commit |
This PR is not mergeable to upper versions. |
OK, squash merging this PR |
389e0c4
to
ef8e915
Compare
https://issues.rudder.io/issues/15023