hiera <key> # to query common.yaml only
hiera <key> -m <FQDN> # to query config of a given node (using mcollective)
hiera <key> -i <FQDN> # to query config of a given node (using Puppet inventory)
hiera <key> environment=production fqdn=myhost1 # to pass values for hiera.yaml
# To dump complex data
hiera -a <array key>
hiera -h <hash key>