Sha256: d4a0a5b4b617dec1662620647f7a43f1c1d166f5c9d3565e9ffd14641e4f9ac3
Contents?: true
Size: 527 Bytes
Versions: 12
Compression:
Stored size: 527 Bytes
Contents
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 & 1 rubygems