Skip to content
Dump all hiera variables for a specific node
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
facter_to_hiera
hiera_dump

README.md

hiera_dump

Dump all hiera variables for a specific node It only works for the hiera yaml backend. It may work with hiera-eyaml, will probably fail for hiera-gpg at the moment.

Usage

install

git clone https://github.com/stefanandres/hiera_dump.git
PATH=$PWD:$PATH

use

  • Dump all local variables
./hiera_dump
  • Dump all variables for specific node by facts
./hiera_dump fqdn=myhost.com osfamily=RedHat
  • Dump all variables including the files where they originated from
./hiera_dump -s
You can’t perform that action at this time.