Hi all, I'll use puppet to manage +/- 10 servers, but I'm facing some problems about facter variables, dashboard and parameters.
I try to use this module : http://projects.puppetlabs.com/projects/1/wiki/Resolv_Conf_Patterns class resolver { # noop } define resolv_conf($domainname = "$domain", $searchpath, $nameservers) { file { "/etc/resolv.conf": owner => root, group => root, mode => 644, content => template("resolver/resolv.conf.erb"), } } with this template : domain <%= domainname %> <% if !searchpath.empty? %>search <%= searchpath.join(" ") %> <% end -%> <% nameservers.each do |ns| %>nameserver <%= ns %> <% end -%> But ... I wish to pass the parameters via the dashboard and use facter as source. For exemple : searchpath $domain <-- returned by facter in the inventory. The problem is the define keyword, the class is never taken into account in the dashboard. Could you help me ? Many thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.