After
reading how-do-i-list-all-connected-salt-stack-minions
I wrote the below script.
The result is consistent with `salt-run manage.status`
While I seem to have my answer, the approach needs confirmation, e.g.:
- how stable (across releases) are the file structures of
/etc/salt/pki/master/minions and /var/cache/salt/master/minions ?
- why manage.status waits 10 seconds?
- is "last-seen time older than 1 hour" equivalent to
"up" and "down"?
Thank you
While I seem to have my answer, the approach needs confirmation, e.g.:
- how stable (across releases) are the file structures of /etc/salt/pki/master/minions and /var/cache/salt/master/minions ?
- why manage.status waits 10 seconds?
- is "last-seen time older than 1 hour" equivalent to "up" and "down"?
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
While I seem to have my answer, the approach needs confirmation, e.g.:
- how stable (across releases) are the file structures of /etc/salt/pki/master/minions and /var/cache/salt/master/minions ?What do you mean by "stable"? They don't get deleted with new releases, if that's what you're asking.
You received this message because you are subscribed to a topic in the Google Groups "Salt-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/salt-users/MBQJSiHHNSI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to salt-users+...@googlegroups.com.