- added apache to katello user group
- make install logs not public readable as they may contain exposed passwords
- /etc/candlepin/certs/candlepin-ca.key should not be public readable
The environment initializers do not have access to the configuration object, so we have to override the existing configuration level. If one is not set, the config level is not overridden, and so we just use what is in the environment initializer. This also adds a comment to the default config file that shows all the available log levels
…nes in promotions
…istro Prior to this commit, viewing a system template through the promotions page would only list products/packages in the template. This commit adds the other elements of the template, such as repos ,package groups and distribution.
In case new repository is added in CDN (e.g. when new releasever or architecture support is released), there is a command that is able to retrieve this new repositories: katello provider refresh_products --name "Provider" --org "Organization" It works only for Red Hat provider
Previously when a repo was synced, we would kick off a delayed job. This did not work for scheduled syncs so now we rely on a post sync notification. Pulp will post to a configured url with the repo and task id. We can then find proper errors and index properly. As part of this we needed a hidden user in order to talk to pulp. So a flag 'hidden' was added to the user model and a hidden user is created at seed time.
This reverts commit 678ff92.
Promoting errata to repositories with filters could result in adding only the errata without it's packages when the filters restricted the errata content. This commit adds validation for errata that checks this case. Before a promotion starts all changeset content is inspected to ensure it's valid.
…erts - removed exposed db passwords from install log
…erts - fixed exposed passwords in katello-configure.conf copies in log
- fixed permission on selinux policy files
The cli for 'provider synchronize' needed a minor change to handle errors that may come back from the sync. It appears that the format may have changed recently. Checked 'repo synchronize' and errors there looked ok.
determined to prevent error and show proper completion. Note, this change emphasizes sync status in the following way. Running then recently finished then queded via a sync plan.
…erts -removed passwords from candlepin.conf
…erts - removing passwords from katello-configure.conf and katello-configure.log