Skip to content

Instantly share code, notes, and snippets.

@brandonweeks
Created February 6, 2016 00:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brandonweeks/bc72082ab65c17b11396 to your computer and use it in GitHub Desktop.
Save brandonweeks/bc72082ab65c17b11396 to your computer and use it in GitHub Desktop.
web-router-service: {
<%- if scope.function_versioncmp([@puppetversion, '4.0']) >= 0 -%>
# These two should not be modified because the Puppet 4.x agent expects them to
# be mounted at these specific paths
"puppetlabs.services.ca.certificate-authority-service/certificate-authority-service": "/puppet-ca"
"puppetlabs.services.master.master-service/master-service": "/puppet"
"puppetlabs.services.legacy-routes.legacy-routes-service/legacy-routes-service": ""
<%- else -%>
# These two should not be modified because the Puppet 3.x agent expects them to
# be mounted at "/"
"puppetlabs.services.ca.certificate-authority-service/certificate-authority-service": ""
"puppetlabs.services.master.master-service/master-service": ""
<%- end -%>
# This controls the mount point for the puppet admin API.
"puppetlabs.services.puppet-admin.puppet-admin-service/puppet-admin-service": "/puppet-admin-api"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment