Issue #2446 has been updated by aaron b. Status changed from Unreviewed to Closed
I updated to ruby 1.8.7 patch 174 and the problem went away. Thanks for your assistance. ---------------------------------------- Bug #2446: ruby 1.8.7 error executing exec http://projects.reductivelabs.com/issues/2446 Author: aaron b Status: Closed Priority: Normal Assigned to: Category: Target version: Complexity: Unknown Affected version: 0.24.8 Keywords: We have a test machine (Redhat 5, 2.6.18-8.el5) with ruby 1.8.7 (patchlevel 0) in which puppet mostly works. The only problem that we're having right now is that any call to exec{} fails with the error: debug: //Node[kiki]/testing/sysctl/Exec[/bin/true]: Executing '/bin/true' debug: Executing '/bin/true' wrong number of arguments (2 for 1) err: //Node[kiki]/testing/sysctl/Exec[/bin/true]: Failed to call refresh on Exec[/bin/true]: /bin/true returned 1 instead of 0 at /etc/puppet/modules/sysctl/manifests/init.pp:15 The code that caused the error was: exec { "/bin/true": subscribe => File["/etc/sysctl.conf"], refreshonly => true } This same manifest works fine on ruby 1.8.6 (patchlevel 287) clients. Is ruby 1.8.7 supported or should we revert back to 1.8.6? (or am I just a total idiot and doing something completely wrong) Attached is the full client log output. -- 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://reductivelabs.com/redmine/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 -~----------~----~----~----~------~----~------~--~---
