Displaying 1 result from an estimated 1 matches for "sshd_hash".
Did you mean:
sht_hash
2012 Aug 17
5
Hiera, Hashes, and Create_resources
...al: "10"
ClientAliveCountMax: "3"
# cat ../hiera.yaml
---
:backends:
- yaml
:logger: console
:hierarchy:
- %{hostname}
- common
:yaml:
:datadir: /usr/local/etc/puppet/hieradata
# cat Inuit.pp
class user {
$sshd_hash = hiera(servers)
create_resources(''sshd_lookup'', $sshd_hash)
}
define sshd_lookup ( $sshd_auth, $ClientAliveInterval, $ClientAliveCountMax,
$server_role, $location ) {
$data = hiera_hash(''servers'')
$sshd_type = $data[$hostname][&...