class Librarian::Puppet::Action::Install
Private Instance Methods
Source
# File lib/librarian/puppet/action/install.rb, line 20 def check_specfile # don't fail if Puppetfile doesn't exist as we'll use metadata.json end
Source
# File lib/librarian/puppet/action/install.rb, line 11 def create_install_path install_path.rmtree if install_path.exist? && destructive? install_path.mkpath end
Source
# File lib/librarian/puppet/action/install.rb, line 16 def destructive? environment.config_db.local['destructive'] == 'true' end