Issue #9901 has been updated by Daniel Pittman.
Awesome. Can you change the puppet variable `daemonize` in the redis module to
something, anything, else, please?
Specifically, like the `fork` variable, and any other "variable" that we try to
look up through the `method_missing` hook, if `Object` or `Kernel` define
something overlapping it will take precedence.
You could also use the member variable syntax `<%= @daemonize %>` rather than
the method syntax `<%= daemonize %>` here:
/home/ubuntu/sources/git/puppet/lib/puppet/util/monkey_patches.rb:59:in
`daemonize'
/data/sources/git/krux_interchange.2-jib/puppet-new/puppet/env/development/krux-modules/kredis/templates/redis.conf.erb:17:in
`result'
/home/ubuntu/sources/git/puppet/lib/puppet/parser/templatewrapper.rb:106:in
`result'
Specifically, you want the `kredis` module, `redis.conf.erb` template, line 17,
as that trace indicates. :)
I have linked #1427, which is the other report of this same problem. With an
entertaining submitter.
----------------------------------------
Bug #9901: 2.7.3 ubuntu package triggers 'Kernel.daemonize is too dangerous'
where 2.6.3 did not
https://projects.puppetlabs.com/issues/9901
Author: Jos Boumans
Status: Accepted
Priority: High
Assignee: Nick Lewis
Category: server
Target version: 2.7.x
Affected Puppet version:
Keywords:
Branch:
Hi, when trying to update to 2.7.3, our (2.6.3) clients started getting puppet
errors. The
logs show the following line:
<pre>
Oct 4 21:09:59 puppet-agent[2753]: Could not retrieve catalog from remote
server: Error 400 on SERVER: Kernel.daemonize is too dangerous, please don't
try to use it.
</pre>
We're running Ubuntu 10.04 on EC2 using the official canonical images. The
server
was running 2.6.3 from mathiaz' ppa and is again after a downgrade which made
the issues go away:
<pre>
$ dpkg -l|grep puppet
ii puppet 2.6.3-0ubuntu1~lucid1
Centralized configuration management - agent
ii puppet-common 2.6.3-0ubuntu1~lucid1
Centralized configuration management
ii puppet-dashboard 1.1.0-1
Dashboard for Puppet
ii puppetmaster-common 2.6.3-0ubuntu1~lucid1 Puppet
master common scripts
ii puppetmaster-passenger 2.6.3-0ubuntu1~lucid1
Centralised configuration management - master
</pre>
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.