Advertisement
Guest User

Untitled

a guest
Sep 26th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. root@salt# (git::master) cat defaults/pyapps/default-webapp/buildout.sls
  2. <%!
  3. app_name = globals().get('_template_uri').split('/')[1]
  4. %>
  5. ${app_name}_buildout:
  6. cmd.run:
  7. - name: 'bash <(echo "cd /opt/share/${app_name}/ && echo $http_proxy && bin/buildout")'
  8. - onlyif: ls /opt/share/${app_name}/buildout.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement