saltstack/salt — pull request #2715 by andrewbunday (2012-11-27 14:12:25+00:00)
Title: Develop

Hi,

A few modifications to make a puppet run play nicely with salt master.

* removed ansi coloured output from puppet.
* fixed puppet.run with no arguments provided so that the test options are added to the command line.
* actually removed the --test argument and replaced it with other options which test is an alias for.
this is to prevent puppet returning non-zero when a change occurs, which causes salt to believe the
run failed.
* manually stripping out __pub_* kwargs provided to the run/noop functions which were being passed
through as arguments to puppet.