Commit graph

30 commits

Author SHA1 Message Date
62bd4a6f35 further work on webserver state
- rename apache->webserver state
- configure firewall rules to permit http/https
- fix index.html path
2023-03-27 10:38:35 -05:00
c63091e3a7 reactor to sync custom grains at minion start 2023-03-26 21:11:02 -05:00
9ff7050cd5 configure master overrides in separate file 2023-03-26 21:10:41 -05:00
2fb3b6e340 fun with pillars
- map distros to package names
- create users on saltlab minions
- ditch cowsay
- replace nginx with apache (and pull pkg name from pillar data)
2023-03-24 23:11:25 -05:00
6ac3b8ad19 manually enable salt-minion service on rocky9 2023-03-24 22:08:20 -05:00
cd1d0eb462 start playing with top.sls
- assign two minions the 'roles:web' grain
- create the 'cowsay' state
- match the 'vim' state to all minions
- match the 'cowsay' state to minions w/ 'roles:saltlab'
- match the 'nginx' state to minions w/ 'roles:web'
2023-03-24 17:12:03 -05:00
8cbbe97d24 update readme with note on destruction 2023-03-24 16:21:36 -05:00
db9ef4c5d7 vim state tweaks
- change id to avoid ambiguity with package names
- rename module/folder because I'm not going to configure other editors
- update references to match
2023-03-24 16:06:42 -05:00
7f08d04dc0 update readme with usage information 2023-03-24 15:45:19 -05:00
406329e351 add state to uninstall nginx 2023-03-24 15:40:55 -05:00
205ad8fa21 add state to uninstall vim 2023-03-24 15:40:29 -05:00
95e277f0d6 account for vim package name on rhel-based systems 2023-03-24 15:40:11 -05:00
3fac6f3f4c disable default synced_folder 2023-03-24 14:45:04 -05:00
4c3f0841ae upgrade system during bootstrap 2023-03-24 14:44:50 -05:00
a9532a8cf1 Wait to verify DNS for EL-based bootstrap 2023-03-24 14:43:43 -05:00
146d4811a2 fix broken nginx state 2023-03-23 21:53:31 -05:00
eeb54a0d4b only sync the /srv directory for the master 2023-03-23 21:49:51 -05:00
3f24eb3123 rearrange example states 2023-03-23 21:49:02 -05:00
a504eeef33 slight restructuring 2023-03-23 21:40:54 -05:00
John Bowdre
1c78a16277
Update README.md 2023-03-23 21:37:07 -05:00
e6ec3cb571 remove unnecessary service start 2023-03-23 18:39:17 -05:00
85c22d940c remove unnecessary sudo 2023-03-23 18:37:36 -05:00
e5622ca798 auto-accept minion keys because lab 2023-03-23 18:37:06 -05:00
0861131c95 install vim on all salt nodes 2023-03-23 15:13:05 -05:00
8287448fd4 pass master IP as arg to salt bootstrap script
This removes the need to hardcode hostnames/IPs in /etc/hosts

(Thanks Steven!)
2023-03-14 20:13:22 -05:00
cd603f2228 update ip addressing 2023-03-14 13:58:52 -05:00
5ac0ad07cd add gitignore 2023-03-14 13:57:58 -05:00
636d0c1e66 add salt lab environment 2023-03-13 22:08:57 -05:00
John Bowdre
89dcb46dbf
Update README.md 2023-03-13 22:06:40 -05:00
John Bowdre
5ae32834b4
Initial commit 2023-03-13 22:05:08 -05:00