diff options
author | Dan Prince <dprince@redhat.com> | 2015-01-25 09:00:27 -0500 |
---|---|---|
committer | Dan Prince <dprince@redhat.com> | 2015-02-04 09:33:13 -0500 |
commit | 931508bbde986811340635e891f2ae631fe1046a (patch) | |
tree | 68ab74af08fd9254270c75be21ca731ae89d0716 | |
parent | 1e2a7a158154a18b779933523d090c2cf6ac58d2 (diff) |
Puppet: move LB configs onto LB resources
This moves the loadbalancer composition class parameters
into the loadbalancer specific software deployment.
This keeps the resource contained and seperate from the rest
of the OS hiera data configs.
Change-Id: I8af48b479348e431a8e563917e1345ca4b895a60
-rw-r--r-- | controller-puppet.yaml | 54 |
1 files changed, 35 insertions, 19 deletions
diff --git a/controller-puppet.yaml b/controller-puppet.yaml index 90fe6a75..03621053 100644 --- a/controller-puppet.yaml +++ b/controller-puppet.yaml @@ -703,24 +703,6 @@ resources: controller_virtual_ip: {get_input: controller_virtual_ip} public_virtual_interface: {get_input: public_virtual_interface} public_virtual_ip: {get_input: public_virtual_ip} - # Load Balancer (composition class parameters) - tripleo::loadbalancer::keystone_admin: true - tripleo::loadbalancer::keystone_public: true - tripleo::loadbalancer::neutron: true - tripleo::loadbalancer::cinder: true - tripleo::loadbalancer::glance_api: true - tripleo::loadbalancer::glance_registry: true - tripleo::loadbalancer::nova_ec2: true - tripleo::loadbalancer::nova_osapi: true - tripleo::loadbalancer::nova_metadata: true - tripleo::loadbalancer::nova_novncproxy: true - tripleo::loadbalancer::mysql: true - tripleo::loadbalancer::rabbitmq: true - tripleo::loadbalancer::swift_proxy_server: true - tripleo::loadbalancer::ceilometer: true - tripleo::loadbalancer::heat_api: true - tripleo::loadbalancer::heat_cloudwatch: true - tripleo::loadbalancer::heat_cfn: true # NOTE(dprince): this example uses a composition class # on the puppet side (loadbalancer.pp). This seemed like the @@ -734,13 +716,47 @@ resources: enable_hiera: True enable_facter: False inputs: + - name: tripleo::loadbalancer::keystone_admin + default: true + - name: tripleo::loadbalancer::keystone_public + default: true + - name: tripleo::loadbalancer::neutron + default: true + - name: tripleo::loadbalancer::cinder + default: true + - name: tripleo::loadbalancer::glance_api + default: true + - name: tripleo::loadbalancer::glance_registry + default: true + - name: tripleo::loadbalancer::nova_ec2 + default: true + - name: tripleo::loadbalancer::nova_osapi + default: true + - name: tripleo::loadbalancer::nova_metadata + default: true + - name: tripleo::loadbalancer::nova_novncproxy + default: true + - name: tripleo::loadbalancer::mysql + default: true + - name: tripleo::loadbalancer::rabbitmq + default: true + - name: tripleo::loadbalancer::swift_proxy_server + default: true + - name: tripleo::loadbalancer::ceilometer + default: true + - name: tripleo::loadbalancer::heat_api + default: true + - name: tripleo::loadbalancer::heat_cloudwatch + default: true + - name: tripleo::loadbalancer::heat_cfn + default: true outputs: - name: result config: get_file: puppet/loadbalancer.pp ControllerLoadbalancerPuppetDeployment: - type: OS::Heat::StructuredDeployment + type: OS::Heat::SoftwareDeployment properties: name: puppet_1 server: {get_resource: Controller} |