Advertisement
Guest User

Untitled

a guest
Jan 5th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. python-pip:
  2. pkg.installed
  3.  
  4. boto:
  5. pip.installed:
  6. - require:
  7. - pkg: python-pip
  8.  
  9. hack-hack:
  10. cmd.run:
  11. - name: "echo hack > /dev/null"
  12.  
  13. myarecord:
  14. boto_route53.present:
  15. - name: {{ salt['grains.get']('id') +'.'+ salt['pillar.get']('domain')+'.' }}
  16. - value: {{ salt['pillar.get']('ip4_interfaces:eth0') }}
  17. - zone: {{ salt['pillar.get']('domain')+'.' }}
  18. - ttl: 60
  19. - record_type: A
  20. - profile: aws_creds
  21. - watch:
  22. - cmd: hack-hack
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement