You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## -- required to bootstrap a master config before any states can be applied
5
+
6
+
## this sets up a 'continuous integration' environment
7
+
## similar to this : http://thiglife.com/2013/08/07/managing-a-saltstack-salt-master-with-git/
8
+
9
+
INSTRUCTIONS:
10
+
11
+
1) this is tailored for develpment & testing and..
12
+
-- works only on CENTOS
13
+
this installer creates links where system directories should be.. a great way to use this is share the folder in virtual box, open the filesystem in your favorite editor on the host, and be able to test changes in realtime since the system is using configs which are actually on the host system
14
+
this works just as well with a local or remote git repo
15
+
16
+
17
+
cd (here)
18
+
sudo -i (etc, become root)
19
+
./INSTALL.sh
20
+
21
+
the installer will reboot your VM and then...
22
+
23
+
2) when you login again, things will be in the custom python environment. in this case, because its installed as "root", thats the account that will get the custom bash environment to initialize the custom python environment..
24
+
25
+
salt will be installed but not running.
26
+
it will be reading config files from *this repo*
27
+
28
+
open up a few windows and startup master and/or minion processes as needed
29
+
30
+
# to put in the background as a daemon, logging normally (as configured)
31
+
> salt-master -d
32
+
> salt-minion -d
33
+
34
+
# to run in the foreground in debug mode
35
+
> salt-master -l debug
36
+
> salt-minion -l debug
37
+
38
+
#make sure to accept the master as a minion of itself!
39
+
40
+
> salt-key -A
41
+
42
+
you'll see files created in /etc/salt/pki and /var/cache/salt
43
+
44
+
3) use salt on the commandline or via web interface running at https://$HOSTNAME:8080
45
+
the web interface will authenticate any local user, but this package installs a custom user
46
+
47
+
login with these credentials:
48
+
49
+
user: saltrunner
50
+
pass: halite
51
+
52
+
## NOTE:
53
+
this repo depends on numerous resources on the network.. sometimes github is slow to respond. if the installer hangs up, just hit control-C and start it again.
54
+
not much support is built in for 'upgrading' everything automatically, so you'll need to do that selectively for each component
0 commit comments