Advertisement
Guest User

Untitled

a guest
Jan 20th, 2014
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #this should avoid ID colisions
  2. {%- set env = env_keyword %}
  3. mysqld-{{ env }}:
  4. service.running:
  5. - name: mysqld
  6.  
  7. db_users-{{ magento['db_user'] }}:
  8. mysql_user.present:
  9. - name: {{ magento['db_user'] }}
  10. - password: {{ magento['db_pass'] }}
  11. - host: {{ magento['db_host'] }}
  12. - require:
  13. - service: mysqld-{{ env }}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement