Skip to content

Commit f06b414

Browse files
committed
Fix misc edits from code review
Explanation of these changes can be found here: #600
1 parent 4d0513c commit f06b414

File tree

3 files changed

+43
-20
lines changed

3 files changed

+43
-20
lines changed

etc/kayobe/apt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ apt_repositories: "{{ stackhpc_apt_repositories }}"
6868
# Whether to disable repositories in /etc/apt/sources.list. This may be used
6969
# when replacing the distribution repositories via apt_repositories.
7070
# Default is false.
71-
apt_disable_sources_list: "true"
71+
apt_disable_sources_list: true
7272

7373
###############################################################################
7474
# Dummy variable to allow Ansible to accept this file.

etc/kayobe/kolla.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
###############################################################################
55
# Kolla installation.
66

7+
# Type of Kolla control installation. One of 'binary' or 'source'.
8+
#kolla_ctl_install_type:
9+
710
# Path to directory for kolla source code checkout.
811
#kolla_source_path:
912

@@ -59,8 +62,8 @@ kolla_ansible_source_version: "{{ stackhpc_kolla_ansible_source_version }}"
5962
###############################################################################
6063
# Kolla configuration.
6164

62-
# Kolla base container image distribution. Options are "rocky", "ubuntu".
63-
# Default is {{ os_distribution }}.
65+
# Kolla base container image distribution. Options are "centos", "debian",
66+
# "rocky", "ubuntu". Default is {{ os_distribution }}.
6467
#kolla_base_distro:
6568

6669
# Kolla base container image distribution version default map.

etc/kayobe/pulp.yml

Lines changed: 37 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,18 @@ stackhpc_pulp_repo_rocky_9_highavailability_version: "{{ lookup('vars', 'stackhp
208208
stackhpc_pulp_sync_el_9: "{{ stackhpc_pulp_sync_rocky_9 | bool }}"
209209

210210
stackhpc_pulp_repository_rpm_repos:
211-
# RabbitMQ repositories - version 8/9 agnositic
211+
# Grafana and RabbitMQ repositories - version 8/9 agnositic
212+
- name: Grafana
213+
url: "{{ stackhpc_release_pulp_content_url }}/grafana/oss/rpm/{{ stackhpc_pulp_repo_grafana_version }}"
214+
remote_username: "{{ stackhpc_release_pulp_username }}"
215+
remote_password: "{{ stackhpc_release_pulp_password }}"
216+
client_cert: ""
217+
client_key: ""
218+
policy: on_demand
219+
proxy_url: "{{ pulp_proxy_url }}"
220+
sync_policy: mirror_complete
221+
state: present
222+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
212223
- name: RabbitMQ - Erlang
213224
url: "{{ stackhpc_release_pulp_content_url }}/rabbitmq/erlang/el/8/x86_64/{{ stackhpc_pulp_repo_rabbitmq_erlang_version }}"
214225
remote_username: "{{ stackhpc_release_pulp_username }}"
@@ -220,7 +231,6 @@ stackhpc_pulp_repository_rpm_repos:
220231
sync_policy: mirror_complete
221232
state: present
222233
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
223-
224234
- name: RabbitMQ - Server
225235
url: "{{ stackhpc_release_pulp_content_url }}/rabbitmq/rabbitmq-server/el/8/x86_64/{{ stackhpc_pulp_repo_rabbitmq_server_version }}"
226236
remote_username: "{{ stackhpc_release_pulp_username }}"
@@ -336,7 +346,7 @@ stackhpc_pulp_repository_rpm_repos:
336346
proxy_url: "{{ pulp_proxy_url }}"
337347
sync_policy: mirror_complete
338348
state: present
339-
required: "{{ stackhpc_pulp_sync_el_9 }}"
349+
required: "{{ stackhpc_pulp_sync_el_9 | bool }}"
340350

341351
# Additional RHEL 9 repositories
342352
- name: TreasureData 4 for RHEL 9
@@ -366,17 +376,17 @@ stackhpc_pulp_repository_rpm_repos:
366376
sync_policy: mirror_complete
367377
state: present
368378
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
369-
- name: OpenSearch for RHEL 9
370-
url: "{{ stackhpc_release_pulp_content_url }}/pulp/content/opensearch/2.x/yum/{{ stackhpc_pulp_repo_opensearch_2_x_version }}"
379+
- name: OpenSearch 2.x
380+
url: "{{ stackhpc_release_pulp_content_url }}/opensearch/2.x/yum/{{ stackhpc_pulp_repo_opensearch_2_x_version }}"
371381
remote_username: "{{ stackhpc_release_pulp_username }}"
372382
remote_password: "{{ stackhpc_release_pulp_password }}"
373383
policy: on_demand
374384
proxy_url: "{{ pulp_proxy_url }}"
375385
sync_policy: mirror_complete
376386
state: present
377387
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
378-
- name: OpenSearch Dashboards for RHEL 9
379-
url: "{{ stackhpc_release_pulp_content_url }}/pulp/content/opensearch-dashboards/2.x/yum/{{ stackhpc_pulp_repo_opensearch_dashboards_2_x_version }}"
388+
- name: OpenSearch Dashboards 2.x
389+
url: "{{ stackhpc_release_pulp_content_url }}/opensearch-dashboards/2.x/yum/{{ stackhpc_pulp_repo_opensearch_dashboards_2_x_version }}"
380390
remote_username: "{{ stackhpc_release_pulp_username }}"
381391
remote_password: "{{ stackhpc_release_pulp_password }}"
382392
policy: on_demand
@@ -394,17 +404,22 @@ stackhpc_pulp_publication_rpm_development: "{{ stackhpc_pulp_distribution_rpm_de
394404

395405
# Development tracks the release repositories.
396406
stackhpc_pulp_distribution_rpm_development:
397-
# RabbitMQ repositories - version 8/9 agnositic
407+
# Grafana and RabbitMQ repositories - version 8/9 agnositic
408+
- name: "grafana-development"
409+
base_path: "grafana/oss/rpm/development"
410+
repository: Grafana
411+
state: present
412+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
398413
- name: "rabbitmq-erlang-development"
399414
base_path: "rabbitmq/erlang/el/8/x86_64/development"
400415
repository: RabbitMQ - Erlang
401416
state: present
402-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
417+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
403418
- name: "rabbitmq-server-development"
404419
base_path: "rabbitmq/rabbitmq-server/el/8/x86_64/development"
405420
repository: RabbitMQ - Server
406421
state: present
407-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
422+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
408423

409424
# Base Rocky Linux 9 repositories
410425
- name: "rocky-9-appstream-development"
@@ -483,29 +498,34 @@ stackhpc_pulp_distribution_rpm_development:
483498
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
484499
- name: "opensearch-2-x-development"
485500
base_path: "opensearch/2.x/yum/development"
486-
repository: OpenSearch for RHEL 9
501+
repository: OpenSearch 2.x
487502
state: present
488503
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
489504
- name: "opensearch-dashboards-2-x-development"
490505
base_path: "opensearch-dashboards/2.x/yum/development"
491-
repository: OpenSearch for RHEL 9
506+
repository: OpenSearch Dashboards 2.x
492507
state: present
493508
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
494509

495510

496511
# Development gets promoted to production.
497512
stackhpc_pulp_distribution_rpm_production:
498-
# RabbitMQ repositories - version 8/9 agnositic
513+
# Grafana and RabbitMQ repositories - version 8/9 agnositic
514+
- name: "grafana-production"
515+
base_path: "grafana/oss/rpm/production"
516+
repository: Grafana
517+
state: present
518+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
499519
- name: "rabbitmq-erlang-production"
500520
base_path: "rabbitmq/erlang/el/8/x86_64/production"
501521
repository: RabbitMQ - Erlang
502522
state: present
503-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool ) }}"
523+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
504524
- name: "rabbitmq-server-production"
505525
base_path: "rabbitmq/rabbitmq-server/el/8/x86_64/production"
506526
repository: RabbitMQ - Server
507527
state: present
508-
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool ) }}"
528+
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
509529

510530
# Base Rocky Linux 9 repositories
511531
- name: "rocky-9-appstream-production"
@@ -584,12 +604,12 @@ stackhpc_pulp_distribution_rpm_production:
584604
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
585605
- name: "opensearch-2-x-production"
586606
base_path: "opensearch/2.x/yum/production"
587-
repository: OpenSearch for RHEL 9
607+
repository: OpenSearch 2.x
588608
state: present
589609
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
590610
- name: "opensearch-dashboards-2-x-production"
591611
base_path: "opensearch-dashboards/2.x/yum/production"
592-
repository: OpenSearch for RHEL 9
612+
repository: OpenSearch Dashboards 2.x
593613
state: present
594614
required: "{{ stackhpc_pulp_sync_for_local_container_build | bool and stackhpc_pulp_sync_el_9 | bool }}"
595615

0 commit comments

Comments
 (0)