Skip to content

Commit 1987876

Browse files
committed
rename profiles to flavors
1 parent e6a383f commit 1987876

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

development/playbooks/deploy-dev/deploy-dev.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
become: true
55
vars_files:
66
- "../../../src/vars/defaults.yml"
7-
- "../../../src/vars/profiles/{{ profile }}.yml"
7+
- "../../../src/vars/flavors/{{ flavor }}.yml"
88
- "../../../src/vars/{{ certificate_source }}_certificates.yml"
99
- "../../../src/vars/images.yml"
1010
- "../../../src/vars/database.yml"

docs/deployment.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ For example, pre-pulling images to reduce the core deployment utility runtime.
2323
6. Run deployment utility
2424
7. Post deploy checks
2525

26-
### Features and Profiles
26+
### Features and Flavors
2727

28-
To allow deployments with different sets of functionality enabled, the deployment utility supports features and profiles.
28+
To allow deployments with different sets of functionality enabled, the deployment utility supports features and flavors.
2929

3030
- A feature is an abstract representation of "the deployed system can now do X", usually implemented by enabling a Foreman/Pulp/Hammer plugin (or a collection of these).
31-
- A profile is a set of features that are enabled by default and can not be disabled. This is to allow common deployment types like "vanilla foreman", "katello", "satellite" and similar.
31+
- A flavor is a set of features that are enabled by default and can not be disabled. This is to allow common deployment types like "vanilla foreman", "katello", "satellite" and similar.
3232

3333
Additionally to the functionality offered by plugins, we define the following "base" features:
3434
- `foreman` to deploy the main Rails app and make the deployment a "Server"

src/playbooks/_profile_features/metadata.obsah.yaml renamed to src/playbooks/_flavor_features/metadata.obsah.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
variables:
3-
profile:
4-
help: Base profile to use in this deployment.
3+
flavor:
4+
help: Base flavor to use in this deployment.
55
features:
66
parameter: --add-feature
77
help: Additional features to enable in this deployment.

src/playbooks/deploy/deploy.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
become: true
66
vars_files:
77
- "../../vars/defaults.yml"
8-
- "../../vars/profiles/{{ profile }}.yml"
8+
- "../../vars/flavors/{{ flavor }}.yml"
99
- "../../vars/{{ certificate_source }}_certificates.yml"
1010
- "../../vars/images.yml"
1111
- "../../vars/database.yml"

src/playbooks/deploy/metadata.obsah.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ include:
1616
- _certificate_source
1717
- _database_mode
1818
- _database_connection
19-
- _profile_features
19+
- _flavor_features

src/playbooks/pull-images/metadata.obsah.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ help: |
44
55
include:
66
- _database_mode
7-
- _profile_features
7+
- _flavor_features

src/playbooks/pull-images/pull-images.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
- quadlet
55
vars_files:
66
- "../../vars/defaults.yml"
7-
- "../../vars/profiles/{{ profile }}.yml"
7+
- "../../vars/flavors/{{ flavor }}.yml"
88
- "../../vars/images.yml"
99
- "../../vars/base.yaml"
1010
become: true

src/vars/defaults.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
certificate_source: default
33
database_mode: internal
44
tuning_profile: development
5-
profile: katello
5+
flavor: katello
66
features: []
7-
enabled_features: "{{ (profile_features + features) }}"
7+
enabled_features: "{{ (flavor_features + features) }}"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
profile_features:
2+
flavor_features:
33
- foreman
44
- katello
55
- content/container

0 commit comments

Comments
 (0)