Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »



1- Install docker

2- Git clone  https://github.com/Juniper/docker-saltstack-junos.git

3- cd directory :  cd  docker-saltstack-junos

4- Then the rest …..   https://github.com/Juniper/docker-saltstack-junos





[root@centos7 ~]#  cd /home/githubdir/docker-saltstack-junos/


[root@centos7 docker-saltstack-junos]# more ./uc-engine/pillar/top.sls
base:
proxy01:
- proxy01
# proxy02:
# - proxy02

[root@centos7 docker-saltstack-junos]# more ./uc-engine/pillar/proxy01.sls
proxy:
proxytype: junos
host: 192.168.70.21
username: root
passwd: Juniper1


[root@centos7 docker-saltstack-junos]# make master-start
181493ce3ff6112439c85bb44f1a67074653c23292175255699c191b87b36c0f

[root@centos7 docker-saltstack-junos]# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
181493ce3ff6 juniper/saltstack "/entrypoint.sh sa..." 8 seconds ago Up 7 seconds 0.0.0.0:8516->516/udp saltmaster-engine

[root@centos7 docker-saltstack-junos]# make master-shell
root@saltmaster-engine:/# ps -ef | grep proxy01
root 19 1 0 16:58 ? 00:00:00 /usr/bin/python /usr/bin/salt-proxy --proxyid=proxy01 -l debug -d
root 330 236 0 16:59 ? 00:00:00 grep --color=auto proxy01




  • No labels