for me, that only works if I specify $nameserver in the manifest for
my resolv.conf module.  If I specify it in the node (i.e. configuring
one node to use different name servers), it concatenates the two
nameserver array elements to a single array.

On Nov 5, 9:44 pm, Aj <[EMAIL PROTECTED]> wrote:
> search my.domain.tld
> <% nameserver.each do |n| %>
> nameserver <%= n %>
> <% end %>
>
> On 6/11/2008, at 7:52 AM, tek-ops <[EMAIL PROTECTED]> wrote:
>
>
>
> > no one has dealt with this before?
>
> > On Nov 3, 4:39 pm, tek-ops <[EMAIL PROTECTED]> wrote:
> >> I appear that this will only work if the array is declared in the
> >> manifest.
>
> >> I'm attempting to make resolv.conf a template in which I can specify
> >> by node which array of name servers to use.  which looks like this:
> >> $nameserver = [ "1.2.3.4", "1.2.3.5"]
>
> >> This works fine if it's declared in the manifest, however if declare
> >> in the nodes.pp if merely concatenates the two name servers' IPs
> >> together .  Is there a different syntax to use in the nodes.pp file?
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to