lib/bolt/module_installer/specs/forge_spec.rb
# Creates a PuppetfileResolver::Puppetfile::ForgeModule object, which is
# used to generate a graph of resolved modules.
#
Creates a PuppetfileResolver::Puppetfile::ForgeModule object, which is
used to generate a graph of resolved modules.
Creates a PuppetfileResolver :: Puppetfile :: ForgeModule object which is used to generate a graph of resolved modules .
def to_resolver_module
          require 'puppetfile-resolver'
          PuppetfileResolver::Puppetfile::ForgeModule.new(@full_name).tap do |mod|
            mod.version = @version_requirement
          end
        end
def to_resolver_module require 'puppetfile-resolver' PuppetfileResolver :: Puppetfile :: ForgeModule . new ( @full_name ) . tap do | mod | mod . version = @version_requirement end end
Creates a PuppetfileResolver::Puppetfile::ForgeModule object, which is
used to generate a graph of resolved modules.
Creates a PuppetfileResolver :: Puppetfile :: ForgeModule object which is used to generate a graph of resolved modules .