lib/bolt/module_installer/puppetfile/forge_module.rb
# Returns a Puppetfile module specification.
#
Returns a Puppetfile module specification.
Returns a Puppetfile module specification .
def to_spec
          if @version
            "mod '#{@full_name}', '#{@version}'"
          else
            "mod '#{@full_name}'"
          end
        end
def to_spec if @version "mod '#{@full_name}', '#{@version}'" else "mod '#{@full_name}'" end end
Returns a Puppetfile module specification.
Returns a Puppetfile module specification .