Hi
for my dns servers the manifest (defines for the zones and keys) gets
pretty long. I have the same problem with my icinga configuration (host and
service checks, for hosts not running puppet (like switches and routers)
where I cannot use exported resources). I know I can put individual nodes
into separate .pp files I've already done that. What I am looking for is
some sort of simple inline include. Is there such a concept or maybe an
other way to simplify node definition.
My manifests look like this:
node dns-master-servers inherits... {
nsd::key { "key-name":
algorithm => "hmac-sha256",
secret => "random sha256 key",
}
nsd::key { ... # about 20 of those
}
nsd::zone { "example.com":
slaves => $nsd_slaves,
key => "key-name",
}
nsd::zone { ... # about 100 of those
}
}
Regards
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.