summaryrefslogtreecommitdiff
path: root/lib/chef/resource/python.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource/python.rb')
-rw-r--r--lib/chef/resource/python.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/chef/resource/python.rb b/lib/chef/resource/python.rb
index bcad3d090b..8c9e74217a 100644
--- a/lib/chef/resource/python.rb
+++ b/lib/chef/resource/python.rb
@@ -20,6 +20,10 @@ require "chef/provider/script"
class Chef
class Resource
+ # Use the python resource to execute scripts using the Python interpreter. This resource may also use any of the actions
+ # and properties that are available to the execute resource. Commands that are executed with this resource are (by
+ # their nature) not idempotent, as they are typically unique to the environment in which they are run. Use not_if and
+ # only_if to guard this resource for idempotence.
class Python < Chef::Resource::Script
def initialize(name, run_context = nil)
super