Skip to content
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

feat: Add spec "satellite_enabled_features" back #3517

Merged
merged 3 commits into from
Sep 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion insights/specs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ class Specs(SpecSet):
grubby_default_kernel = RegistryPoint()
hammer_ping = RegistryPoint()
hammer_task_list = RegistryPoint()
satellite_enabled_features = RegistryPoint()
haproxy_cfg = RegistryPoint()
haproxy_cfg_scl = RegistryPoint()
heat_api_log = RegistryPoint(filterable=True)
Expand Down Expand Up @@ -615,6 +614,7 @@ class Specs(SpecSet):
satellite_core_taskreservedresource_count = RegistryPoint()
satellite_custom_ca_chain = RegistryPoint()
satellite_custom_hiera = RegistryPoint()
satellite_enabled_features = RegistryPoint()
satellite_katello_empty_url_repositories = RegistryPoint()
satellite_katello_repos_with_muliple_ref = RegistryPoint()
satellite_mongodb_storage_engine = RegistryPoint()
Expand Down
1 change: 1 addition & 0 deletions insights/specs/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,7 @@ class DefaultSpecs(Specs):
'/usr/bin/awk \'BEGIN { pipe="openssl x509 -noout -subject -enddate"} /^-+BEGIN CERT/,/^-+END CERT/ { print | pipe } /^-+END CERT/ { close(pipe); printf("\\n")}\' /etc/pki/katello/certs/katello-server-ca.crt',
)
satellite_custom_hiera = simple_file("/etc/foreman-installer/custom-hiera.yaml")
satellite_enabled_features = simple_command("/usr/bin/curl -sk https://localhost:9090/features --connect-timeout 5", deps=[IsSatellite])
satellite_katello_repos_with_muliple_ref = simple_command(
'/usr/bin/sudo -iu postgres /usr/bin/psql -d foreman -c "select repository_href, count(*) from katello_repository_references group by repository_href having count(*) > 1;" --csv',
deps=[IsSatellite]
Expand Down