Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- python-pip:
- pkg.installed
- boto:
- pip.installed:
- - require:
- - pkg: python-pip
- hack-hack:
- cmd.run:
- - name: "echo hack > /dev/null"
- myarecord:
- boto_route53.present:
- - name: {{ salt['grains.get']('id') +'.'+ salt['pillar.get']('domain')+'.' }}
- - value: {{ salt['pillar.get']('ip4_interfaces:eth0') }}
- - zone: {{ salt['pillar.get']('domain')+'.' }}
- - ttl: 60
- - record_type: A
- - profile: aws_creds
- - watch:
- - cmd: hack-hack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement