Created
May 16, 2017 01:13
-
-
Save jpadams/c614bfe5fbbf549942b23b014541f857 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@tse-puppetmaster2-prod ~]# puppet query 'inventory[certname] { facts.os.name = "windows" }' | ./jq '.[].certname' | wc -l | |
| 69 | |
| [root@tse-puppetmaster2-prod ~]# puppet query 'inventory[certname] { facts.os.name = "windows" and nodes { deactivated is null } }' | ./jq '.[].certname' | wc -l | |
| 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment