Skip to content

Commit

Permalink
Merge pull request redhat-openstack#376 from markllama/remove_etc_app…
Browse files Browse the repository at this point in the history
…endix

remove unused code from pre-DNS
  • Loading branch information
markllama authored Jul 24, 2017
2 parents 1898b76 + e35a6fb commit c98db0f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
8 changes: 0 additions & 8 deletions infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,6 @@ resources:
properties:
group: script
inputs:
- name: node_etc_host
- name: node_hostname
- name: node_type
outputs:
Expand All @@ -472,13 +471,6 @@ resources:
params:
HOST: {get_param: hostname}
DOMAIN: {get_param: domain_name}
node_etc_host:
str_replace:
template: "IP HOST.DOMAIN HOST #openshift"
params:
IP: {get_attr: [port, fixed_ips, 0, ip_address]}
HOST: {get_param: hostname}
DOMAIN: {get_param: domain_name}

node_cleanup:
type: OS::Heat::SoftwareConfig
Expand Down
8 changes: 0 additions & 8 deletions master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ resources:
properties:
group: script
inputs:
- name: node_etc_host
- name: node_hostname
- name: node_type
outputs:
Expand All @@ -464,13 +463,6 @@ resources:
params:
HOST: {get_param: hostname}
DOMAIN: {get_param: domain_name}
node_etc_host:
str_replace:
template: "IP HOST.DOMAIN HOST #openshift"
params:
IP: {get_attr: [port, fixed_ips, 0, ip_address]}
HOST: {get_param: hostname}
DOMAIN: {get_param: domain_name}

node_cleanup:
type: OS::Heat::SoftwareConfig
Expand Down
9 changes: 0 additions & 9 deletions node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,6 @@ resources:
properties:
group: script
inputs:
- name: node_etc_host
- name: node_hostname
- name: node_type
outputs:
Expand All @@ -647,14 +646,6 @@ resources:
HOST: {get_param: hostname}
SUFFIX: {get_attr: [random_hostname_suffix, value]}
DOMAIN: {get_param: domain_name}
node_etc_host:
str_replace:
template: "IP HOST-SUFFIX.DOMAIN HOST-SUFFIX #openshift"
params:
IP: {get_attr: [port, fixed_ips, 0, ip_address]}
HOST: {get_param: hostname}
SUFFIX: {get_attr: [random_hostname_suffix, value]}
DOMAIN: {get_param: domain_name}

# Execute the ansible playbook(s) on the bastion server to configure the
# openshift hosts and services
Expand Down

0 comments on commit c98db0f

Please sign in to comment.