Paste P6497

docs missing from puppet API in 4.8
ActivePublic

Authored by Andrew on Dec 21 2017, 7:11 PM.
1​3.8:
2
3​curl -k https://localhost:8140/puppet/resource_types/role::puppetmaster::standalone?environment=production
4
5​[{"doc":"= Class: role::puppetmaster::standalone\n\nSets up a standalone puppetmaster, without frontend/backend\nseparation.\n\nUseful only in labs.\n\n== Parameters\n\n[*autosign*]\n Set to true to have puppetmaster automatically accept all\n certificate signing requests. Note that if you want to\n keep any secrets secure in your puppetmaster, you *can not*\n use this, and will have to sign manually.\n\n[*prevent_cherrypicks*]\n Set to true to prevent manual cherry-picking / modification of\n the puppet git repository. Is accomplished using git hooks.\n\n[*allow_from*]\n Array of CIDRs from which to allow access to this puppetmaster.\n Defaults to the entire 10.x range, so no real access control.\n\n[*git_sync_minutes*]\n How frequently should the git repositories be sync'd to upstream.\n Defaults to 10.\n\n[*extra_auth_rules*]\n A string that gets added to auth.conf as extra auth rules for\n the puppetmaster.\n\n[*server_name*]\n Hostname for the puppetmaster. Defaults to fqdn. Is used for SSL\n certificates, virtualhost routing, etc\n\n[*puppet_major_version*]\n Distinguishes version of puppet software e.g. 3 or 4\n\nfiltertags: labs-common\n","line":40,"file":"/etc/puppet/modules/role/manifests/puppetmaster/standalone.pp","parameters":{"autosign":"false","prevent_cherrypicks":"false","allow_from":"[\"10.0.0.0/8\"]","git_sync_minutes":"\"10\"","extra_auth_rules":"\"\"","server_name":"$::fqdn","use_enc":"true","labs_puppet_master":"hiera(\"labs_puppet_master\")","puppet_major_version":"hiera(\"puppet_major_version\", 3)"},"name":"role::puppetmaster::standalone","kind":"class"}]
6
7​4.8:
8
9​curl -k https://localhost:8140/puppet/v3/resource_types/role::puppetmaster::standalone?environment=production
10​[{"line":40,"file":"/etc/puppet/modules/role/manifests/puppetmaster/standalone.pp","parameters":{"autosign":"false","prevent_cherrypicks":"false","allow_from":"['10.0.0.0/8']","git_sync_minutes":"'10'","extra_auth_rules":"''","server_name":"$::fqdn","use_enc":"true","labs_puppet_master":"hiera('labs_puppet_master')","puppet_major_version":"hiera('puppet_major_version', 3)"},"name":"role::puppetmaster::standalone","kind":"class"}]
Andrew created this paste.Dec 21 2017, 7:11 PM