# File lib/librarian/puppet/action/install.rb, line 17 def check_specfile # don't fail if Puppetfile doesn't exist as we'll use the Modulefile or metadata.json end
# File lib/librarian/puppet/action/install.rb, line 8 def create_install_path install_path.rmtree if install_path.exist? && destructive? install_path.mkpath end
# File lib/librarian/puppet/action/install.rb, line 13 def destructive? environment.config_db.local['destructive'] == 'true' end