>
>
> I hadn't thought of just separating that information into its own YAML 
> file, that's an interesting solution and one I'll definitely be looking 
> into to.
>
> But then, information about one host is kept in multiple files and it 
would be my aim to wrap all specific info for one host into one yaml. so 
that once you remove the host, you only have to remove that file.
That yaml file should keep alle the specific params of that host. and every 
other module should be able to take advantage of that information. This is 
not only the case for dhcp, but for dns as well. and of course the 
/etc/network/interfaces file of the host itself.

And to avoid needless redundancy of information, certain values should be 
written into that file maximum once. so, the ipaddress for example must not 
be written in some dns config yaml file as well. and in the hostname.yaml. 
Should you decide to change the ipaddress, you definitely forget either the 
bind or the dhcp config.

I realize that this might lead into a feature req for Hiera. 
There must simply be a way to tell the dhcp and bind modules to have a look 
in all hostname.yaml files to collect all ipaddresses and macaddresses and 
hostnames.

Best regards,
Alex

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/u-KBZGO95uoJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to