Issue #2943 has been updated by James Turnbull.

Status changed from Ready for Checkin to Closed

Pushed in commit:"5e5c8b5414a69d79830b79392f0addce245c6911" in branch 0.25.x
----------------------------------------
Bug #2943: puppet --apply only suppots PSON
http://projects.reductivelabs.com/issues/2943

Author: Dan Bode
Status: Closed
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.


Reply via email to