# DEPRECATED. This template is deprecated in train and will be removed in a
# future release. The functionality of the bootstrap scripts has been moved to
# the tripleo-bootstrap ansible role provided by tripleo-common.
#
heat_template_version: rocky

description: 'Deployed Server Bootstrap Config'

parameters:

  server:
    type: string

resources:

  DeployedServerBootstrapConfig:
    type: OS::Heat::SoftwareConfig
    properties:
      group: script
      config: {get_file: deployed-server-bootstrap-rhel.sh}

  DeployedServerBootstrapDeployment:
    type: OS::Heat::SoftwareDeployment
    properties:
      name: DeployedServerBootstrapDeployment
      config: {get_resource: DeployedServerBootstrapConfig}
      server: {get_param: server}
