Last active
June 26, 2018 17:58
-
-
Save binford2k/ffead8412a29529c19a3800561949bbd to your computer and use it in GitHub Desktop.
authorization rule examples for some puppetserver API endpoints
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puppet_authorization::rule { 'puppetlabs environment cache': | |
match_request_path => '/puppet-admin-api/v1/environment-cache', | |
match_request_type => 'path', | |
match_request_method => 'delete', | |
allow => $_puppet_admin_certs, | |
sort_order => 500, | |
path => "${confdir}/conf.d/auth.conf", | |
} | |
puppet_authorization::rule { 'puppetlabs jruby pool': | |
match_request_path => '/puppet-admin-api/v1/jruby-pool', | |
match_request_type => 'path', | |
match_request_method => 'delete', | |
allow => $_puppet_admin_certs, | |
sort_order => 500, | |
path => "${confdir}/conf.d/auth.conf", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment