Module Puppet::Util
In: lib/puppet/util/config_store.rb
lib/puppet/util.rb

Methods

Classes and Modules

Module Puppet::Util::Autoload
Module Puppet::Util::Backups
Module Puppet::Util::CacheAccumulator
Module Puppet::Util::Cacher
Module Puppet::Util::Checksums
Module Puppet::Util::ClassGen
Module Puppet::Util::CollectionMerger
Module Puppet::Util::ConstantInflector
Module Puppet::Util::Diff
Module Puppet::Util::Docs
Module Puppet::Util::Errors
Module Puppet::Util::Execution
Module Puppet::Util::FileLocking
Module Puppet::Util::FileParsing
Module Puppet::Util::Graph
Module Puppet::Util::IniConfig
Module Puppet::Util::InstanceLoader
Module Puppet::Util::Ldap
Module Puppet::Util::LogPaths
Module Puppet::Util::Logging
Module Puppet::Util::MethodHelper
Module Puppet::Util::NagiosMaker
Module Puppet::Util::POSIX
Module Puppet::Util::Package
Module Puppet::Util::ProviderFeatures
Module Puppet::Util::Pson
Module Puppet::Util::Queue
Module Puppet::Util::RDoc
Module Puppet::Util::ReferenceSerializer
Module Puppet::Util::SELinux
Module Puppet::Util::SUIDManager
Module Puppet::Util::Settings
Module Puppet::Util::SubclassLoader
Module Puppet::Util::Tagging
Module Puppet::Util::Warnings
Class Puppet::Util::Autoload
Class Puppet::Util::ConfigStore
Class Puppet::Util::Feature
Class Puppet::Util::FileType
Class Puppet::Util::LoadedFile
Class Puppet::Util::Log
Class Puppet::Util::Metric
Class Puppet::Util::Pidlock
Class Puppet::Util::Reference
Class Puppet::Util::ResourceTemplate
Class Puppet::Util::Settings
Class Puppet::Util::Storage

Public Class methods

Change the process to a different user

Proxy a bunch of methods to another object.

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.

Proxy a bunch of methods to another object.

XXX this should all be done using puppet objects, not using normal mkdir

Return the sync object associated with a given resource.

Execute a given chunk of code with a new umask.

Public Instance methods

Execute the provided command in a pipe, yielding the pipe object.

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.

Just benchmark, with no logging.

util_execute(command, arguments = {:failonfail => true, :combine => true})

Alias for execute

[Validate]