Macros

Here are a non exhaustive list of macros that makina-states provides and you may use in your states.

Helpers

  • h(helpers)

    • deliver_deliver_config_files: push configuration files
    • service_restart_reload: aim to restart or reload service but handle the case where services mis implement the status function and mess salt modules.
    • toggle_service: helper to call service_restart_reload

ssl

  • macros
    • install_certificate
    • install_cert_in_dir

nginx

apache

php

mysql

postgresql

  • macros
    • postgresql_db
    • postgresql_user
    • postgresql_group
    • install_pg_exts
    • install_pg_ext

circusd

supervisord

mongodb

  • macros
    • mongodb_db
    • mongodb_user

uwsgi

rabbitmq

Last Updated: 2017-04-11