Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@salt# (git::master) cat defaults/pyapps/default-webapp/buildout.sls
- <%!
- app_name = globals().get('_template_uri').split('/')[1]
- %>
- ${app_name}_buildout:
- cmd.run:
- - name: 'bash <(echo "cd /opt/share/${app_name}/ && echo $http_proxy && bin/buildout")'
- - onlyif: ls /opt/share/${app_name}/buildout.cfg
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement