variation.sls
author Paul Tonelli <paul.tonelli@logilab.fr>
Fri, 15 Mar 2013 10:17:58 +0100
changeset 83 09fdf067e0b7
parent 62 3763b28d28eb
permissions -rw-r--r--
created additionnal state for preparatory state (update.sls) and updated top.sls salt file to call it instead of ami_creator.sls (ami_creator.sls will actually prepare the machine in next commit)

# /srv/salt/init_machine.sls
ami-packages:
  pkg.installed:
    - pkgs:
      - salt-minion
      - python
      - mercurial
      - less
      - sl

#http://hg.logilab.fr/users/ptonelli/srv_salt:
#   hg.latest:
#     - target: /mnt

#salt.states.file.absent(name)