class Onceover::CLI::Update::Puppetfile
Public Class Methods
command()
click to toggle source
# File lib/onceover/cli/update.rb, line 24 def self.command @command ||= Cri::Command.define do name 'puppetfile' usage 'puppetfile' summary 'Update all modules in the Puppetfile' description <<-DESCRIPTION Updates all modules to their latest version and writes that file back onto the system over the original Puppetfile. DESCRIPTION run do |opts, args, cmd| # Print out the description Onceover::Controlrepo.new(opts).update_puppetfile exit 0 end end end