Merge "Add RHELRegistrationActions to rhel-registration template"
This commit is contained in:
commit
092bab01a6
|
@ -65,6 +65,11 @@ parameters:
|
|||
description: |
|
||||
When true, the system profile will be deleted from the registration
|
||||
service when the rhel-registration.yaml nested stack is deleted.
|
||||
RHELRegistrationActions:
|
||||
type: comma_delimited_list
|
||||
default:
|
||||
- CREATE
|
||||
description: Actions when the system profile will be registered, by default we only do this on CREATE of a new server, not for existing nodes.
|
||||
|
||||
conditions:
|
||||
unregister_on_delete:
|
||||
|
@ -119,7 +124,7 @@ resources:
|
|||
name: RHELRegistrationDeployment
|
||||
server: {get_param: server}
|
||||
config: {get_resource: RHELRegistration}
|
||||
actions: ['CREATE'] # Only do this on CREATE
|
||||
actions: {get_param: RHELRegistrationActions}
|
||||
input_values:
|
||||
REG_ACTIVATION_KEY: {get_param: rhel_reg_activation_key}
|
||||
REG_AUTO_ATTACH: {get_param: rhel_reg_auto_attach}
|
||||
|
@ -202,7 +207,7 @@ resources:
|
|||
name: UpdateDeploymentAfterRHELRegistration
|
||||
config: {get_resource: YumUpdateConfigurationAfterRHELRegistration}
|
||||
server: {get_param: server}
|
||||
actions: ['CREATE'] # Only do this on CREATE
|
||||
actions: {get_param: RHELRegistrationActions}
|
||||
|
||||
outputs:
|
||||
deploy_stdout:
|
||||
|
|
Loading…
Reference in New Issue