Commit Graph

55 Commits

Author SHA1 Message Date
John Bowdre dbc1c552a3 include optional salt-content gitfs 2024-02-09 21:50:46 -06:00
John Bowdre cb7ed6add5 fix file_ignore_regex for .gitkeep files 2024-02-07 10:22:14 -06:00
John Bowdre ecb32dde09 use /srv/formulas for formulas 2024-02-07 09:40:11 -06:00
John Bowdre fc50bd1884 insert format declaration in salt files 2024-02-06 11:28:43 -06:00
John Bowdre c3f229ad89 update readme 2024-02-06 11:16:06 -06:00
John Bowdre ebfe38e51e parameterize machine specs 2024-02-06 11:15:52 -06:00
John Bowdre c668bf171b add sample local content 2024-02-06 11:15:30 -06:00
John Bowdre 117095ed5e update machine images, upgrade salt to 3006 onedir 2024-02-06 06:53:35 -06:00
John Bowdre 1ed83037ad update blog link 2024-01-17 15:16:44 -06:00
John Bowdre 0b80bc605a pin to salt 3005 release for now
this avoids this recent issue with the current bootstrap script:
https://github.com/saltstack/salt-bootstrap/issues/1919
2023-04-24 21:10:41 -05:00
John Bowdre 694561cd8d clean up acg content
future experimentation will occur within the existing structure
2023-04-24 20:56:37 -05:00
John Bowdre 5c10e67a2b jinjify acg content 2023-04-19 20:56:42 -05:00
John Bowdre 3d7902455b introduce sample content from the acg salt course 2023-04-18 21:32:11 -05:00
John Bowdre 19b9c0a5a0 update readme 2023-04-10 09:25:37 -05:00
John Bowdre 34c0218735 create new environment for local/acg content 2023-04-09 21:02:44 -05:00
John Bowdre a58f8fcc1f minor reorg
- move content to be served via gitfs to salt_content/gitfs
- create structure to hold local content at salt_content/local
- configure Vagrant to rsync salt_content/local to /srv on Salt master
2023-04-08 21:03:29 -05:00
John Bowdre 01a932185b override env name so ext_pillar will work 2023-04-07 23:04:44 -05:00
John Bowdre 60fcf707f1
Merge pull request #1 from jbowdre/gitfs
Enable gitfs
2023-04-07 22:49:49 -05:00
John Bowdre 68a6691def Revert "adjust gitfs_base for testing"
This reverts commit c428a5b4de.
2023-04-07 22:48:38 -05:00
John Bowdre b40d16d13c fix missing value for auto_accept key 2023-04-07 22:48:12 -05:00
John Bowdre c428a5b4de adjust gitfs_base for testing 2023-04-07 22:39:05 -05:00
John Bowdre f67665858b update config to pull salt content from repo using gitfs 2023-04-07 22:38:21 -05:00
John Bowdre 90518cff1d add app01 and db-users VMs for working through Salt lessons on A Cloud Guru 2023-04-04 21:09:08 -05:00
John Bowdre 8dd18fab3d change how firewall is configured/unconfigured 2023-03-28 10:03:39 -05:00
John Bowdre 6a83a4a393 configure/unconfigure firewall 2023-03-28 09:56:37 -05:00
John Bowdre 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
John Bowdre c63091e3a7 reactor to sync custom grains at minion start 2023-03-26 21:11:02 -05:00
John Bowdre 9ff7050cd5 configure master overrides in separate file 2023-03-26 21:10:41 -05:00
John Bowdre 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
John Bowdre 6ac3b8ad19 manually enable salt-minion service on rocky9 2023-03-24 22:08:20 -05:00
John Bowdre 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
John Bowdre 8cbbe97d24 update readme with note on destruction 2023-03-24 16:21:36 -05:00
John Bowdre 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
John Bowdre 7f08d04dc0 update readme with usage information 2023-03-24 15:45:19 -05:00
John Bowdre 406329e351 add state to uninstall nginx 2023-03-24 15:40:55 -05:00
John Bowdre 205ad8fa21 add state to uninstall vim 2023-03-24 15:40:29 -05:00
John Bowdre 95e277f0d6 account for vim package name on rhel-based systems 2023-03-24 15:40:11 -05:00
John Bowdre 3fac6f3f4c disable default synced_folder 2023-03-24 14:45:04 -05:00
John Bowdre 4c3f0841ae upgrade system during bootstrap 2023-03-24 14:44:50 -05:00
John Bowdre a9532a8cf1 Wait to verify DNS for EL-based bootstrap 2023-03-24 14:43:43 -05:00
John Bowdre 146d4811a2 fix broken nginx state 2023-03-23 21:53:31 -05:00
John Bowdre eeb54a0d4b only sync the /srv directory for the master 2023-03-23 21:49:51 -05:00
John Bowdre 3f24eb3123 rearrange example states 2023-03-23 21:49:02 -05:00
John Bowdre 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
John Bowdre e6ec3cb571 remove unnecessary service start 2023-03-23 18:39:17 -05:00
John Bowdre 85c22d940c remove unnecessary sudo 2023-03-23 18:37:36 -05:00
John Bowdre e5622ca798 auto-accept minion keys because lab 2023-03-23 18:37:06 -05:00
John Bowdre 0861131c95 install vim on all salt nodes 2023-03-23 15:13:05 -05:00
John Bowdre 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