Skip to content

Instantly share code, notes, and snippets.

View ggeldenhuis's full-sized avatar

Gerrard Geldenhuis ggeldenhuis

View GitHub Profile
class { 'r10k':
version => '1.3.2',
sources => {
'puppet' => {
'remote' => 'git@github.com:gjngeldenhuis/r10k-control.git',
'basedir' => "${::settings::confdir}/environments",
'prefix' => false,
}
},
purgedirs => ["${::settings::confdir}/environments"],
# This goes into the second-stage.ps1.erb file that can be found in the razor task directory.
# At this stage of the install you dealing with temporary drive letters.
# Creating file to ensure we include assured facts in Puppet Cert
New-Item -ItemType directory -Path "$($osDrive)\ProgramData\PuppetLabs\puppet\etc"
$csrattributes = "---`r`nextension_requests:`r`n `"1.3.6.1.4.1.34380.1.1.100`": Farnborough`r`n"
$csrattributes | out-file -Encoding ascii "$($osDrive)\ProgramData\PuppetLabs\puppet\etc\csr_attributes.yaml"
$templatedistro = { architecture => ['i386', 'amd64'] }
$distros = {
'ubuntu_trusty' => $templatedistro + {
'trusty' => {
location => 'http://archive.ubuntu.com/ubuntu',
release => 'trusty',
repos => ['restricted', 'multiverse']
},
'trusty-updates' => $templatedistro + {

Keybase proof

I hereby claim:

  • I am ggeldenhuis on github.
  • I am ggeldenhuis (https://keybase.io/ggeldenhuis) on keybase.
  • I have a public key whose fingerprint is D52D A2B4 085E 788E B173 85C8 7895 07EA 5485 EFD2

To claim this, I am signing this object:

# Option 1
class 'ssh' (
Enum['present', 'absent'] $ensure = present,
Boolean $manage_user_ssh_dir = true,
Hash $options = {},
Optional[Stdlib::Absolutepath] $target = undef,
Optional[Stdlib::Absolutepath] $user_home_dir = undef,
String $user = $name,
){