Skip to content
/ ionics Public

Various salt states, mainly for convenience, and ease of setup in a Ubuntu-based development environment.

License

Notifications You must be signed in to change notification settings

sbellem/ionics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ionics

Various salt states, mainly for convenience, and ease of setup in a Ubuntu- based development environment.

standalone minion setup

One quick and easy possible way to use these states, is by running salt masterless. For a full reference see saltstack docs:

Note that you may have to allow pip based installs when you run install_salt.sh, i.e. include the -P flag:

$ sudo sh install_salt.sh -P

Once you're setup with salt:

$ sudo mkdir /srv/ionics
$ sudo chown -R `id -un`:`id -gn` /srv/ionics
$ git clone <your_fork> /srv/ionics

Edit /etc/salt/minion, so that at a minimum, it has similar settings as those in the minimalistic example minion file provided in this repo.

Pay attention to the grains setting, such so that user and group are set to your user id name and group name (i.e.: id -un and id -gn).

Once set, you can check that the grains are porperly set:

$ sudo salt-call grains.get user
local:
    # same as output of id -un

$ sudo salt-call grains.get group
local:
    # same as output of id -gn

To apply the states:

$ sudo salt-call --local -l debug state.highstate

About

Various salt states, mainly for convenience, and ease of setup in a Ubuntu-based development environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published