Dear all,

I tried to use both yaml and json backends because some of my users
might not know Yaml.  However, when I ran hiera from the CLI, I could
only retrieve things from YAML and not in JSON.  The objects in JSON
are not overlapped with those in YAML.  I could retrieve all objects
when I ran YAML or JSON alone.

Is it possible to use both YAML and JSON as Hiera's backends? Or just
JSON + puppet or YAML + puppet or MySQL/Redis + puppet? Is Puppet
backend required as the second tier?

Thanks,
Steven.

cat hiera.yaml
---
:backends:
           - yaml
           - json

:hierarchy: - %{operatingsystem}
            - common
:yaml:
        :datadir: /etc/puppet/hierayaml_data

:json:
        :datadir: /etc/puppet/hierajson_data


ls hiera*data
hierajson_data:
common.json

hierayaml_data:
common.yaml  Ubuntu.yaml

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to