https://github.com/marselester/salt-stack-example
Fat-free example of SaltStack configuration.
https://github.com/marselester/salt-stack-example
Last synced: about 1 month ago
JSON representation
Fat-free example of SaltStack configuration.
- Host: GitHub
- URL: https://github.com/marselester/salt-stack-example
- Owner: marselester
- Created: 2013-12-04T11:44:14.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-03-25T04:25:50.000Z (about 11 years ago)
- Last Synced: 2024-05-02T00:42:42.639Z (about 1 year ago)
- Language: Scheme
- Size: 1.39 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=================
SaltStack Example
=================It is used as Salt configuration example in `Slides about SaltStack`_.
Clone this repository and set up VM using Vagrant.
.. code-block:: console
$ git clone https://github.com/marselester/salt-stack-example.git
$ cd salt-stack-example/vagrant
$ vagrant upIn order to interact with VM you should add ``111.222.111.222 salt-hello-world``
to ``/etc/hosts``.Install Fabric and set up Salt masterless minion in VM.
.. code-block:: console
$ cd salt-stack-example
$ pip install fabric
$ fab setup_masterless_minionFinally deploy **development** or **production** environment in VM.
.. code-block:: console
$ fab salt_env:development deploy
Enjoy `the result page`_ (it will be served by Nginx).
.. _Slides about SaltStack: http://marselester.com/saltstack-slides.html
.. _the result page: http://salt-hello-world/