Module | Puppet::Util |
In: |
lib/puppet/util/config_store.rb
lib/puppet/util.rb |
Create instance methods for each of the log levels. This allows the messages to be a little richer. Most classes will be calling this method.
Execute the desired command, and return the status and output. def execute(command, failonfail = true, uid = nil, gid = nil) :combine sets whether or not to combine stdout/stderr in the output :stdinfile sets a file that can be used for stdin. Passing a string for stdin is not currently supported.