Class: R10K::Environment::Plain

Inherits:
WithModules show all
Defined in:
lib/r10k/environment/plain.rb

Constant Summary

Constants included from Util::Purgeable

Util::Purgeable::FN_MATCH_OPTS, Util::Purgeable::HIDDEN_FILE

Constants included from Logging

Logging::LOG_LEVELS, Logging::SYSLOG_LEVELS_MAP

Instance Attribute Summary

Attributes inherited from WithModules

#moduledir

Attributes inherited from Base

#basedir, #desired_contents, #dirname, #loader, #managed_directories, #name, #path, #puppetfile, #puppetfile_name

Instance Method Summary collapse

Methods inherited from WithModules

#accept, #add_module, #cleanpath, #deploy, #desired_contents, #initialize, #load_modules, #module_conflicts?, #modules, #purge_exclusions, #resolve_path, #validate_install_path

Methods included from Util::Purgeable

#current_contents, #desired_contents, #logger, #managed_directories, #matches?, #pending_contents, #potentially_purgeable, #purge!, #stale_contents

Methods included from Logging

add_outputters, debug_formatter, default_formatter, default_outputter, #logger, #logger_name, parse_level

Methods inherited from Base

#accept, #deploy, #determine_purge_exclusions, #generate_types!, #info, #initialize, #load_puppetfile_modules, #module_conflicts?, #modules, #purge_exclusions, #whitelist

Constructor Details

This class inherits a constructor from R10K::Environment::WithModules

Instance Method Details

#signatureObject



13
14
15
# File 'lib/r10k/environment/plain.rb', line 13

def signature
  'plain-default'
end

#statusObject



9
10
11
# File 'lib/r10k/environment/plain.rb', line 9

def status
  :not_applicable
end

#syncObject



5
6
7
# File 'lib/r10k/environment/plain.rb', line 5

def sync
  path.mkpath
end