Sha256: 846f731af754471b92c9bc3dff964363df94c6a0d0847706ed730dd8da22e1e2
Contents?: true
Size: 563 Bytes
Versions: 12
Compression:
Stored size: 563 Bytes
Contents
require 'librarian/action/install' module Librarian module Puppet module Action class Install < Librarian::Action::Install private def create_install_path install_path.rmtree if install_path.exist? && destructive? install_path.mkpath end def destructive? environment.config_db.local['destructive'] == 'true' end def check_specfile # don't fail if Puppetfile doesn't exist as we'll use the Modulefile or metadata.json end end end end end
Version data entries
12 entries across 12 versions & 2 rubygems