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