Skip to content

This script will return inventory from puppetdb ordered per environment

License

Notifications You must be signed in to change notification settings

Hrachos/ansible-inventory-puppetdb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ansible-inventory-puppetdb

This script will return inventory from puppetdb ordered per environment

Example

[kayn@puppetdb ~]$ ./puppetdb.py
{
  "production": [
    "prod1.example.com", 
    "prod2.example.com"
  ], 
  "development": [
    "dev1.example.com", 
    "dev2.example.com", 
  ]
}

About

This script will return inventory from puppetdb ordered per environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%