Class: R10K::Environment::Bare

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

Constant Summary

Constants included from Util::Purgeable

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

Constants included from Logging

Logging::LOG_LEVELS

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, #deploy, #desired_contents, #initialize, #load_modules, #module_conflicts?, #modules, #purge_exclusions

Methods included from Util::Purgeable

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

Methods included from Logging

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/bare.rb', line 13

def signature
  'bare-default'
end

#statusObject



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

def status
  :not_applicable
end

#syncObject



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

def sync
  path.mkpath
end