devscripts:
  pkg.installed

build_calamari_clients:
  cmd.run:
    - user: vagrant
    - name: make dpkg
    - cwd: /home/vagrant/clients
    - require:
      - git: git_clone
      - pkg: devscripts

copy_calamari_clients:
  cmd.run:
    - name: cp calamari-clients*.deb /git/builds/wheezy
    - cwd: /home/vagrant
    - require:
      - cmd: build_calamari_clients

devscripts:
  pkg.installed

build_calamari_clients:
  cmd.run:
    - user: vagrant
    - name: make dpkg
    - cwd: /home/vagrant/clients
    - require:
      - git: git_clone
      - pkg: devscripts

copy_calamari_clients:
  cmd.run:
    {% if grains['os'] == 'Ubuntu' %}
    - name: cp calamari-clients*.deb /git/builds/precise
    {% else %}
    - name: cp calamari-clients*.deb /git/builds/wheezy
    {% endif %}
    - cwd: /home/vagrant
    - require:
      - cmd: build_calamari_clients

Make debian task smart enough to detect ubuntu
Make debian task smart enough to detect ubuntu

put the build output in precise for ubuntu and wheezy for debian

SUSE/romana,GregMeno/test,SUSE/calamari-clients,ceph/calamari-clients,ceph/calamari-clients,GregMeno/test,SUSE/romana,SUSE/romana,ceph/romana,ceph/calamari-clients,GregMeno/test,ceph/calamari-clients,SUSE/romana,ceph/romana,ceph/romana,SUSE/calamari-clients,SUSE/calamari-clients,GregMeno/test,SUSE/calamari-clients,ceph/romana,ceph/romana,GregMeno/test,SUSE/calamari-clients,SUSE/romana,ceph/calamari-clients