Skip to content

Instantly share code, notes, and snippets.

@riton
Created February 10, 2015 08:14
Show Gist options
  • Save riton/8e45fedf6e1188de54ae to your computer and use it in GitHub Desktop.
Save riton/8e45fedf6e1188de54ae to your computer and use it in GitHub Desktop.
create_resources_ssh_config
---
mymodule::profile::ssh_config:
'VerifyHostKeyDNS':
ensure: present
value : yes
'CanonicalizeHostname':
ensure: present
value : yes
'CanonicalDomains':
ensure: present
value : 'example.com'
class mymodule::profile::ssh_config {
$ssh_config = hiera_hash('mymodule::profile::ssh_config')
create_resources('ssh_config', $ssh_config)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment