Skip to content

Instantly share code, notes, and snippets.

@mrzarquon
mrzarquon / gist:7330341
Created November 6, 2013 03:19
Simple Site.pp
## site.pp ##
## Active Configurations ##
# PRIMARY FILEBUCKET
# This configures puppet agent and puppet inspect to back up file contents when
# they run. The Puppet Enterprise console needs this to display file contents
# and differences.
# Define filebucket 'main':

Keybase proof

I hereby claim:

  • I am mrzarquon on github.
  • I am mrzarquon (https://keybase.io/mrzarquon) on keybase.
  • I have a public key whose fingerprint is 96A4 CE6F 1697 213B 1E32 1556 2E3F 88DD 8BA8 D892

To claim this, I am signing this object:

get the puppet ca
curl -k https://puppetserver:8140/puppet-ca/v1/certificate/ca
@mrzarquon
mrzarquon / No provider needed
Created May 3, 2019 02:48
puppet hash to yaml file
$config_hash = {
'hosts' => $hosts.sort(),
'metrics_type' => $metrics_type,
'metrics_port' => $metrics_port,
'additional_metrics' => $additional_metrics,
'clientcert' => $::clientcert,
'pe_version' => $facts['pe_server_version'],
'ssl' => $ssl,
}