lib/bolt/application.rb
# Add a new module to the project.
#
# @param name [String] The name of the module to add.
# @param outputter [Bolt::Outputter] An outputter instance.
# @return [Boolean]
#
Add a new module to the project.
Add a new module to the project .
def add_module(name, outputter)
      assert_project_file(config.project)
      installer = Bolt::ModuleInstaller.new(outputter, pal)
      installer.add(name,
                    config.project.modules,
                    config.project.puppetfile,
                    config.project.managed_moduledir,
                    config.project.project_file,
                    @plugins.resolve_references(config.module_install))
    end
def add_module ( name , outputter ) assert_project_file ( config . project ) installer = Bolt :: ModuleInstaller . new ( outputter , pal ) installer . add ( name , config . project . modules , config . project . puppetfile , config . project . managed_moduledir , config . project . project_file , @plugins . resolve_references ( config . module_install ) ) end
Add a new module to the project.
Add a new module to the project .
None
Boolean
name
The name of the module to add.
The name of the module to add .
outputter
An outputter instance.
An outputter instance .