ami_creator.sls
author Paul Tonelli <paul.tonelli@logilab.fr>
Fri, 08 Mar 2013 15:16:08 +0100
changeset 51 555bcf9abc33
parent 40 4ffc0e0ccbda
child 54 7e33d0c7f399
permissions -rw-r--r--
corrected bug in resize

# /srv/salt/init_machine.sls
my_pkgs:
  pkg.installed:
    - pkgs:
      - salt-minion
      - python
      - mercurial
      - tar
      - rsync
      - glance

hg_ami_creation:
    hg.latest:
        - name: http://hg.logilab.fr/users/ptonelli/srv_salt
        - target: /etc/salt/srv
        - require:
            - pkg: my_pkgs