On Tue, Mar 24, 2015 at 04:30:27PM -0400, Gabriel Filion wrote: > Hello, > > 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 You might check if the whole directory path exists, and if you get the same error after "mkdir -p /etc/munin/plugin-conf.d/". Failing that, strace'ing might show you something more useful. I can't replicate using 3.7.2, and there are wheezy-compatible apt repositories available at apt.puppetlabs.com. Food for thought? > 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/5511C963.9070901%40lelutin.ca. > For more options, visit https://groups.google.com/d/optout. -- 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/20150324210309.GA28485%40iniquitous.heresiarch.ca. For more options, visit https://groups.google.com/d/optout.