Issue #2621 has been updated by Allan Marcus.

With 0.25.1 rc1 on Mac OS X I still see lots of

debug: Format s not supported for Puppet:....; has not implemented  
method 'from_s'
debug: Puppet::Network::Format[json]: false value when expecting true

error notices, although I don't think there is an adverse affect. Pleae let me 
know if this is related and/or you want more info.
----------------------------------------
Bug #2621: possible JSon serialization issue (on debian/lenny/amd64)
http://projects.reductivelabs.com/issues/2621

Author: Guillaume Galliot
Status: Closed
Priority: Normal
Assigned to: Markus Roberts
Category: serialization
Target version: 0.25.1
Affected version: 0.25.0
Keywords: json
Branch: 


On a fresh server running Debian/lenny-amd64

<pre>
# site.pp
node default {
        exec { test:
                command => "/etc/init.d/lldpd restart",
        }
}
</pre>
<pre>
# Master
puppetmasterd --debug --no-daemonize --trace
</pre>

<pre>
# Client
puppetd --test -d

[...]
debug: Format s not supported for Puppet::Resource::Catalog; has not 
implemented method 'from_s'
info: Caching catalog for s000.xxxx.xxx
err: Could not run Puppet configuration client: '/etc/init.d/lldpd restart' is 
both unqualifed and specified no search path at /etc/puppet/manifests/site.pp:5
</pre>

if you edit /usr/lib/ruby/1.8/puppet/type/exec.rb line 613 and print the value 
of cmd.class you can see the variable cmd is an array and not a string as 
expected (?)

If you remove libruby-json package & gem all works ok ...

Tried on a fresh Colinux/Debian/Lenny install => as soon as json or pure_json 
gem or package is installed I get the error, I also tried json 1.1.3 1.1.6 & 
1.1.9, same issue

Cheers,
/guillaume


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to