I've found that I have to restart the puppetmaster in various
situations that I don't think it should need.

Generally, I restart it if:

1) I've mucked about with a bunch of variables
2) I've added custom facts or functions
3) I've made massive updates to modules

It seems to all work out then.

Trevor

On Mon, Nov 10, 2008 at 09:50, tek-ops <[EMAIL PROTECTED]> wrote:
>
> I just got it working, I had to restart puppetmaster, which seems like
> it shouldn't have been necessary although I had just replaced a string
> with the array ... so I don't know.
>
> On Nov 8, 7:13 am, Marcin Owsiany <[EMAIL PROTECTED]> wrote:
>> On Fri, Nov 07, 2008 at 07:18:11AM -0800, tek-ops wrote:
>>
>> > /etc/puppet/manifests/nodes.pp
>> > --------------------------------------------------------------------------------
>> > node "test1" {
>> >     $nameservers = ["192.168.0.2", "192.168.0.3"]
>> [...]
>> > nameserver 192.168.0.2192.168.0.3
>> > --------------------------------------------------------------------------------
>> [...]
>> > So essentially, if the array is declared in the nodes themselves, then
>> > the elements are concatenated.   Which is more odd since if an array
>> > is declared in /etc/puppet/modules/resolv/init.pp then is does work
>> > (no concatenation).
>>
>> Hmm, I definitely used this kind of enumeration in the past and it
>> worked correctly, although there were classes and defines involved.
>>
>> One thing I would suggest, is to rule out the possibility that you have
>> an outdated file somewhere (try sticking another dummy nameserver into
>> the array and see if it appears on the client).
>>
>> If you rule this out, then I definitely think this is a bug.
>>
>> --
>> Marcin Owsiany <[EMAIL PROTECTED]>              http://marcin.owsiany.pl/
>> GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
>>
>> "Every program in development at MIT expands until it can read mail."
>>                                                               -- Unknown
> >
>

--~--~---------~--~----~------------~-------~--~----~
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