Skip to content

cjbirk/yaml2eyaml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

yaml2eyaml

Converts hiera-yaml files to hiera-eyaml.

This was created to make the move from yaml to encrypted eyaml easier. The use case for this was with Puppet, moving unencrypted hieradata to encrypted hieradata.

Important notes

This version does not retain comments made in original YAML files. Sorry :)

Requirements

hiera-eyaml: gem install hiera-eyaml

ruamel.yaml: pip install ruamel.yaml

Use

./yaml2eyaml /path/to/yaml/files/ /path/to/final/destination/

About

Converts yaml files to eyaml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages