issue with custom functions returning as already defined [closed]

asked 2013-03-21 11:49:56 -0500

bothra gravatar image

updated 2013-03-22 14:30:58 -0500

We have two custom functions, and occasionally (maybe 3-4 times per day) all clients will report an error:

Thu Mar 21 11:34:14 -0400 2013 Puppet (err): Could not load downloaded file /var/lib/puppet/lib/puppet/parser/functions/downcase.rb: Function downcase already defined
Thu Mar 21 11:34:14 -0400 2013 Puppet (err): Could not load downloaded file /var/lib/puppet/lib/puppet/parser/functions/ip_to_cron.rb: Function ip_to_cron already defined

This began after performing a chmod 750 to /etc/puppet, prior to that there were no problems when permissions were set to 755.

on the puppet ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by bothra
close date 2013-03-22 14:30:29.391552

Comments

do you run the puppet master directly (e.g. /etc/init.d/puppetmaster start) or through passenger? You should also see the errors in /var/log/messages on your puppet ...(more)

Stefan gravatar imageStefan ( 2013-03-21 16:21:24 -0500 )edit