Is between "====" exactly what you're printing out? ================= --- YAML --- classes: - geodns::production::backend environment: production name: z01-06-02 parameters: puppet_server: z01-06-02 ==================
You shouldn't have the first line there, and testing shows it's not getting parsed correctly, but that should have been noted in the logs somewhere. Is there no warning about not being able to parse the output of the node classifier? # saved contents to /tmp/input.yaml $ irb >> require 'yaml' => true >> YAML.load_file("/tmp/input.yaml") ArgumentError: syntax error on line 4, col 1: ` environment: production' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:133:in `load' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:133:in `load' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:144:in `load_file' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:143:in `open' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/yaml.rb:143:in `load_file' from (irb):2 # remove first line. >> YAML.load_file("/tmp/input.yaml") => {"name"=>"z01-06-02", "parameters"=>{"puppet_server"=>"z01-06-02"}, "classes"=>["geodns::production::backend"], "environment"=>"production"} -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.