Class R10K::Puppetfile
In: lib/r10k/puppetfile.rb
Parent: Object

Methods

Included Modules

R10K::Logging R10K::Util::Purgeable

Classes and Modules

Class R10K::Puppetfile::DSL

Attributes

basedir  [R]  @!attribute [r] basedir
  @return [String] The base directory that contains the Puppetfile
forge  [R]  @!attribute [r] forge
  @return [String] The URL to use for the Puppet Forge
moduledir  [R]  @!attribute [r] moduledir
  @return [String] The directory to install the modules #{basedir}/modules
modules  [R]  @!attribute [r] modules
  @return [Array<R10K::Module>]
puppetfile_path  [R]  @!attrbute [r] puppetfile_path
  @return [String] The path to the Puppetfile

Public Class methods

@param [String] basedir @param [String] puppetfile The path to the Puppetfile, default to #{basedir}/Puppetfile

Public Instance methods

@param [String] name @param [*Object] args

List all modules that should exist in the module directory @note This implements a required method for the Purgeable mixin @return [Array<String>]

@param [String] forge

@param [String] moduledir

[Validate]