On 24/03/15 05:03 PM, Christopher Wood wrote: > On Tue, Mar 24, 2015 at 04:30:27PM -0400, Gabriel Filion wrote: >> I'm having issues with one server when it tries to apply a super simple >> file resource that ensures a file is absent: >> >> file { '/etc/munin/plugin-conf.d/uptime.conf': ensure => absent } >> >> I can easily replicate this with a puppet apply -e of the above line. >> >> I get the following error: >> >> err: /Stage[main]//File[/etc/munin/plugin-conf.d/uptime.conf]: Could not >> evaluate: undefined method `[]=' for :chec:Symbol >> >> The weird thing is that it's the only server where this is happening. >> Other servers that are using the same package versions can apply the >> same resource without any issue. >> >> I'm using the debian packages from wheezy, so puppet 2.7.23 with ruby 1.9.1 > > It reminds me vaguely of something I found in wheezy but I may have typo'ed > the version number, and you're getting a different error. > > https://groups.google.com/forum/#!msg/puppet-users/4rk31Q1IzNY/g8mBTaXrRCIJ > > https://projects.puppetlabs.com/issues/14599 > > https://github.com/puppetlabs/puppet/commit/b572810ed20734eca88358ebdc757674a9af3c00
it doesn't look like what I'm seeing unfortunatly, plus: > You might check if the whole directory path exists, and if you get the same > error after "mkdir -p /etc/munin/plugin-conf.d/". the path /etc/munin/plugin-conf.d/ already exists and has a bunch files in it already (all managed by puppet, too). > Failing that, strace'ing might show you something more useful. I'll see what I can find with strace... >> This happens whether I configure ruby 1.9.1 or 1.8.7 as the version to >> run with the "ruby" executable. >> >> Has anyone already seen such a problem before? is there any more setup >> info that I should verify to find differences between the working >> servers and the one that isn't? -- Gabriel Filion -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/5514DF20.3070709%40lelutin.ca. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature