Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow arbitrary YAML config #6

Merged
merged 2 commits into from
Aug 1, 2013

Conversation

dgoodlad
Copy link
Contributor

By passing a string to the extra_config parameter you can add a custom fragment to the end of the config file.

We use this to configure the gpg backend, for example:

class { 'hiera':
  backends => ['gpg', 'yaml'],
  extra_config => '
:gpg:
  :datadir: /etc/puppet/environments/%{::environment}/hiera
  :keydir: /var/lib/puppet/gpg'
  # ...
}

hunner added a commit that referenced this pull request Aug 1, 2013
@hunner hunner merged commit 5cea338 into voxpupuli:master Aug 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants