Skip to content

Instantly share code, notes, and snippets.

View mrzarquon's full-sized avatar

Chris Barker mrzarquon

View GitHub Profile
#!/bin/bash
# lazily modified from here: http://unix.stackexchange.com/questions/204069/all-possible-combinations-of-characters-and-numbers
for c1 in {A..Z} {a..z} {0..9}
do
for c2 in {A..Z} {a..z} {0..9}
do
for c3 in {A..Z} {a..z} {0..9}
do
for c4 in {A..Z} {a..z} {0..9}

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,
}