variation.sls
author Paul Tonelli <paul.tonelli@logilab.fr>
Fri, 15 Mar 2013 09:43:42 +0100
changeset 79 07d85619353a
parent 62 3763b28d28eb
permissions -rw-r--r--
modified syntax to go from salt['grains.present']('...') to grains['...'] whichi is MUCH cleaner and removed use of vriables to have only grains

# /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)