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

Fix default values for hiera_data_remote_path based on puppet_version #167

Conversation

nicolasvan
Copy link
Contributor

Following up on #166 this change sets the default value of hiera's datadir based on the version of puppet installed.

  • For puppet v3 (no change):
    • windows: C:/ProgramData/PuppetLabs/hiera/var
    • linux: /var/lib/hiera
  • For puppet v4 and later:
    • windows: C:/ProgramData/PuppetLabs/code/environments/production/hieradata
    • linux: /etc/puppetlabs/code/environments/production/hieradata

puppet v3:
  windows: C:/ProgramData/PuppetLabs/hiera/var
  linux: /var/lib/hiera

puppet v4+:
  windows: C:/ProgramData/PuppetLabs/code/environments/production/hieradata
  linux: /etc/puppetlabs/code/environments/production/hieradata
@nicolasvan nicolasvan force-pushed the hiera_data_remote_path-default-values branch from 558feea to 912c834 Compare May 8, 2017 12:13
@neillturner neillturner merged commit ff07b62 into neillturner:master May 8, 2017
@nicolasvan nicolasvan deleted the hiera_data_remote_path-default-values branch May 9, 2017 08:26
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