Re: [Puppet Users] Developing functions

2010-12-08 Thread Felix Frank
On 12/01/2010 04:04 PM, Trevor Hemsley wrote: > On 01/12/2010 14:53, Martijn Grendelman wrote: >> Hi Trevor, >>> More likely just adding >>> >>> usecacheonfailure = false >>> >>> to the [puppetd] stanza in /etc/puppet/puppet.conf will help. >> I am yet unfamiliar with that option, but just as a r

Re: [Puppet Users] Developing functions

2010-12-01 Thread Martijn Grendelman
On 01-12-10 13:40, Gary Larizza wrote: > How are you running puppet master - is it via Passenger and Apache? I > have noticed some caching going on with the 2.6 branch where I make > changes to manifests and those changes don't propagate immediately. > Usualy, a reload of Apache (and thus restart

Re: [Puppet Users] Developing functions

2010-12-01 Thread Naresh V
On 1 December 2010 20:34, Trevor Hemsley wrote: > > On 01/12/2010 14:53, Martijn Grendelman wrote: > > Hi Trevor, > > More likely just adding > > usecacheonfailure = false > > to the [puppetd] stanza in /etc/puppet/puppet.conf will help. > > I am yet unfamiliar with that option, but just as a rem

Re: [Puppet Users] Developing functions

2010-12-01 Thread Trevor Hemsley
On 01/12/2010 14:53, Martijn Grendelman wrote: > Hi Trevor, >> More likely just adding >> >> usecacheonfailure = false >> >> to the [puppetd] stanza in /etc/puppet/puppet.conf will help. > I am yet unfamiliar with that option, but just as a remark, there was > really no 'failure' involved here, it

Re: [Puppet Users] Developing functions

2010-12-01 Thread Martijn Grendelman
Hi Trevor, > More likely just adding > > usecacheonfailure = false > > to the [puppetd] stanza in /etc/puppet/puppet.conf will help. I am yet unfamiliar with that option, but just as a remark, there was really no 'failure' involved here, it was just that enhancements to my code weren't picked

Re: [Puppet Users] Developing functions

2010-12-01 Thread Trevor Hemsley
More likely just adding usecacheonfailure = false to the [puppetd] stanza in /etc/puppet/puppet.conf will help. On 01/12/2010 12:40, Gary Larizza wrote: > Martijn, > > How are you running puppet master - is it via Passenger and Apache? I > have noticed some caching going on with the 2.6 branch

Re: [Puppet Users] Developing functions

2010-12-01 Thread Gary Larizza
Martijn, How are you running puppet master - is it via Passenger and Apache? I have noticed some caching going on with the 2.6 branch where I make changes to manifests and those changes don't propagate immediately. Usualy, a reload of Apache (and thus restarting the puppet master - we use Passen

Re: [Puppet Users] Developing functions

2010-12-01 Thread Martijn Grendelman
On 01-12-10 01:19, Roy Nielsen wrote: > You also have to put the function in the right place on the server, not > just in: > > modules/mymodule/lib/puppet/parser/functions/ > > Try putting it in: > /var/puppet/lib/puppet/parser/functions/ > > as well. At least this is what was required in 0.25.

Re: [Puppet Users] Developing functions

2010-11-30 Thread Roy Nielsen
Hello, You also have to put the function in the right place on the server, not just in: modules/mymodule/lib/puppet/parser/functions/ Try putting it in: /var/puppet/lib/puppet/parser/functions/ as well. At least this is what was required in 0.25.1 :) Regards, -Roy On 11/30/10 6:43 AM, Ma

[Puppet Users] Developing functions

2010-11-30 Thread Martijn Grendelman
Hi, Today, while working on some functions in Puppet, I got back lots of unexpected results. Lots of times, it seemed like my changes in the code were not picked up when I re-ran the test-classes. Even functions that I removed from the code, after using them once or so, kept working after removal