Skip to content

torrancew/hiera-foreman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foreman Backend for Hiera

A pluggable hiera backend that queries a foreman server for data.

Notes

Since foreman has its own configurable search hierarchy, hiera-foreman does not attempt to implement hierarchy in any way currently.

Configuration

You will need to edit your hiera.yaml config file to include a foreman url, as well as a username, and password, if you're using HTTP Basic Auth.

---
:backends:
  - foreman
  - yaml

:logger: console

:hierachy:
  - %{fqdn}
  - common

:yaml:
  :datadir: '/etc/puppet/hieradata'

:foreman:
  :url: 'http://foreman.cas.unt.edu'
  :user: 'USERNAME'
  :pass: 'PASSWORD'

Contributors

  • @mchugh19 - SmartVar Queries, calling from within puppet functions
  • @ohadlevy - Inspiration and guidance

License

Apache License, v2.0

Contact

For bugs, please file an issue in the GitHub tracker.

To hack, feel free to fork, contribute and submit a pull request.

Otherwise, feel free to send me a message on GitHub or IRC.

###IRC: torrancew on Freenode, EFNet

About

A hiera backend that queries the Foreman for data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages