Class: R10K::Environment::Bare
- Inherits:
-
Plain
- Object
- Base
- WithModules
- Plain
- R10K::Environment::Bare
- 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, Logging::SYSLOG_LEVELS_MAP
Instance Attribute Summary
Attributes inherited from WithModules
Attributes inherited from Base
#basedir, #desired_contents, #dirname, #loader, #managed_directories, #name, #path, #puppetfile, #puppetfile_name
Instance Method Summary collapse
-
#initialize(name, basedir, dirname, options = {}) ⇒ Bare
constructor
A new instance of Bare.
- #signature ⇒ Object
Methods inherited from Plain
Methods inherited from WithModules
#accept, #add_module, #cleanpath, #deploy, #desired_contents, #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, #load_puppetfile_modules, #module_conflicts?, #modules, #purge_exclusions, #status, #sync, #whitelist
Constructor Details
#initialize(name, basedir, dirname, options = {}) ⇒ Bare
Returns a new instance of Bare.
5 6 7 8 |
# File 'lib/r10k/environment/bare.rb', line 5 def initialize(name, basedir, dirname, = {}) logger.warn _('"bare" environment type is deprecated; please use "plain" instead (environment: %{name})') % {name: name} super end |
Instance Method Details
#signature ⇒ Object
10 11 12 |
# File 'lib/r10k/environment/bare.rb', line 10 def signature 'bare-default' end |