mafrosis / salt-formulae

Personal set of formula states which are used in several projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Salt Formulae

Personal set of formula states which are used in several projects.

This repo is best used with the GitFS method, which is useable from the Salt master and in Salt masterless mode as of v2014.7.1.

Configure your Salt config for GitFS

This is taken from the Salt tutorial on GitFS.

The important configuration that must be changed is here:

fileserver_backend:
  - roots
  - git

file_roots:
  base:
    - /srv/my/salt/states

gitfs_remotes:
  - https://github.com/mafrosis/salt-formulae
    - base: v0.1.0

When operating in masterless mode, on a vagrant box for instance, the following is more useful. In the Vagrantfile, the directory /my/salt/states can be mapped to a folder on your host machine via Vagrant's config.vm.synced_folder option.

file_client: local

fileserver_backend:
  - roots
  - git

file_roots:
  base:
    - /mnt/my/salt/states

gitfs_remotes:
  - https://github.com/mafrosis/salt-formulae
    - base: v0.1.0

About

Personal set of formula states which are used in several projects

License:MIT License


Languages

Language:Python 64.5%Language:SaltStack 30.0%Language:Shell 3.8%Language:Nginx 1.8%