diff options
| author | Daniel Pittman <daniel@puppetlabs.com> | 2011-02-03 16:21:51 -0800 |
|---|---|---|
| committer | Daniel Pittman <daniel@rimspace.net> | 2011-02-03 16:21:51 -0800 |
| commit | 69600bea8a5cc30162d6f07f5e2fc1b701081a8a (patch) | |
| tree | cddea679f2c1ad1195017e429d08dcc83655c54e /lib | |
| parent | 7a061409bd0490e5a9ef11a68260deb4f6e3b7ab (diff) | |
| parent | 04ea8269e70e9c1f81394ac6da2b48dcfb49b1d5 (diff) | |
| download | puppet-69600bea8a5cc30162d6f07f5e2fc1b701081a8a.tar.gz puppet-69600bea8a5cc30162d6f07f5e2fc1b701081a8a.tar.xz puppet-69600bea8a5cc30162d6f07f5e2fc1b701081a8a.zip | |
Merge branch 'bug/2.6.next/5823-allow-run-mode-to-cut-your-hand-off' into 2.6.next
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/puppet/application.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/puppet/application.rb b/lib/puppet/application.rb index b944a554e..c3d7355f6 100644 --- a/lib/puppet/application.rb +++ b/lib/puppet/application.rb @@ -270,6 +270,13 @@ class Application require 'puppet' end + # WARNING: This is a totally scary, frightening, and nasty internal API. We + # strongly advise that you do not use this, and if you insist, we will + # politely allow you to keep both pieces of your broken code. + # + # We plan to provide a supported, long-term API to deliver this in a way + # that you can use. Please make sure that you let us know if you do require + # this, and this message is still present in the code. --daniel 2011-02-03 def set_run_mode(mode) @run_mode = mode $puppet_application_mode = @run_mode |
