Issue #2943 has been updated by Markus Roberts.
Revised branch up, same place. No with marginally better tests (they pass, test for the use of the specified format, and are slightly more aligned to testing what they say they are). ---------------------------------------- Bug #2943: puppet --apply only suppots PSON http://projects.reductivelabs.com/issues/2943 Author: Dan Bode Status: Re-opened Priority: Normal Assigned to: Markus Roberts Category: serialization Target version: 0.25.2 Affected version: 0.25.1 Keywords: Branch: http://github.com/MarkusQ/puppet/tree/ticket/0.25.x/2943 PSON is the hardcoded catalog format for --apply file: puppet/application/puppet.rb <pre> 42 command(:apply) do 43 require 'puppet/configurer' 44 45 if options[:catalog] == "-" 46 text = $stdin.read 47 else 48 text = File.read(options[:catalog]) 49 end 50 51 begin 52 catalog = PSON.parse(text) 53 unless catalog.is_a?(Puppet::Resource::Catalog) 54 catalog = Puppet::Resource::Catalog.pson_create(ca talog) 55 end </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://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.
