I'm working with an mcollective agent that basically does `puppet apply` on nodes. This is the code snippet (ruby) which worked on puppet 2.7.x: cmd_line = [ "apply", "-l", log_file_path, "-d", "--report", true, "--reports", "r8report", "--storeconfigs_backend", "r8_storeconfig_backend", "-e", execute_string ] cmd = "/usr/bin/puppet" Puppet::Node::Environment.clear() Puppet::Util::CommandLine.new(cmd,cmd_line).execute
After upgrading pupept to 3.3.0, the same call fails with this error: #<NoMethodError: undefined method `start_with?' for true:TrueClass> (it happens on this exact place: https://github.com/puppetlabs/puppet/blob/3.3.0/lib/puppet/util/command_line.rb#L82) Now I'm guessing that Puppet::Util::CommandLine was changed in the meantime, but I can't find any relevant documentation on it should be used now. Any help is appreciated. Thanks in advance, DD -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.