Skip to content

Commit

Permalink
Fix restarting the box from failed cloudinit (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh authored and lyft-buildnotify-4 committed Nov 14, 2017
1 parent 57a684d commit 528dc68
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ops/orca/states/superset.sls
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ Ensure {{ grains.cluster_name }} asg exists:
scripts:
salt: |
#!/bin/bash
SERVICE_ELBS="{{ grains.cluster_name }}-i"
{{ pillar.cloud_init_bootstrap_script_base | indent(15,true) }}
- vpc_zone_identifier: {{ pillar.vpc_subnets }}
- availability_zones: {{ pillar.availability_zones }}
Expand All @@ -123,11 +122,6 @@ Ensure {{ grains.cluster_name }} asg exists:

{% if grains.service_instance == 'production' %}

Ensure {{ grains.cluster_name }}-i elb is deleted:
boto_elb.absent:
- name: {{ grains.cluster_name }}-i
- profile: orca_profile

Ensure {{ grains.cluster_name }}-canary asg exists:
boto_asg.present:
- name: {{ grains.cluster_name }}-canary
Expand Down

0 comments on commit 528dc68

Please sign in to comment.