Skip to content
Snippets Groups Projects
Verified Commit ee1b72bf authored by anarcat's avatar anarcat
Browse files

add simple host list command

parent a24a57c2
No related branches found
No related tags found
No related merge requests found
Listing all hosts under puppet
==============================
This will list all active hosts known to the Puppet master:
ssh -t pauli.torproject.org 'sudo -u postgres psql puppetdb -P pager=off -A -t -c "SELECT c.certname FROM certnames c WHERE c.deactivated IS NULL"'
The following will list all hosts under Puppet and their `virtual`
value:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment