search for: global_networks_path

Displaying 1 result from an estimated 1 matches for "global_networks_path".

2007 Dec 13
4
access to databases in puppet - best practice?
...do it in puppet? You now - the best possible way of course :) For now I''m doing something like this: For dhcp and dns I use dnsmasq. So I''ve got module with template hosts.erb: <% require "#{config_dir}/tools/bbox.rb" -%> <% devs=BBOX::Devices.new "#{global_networks_path}/#{lan_dns_domain}" -%> <% devs.get_hosts.each do |host| -%> <%= host[''ip''] %> <%= host[''name''] %>.<%= lan_dns_domain %> <%= host [''name''] %> <% end -%> and dnsmasq.conf.erb: <% require "#...