Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove Salt documentation #1983
Comments
andrewdavidwong
added
enhancement
help wanted
C: doc
P: major
labels
May 11, 2016
andrewdavidwong
added this to the
Documentation/website milestone
May 11, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
May 11, 2016
Member
Great explanation and examples: https://groups.google.com/d/msgid/qubes-users/20160511100846.GC25975%40mail-itl
|
Great explanation and examples: https://groups.google.com/d/msgid/qubes-users/20160511100846.GC25975%40mail-itl |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
May 20, 2016
Member
This should be either linked to or incorporated into the documentation:
|
This should be either linked to or incorporated into the documentation: |
andrewdavidwong
referenced this issue
Jul 10, 2016
Open
reinstall template documentation: recommend qubesctl state.highstate #2157
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
maxsu
Mar 29, 2017
Thanks for finding those use cases. I found the salt documentation a bit abstract and general; it gets rather hectic/busy without first providing an easy entry-point or "hello world" case to allow a user to ease into creating their own states.
It turns out states by themselves can be pretty simple and I believe that before documenting the various salt states that are available it might be easier to link the user a simple tutorial. Something very simple for example:
- Here is how to configure a torrent client VM and route it through a dedicated VPN VM.
When I get around to doing that I'll write it up as a tutorial and push it to documentation as stand-alone tutorial or an inline example.
Imo this could really provide value to anyone daring to deploy Qubes in a development/operations type of environment (or just goofy enough to want to automate their personal work environment) - they'd certainly have their work cut out for them, so lets give them a basic starting point!
maxsu
commented
Mar 29, 2017
•
|
Thanks for finding those use cases. I found the salt documentation a bit abstract and general; it gets rather hectic/busy without first providing an easy entry-point or "hello world" case to allow a user to ease into creating their own states. It turns out states by themselves can be pretty simple and I believe that before documenting the various salt states that are available it might be easier to link the user a simple tutorial. Something very simple for example:
When I get around to doing that I'll write it up as a tutorial and push it to documentation as stand-alone tutorial or an inline example. Imo this could really provide value to anyone daring to deploy Qubes in a development/operations type of environment (or just goofy enough to want to automate their personal work environment) - they'd certainly have their work cut out for them, so lets give them a basic starting point! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Sounds good, @maxsu! Looking forward to the PR! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
tasket
Apr 7, 2017
@maxsu I would like to see that as well, as I want to create a salt state to setup a VPN.
I've been trying to learn saltstack for a few weeks now, but the documentation is outright novice-hostile. It spouts off about advanced options in the second or third paragraphs of each topic and rarely returns to Earth. An unfortunate example:
https://docs.saltstack.com/en/latest/ref/states/all/salt.states.file.html
To throw a little cold water on our 'appreciation' for salt, I thought I'd share this:
https://stevebennett.me/2014/02/17/one-week-of-salt-frustrations-and-reflections/
...the comments are pretty interesting as well. The upside is that the commiseration can lead to some constructive explanations and examples. It helps to know that salt syntax has an issue with inconsistency, so I can take a more 'cookbook' approach to learning it.
Recently, I thought I was making progress then realized salt states cannot refer to files with dots in them. So... why even try out the config?
As for Marek's two examples from qubes-users: One is heavily templated, the other is chopped-up into files with perplexingly generic names raising the question of where they should be saved and how they are executed. Also can't figure out why Qubes has salt dirs named with underscores, giving the impression the Qubes doc is referring to a salt configuration that is different than actual.
tasket
commented
Apr 7, 2017
|
@maxsu I would like to see that as well, as I want to create a salt state to setup a VPN. I've been trying to learn saltstack for a few weeks now, but the documentation is outright novice-hostile. It spouts off about advanced options in the second or third paragraphs of each topic and rarely returns to Earth. An unfortunate example: To throw a little cold water on our 'appreciation' for salt, I thought I'd share this: Recently, I thought I was making progress then realized salt states cannot refer to files with dots in them. So... why even try out the config? As for Marek's two examples from qubes-users: One is heavily templated, the other is chopped-up into files with perplexingly generic names raising the question of where they should be saved and how they are executed. Also can't figure out why Qubes has salt dirs named with underscores, giving the impression the Qubes doc is referring to a salt configuration that is different than actual. |
tasket
referenced this issue
Apr 8, 2017
Closed
Usage of state.highstate wreaks havoc on user configurations #2740
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
adrelanos
Jan 6, 2018
Member
sudo qubesctl top.enabled
sudo qubesctl top.disabled
sudo qubesctl state.sls qvm.anon-whonix
sudo qubesctl --templates pkg.upgrade
This is what sudo qubesctl state.sls qvm.anon-whonix does:
https://www.whonix.org/wiki/Dev/Qubes#salt
Related:
#3447
This is what Related: |
This was referenced Feb 17, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
awokd
Feb 17, 2018
the documentation is outright novice-hostile
This made me laugh but I have trouble bootstrapping myself from it too. I think Salt is even more important under R4.0, but don't have the skill set needed to update the document. Is @maxsu still out there?
awokd
commented
Feb 17, 2018
This made me laugh but I have trouble bootstrapping myself from it too. I think Salt is even more important under R4.0, but don't have the skill set needed to update the document. Is @maxsu still out there? |
andrewdavidwong commentedMay 11, 2016
Our Salt documentation is here: https://www.qubes-os.org/doc/salt/
After reading this page, I have trouble comprehending:
Related thread: https://groups.google.com/d/topic/qubes-users/zqr2mOxrSBE/discussion