Ajeet Raina I am a Docker Captain, ARM Innovator & Docker Bangalore Community Leader. I am a maintainer of Collabnix blogging site. I work for Redis and a primary maintainer of https://developer.redis.com. I run Collabnix Community Slack with over 6500+ audience . We have built a popular projects like Docker Labs, KubeLabs, KubeTools and DockerTools. You can follow me on Twitter(@ajeetsraina) & GitHub(@ajeetraina)

How to setup Salt Halite on CentOS 6.5

48 sec read

Setting up Salt Halite is not straightforward process. Its a WebUI for Salt master where you can easily run commands and manage minions. I assume that you have  a master node setup with couple of minion(atleast one).

saltUI

Let’s start with the steps to accomplish it:

Starting with Build Process –

  1. cd /var/www
  2. git clone https://github.com/saltstack/halite
  3. cd halite/halite
  4. ./genindex.py -C

Installation salt-api:

     5. yum install salt-api

In the end add the master configuration file

Add the following content at the end of the file /etc/salt/master as shown:

rest_cherrypy:
host: 0.0.0.0
port: 8080
debug: true
disable_ssl: True
static: /var/www/halite/halite
app: /var/www/halite/halite/index.htmlexternal_auth:
pam:
salt:
– .*
– ‘@runner’
– ‘@wheel’

That I set here disable_ssl external_auth pam authentication using user login, follow the steps after the operation is completed:

6. /etc/init.d/salt-master restart

Adding a user

7 . #useradd salt
8.#echo salt | passwd –stdin salt

After the establishment of user testing

9. #salt -a pam \* test.ping

Enter the user name and password as seen minion return information indicates that the authentication is successful landing

Start salt-api

          10. #salt-api -d
          11#cd /var/www/halite/halite
          12.#python server_bottle.py -d -C -l debug -s cherrypy

Then open http: // ip: 8080 / app, through salt / salt can login.

See you in further post..

Have Queries? Join https://launchpass.com/collabnix

Ajeet Raina I am a Docker Captain, ARM Innovator & Docker Bangalore Community Leader. I am a maintainer of Collabnix blogging site. I work for Redis and a primary maintainer of https://developer.redis.com. I run Collabnix Community Slack with over 6500+ audience . We have built a popular projects like Docker Labs, KubeLabs, KubeTools and DockerTools. You can follow me on Twitter(@ajeetsraina) & GitHub(@ajeetraina)

What is a Dockerfile – A Step-By-Step Guide

A Dockerfile is a text file which contains a series of commands or instructions. These instructions are executed in the order in which they...
Ajeet Raina
21 min read

Docker Desktop for Linux,  Docker Extensions and more with…

Docker Desktop 4.8.2 is now available for download for Mac, Windows and Linux. Here are the major highlights: Docker Desktop for various Linux distributions made available for the first...
Ajeet Raina
1 min read

6 Replies to “How to setup Salt Halite on CentOS 6.5”

  1. I don’t even know how I ended up here, but I thought this post was great.
    I do not know who you are but definitely you are going to a famous blogger if you
    are not already 😉 Cheers!

  2. Very good website you have here but I was curious
    if you knew of any user discussion forums that cover the same topics discussed here?
    I’d really love to be a part of online community where I can get feed-back from other
    knowledgeable individuals that share the same interest.
    If you have any suggestions, please let me know. Thanks a lot!

  3. Hello There. I found your site using msn. This really is an extremely
    well written article. I will be sure to bookmark it and revisit to read much more of your useful info.
    Many thanks for the post. I am going to definitely comeback.

  4. Excellent post. I used to be checking continuously this website and I’m impressed!

    Extremely useful info specifically the past part :
    ) I maintain such info a whole lot. I used to be trying to
    find this particular info for any very long
    time. Thanks a lot and best of luck.

Leave a Reply