Skip to content

Commit

Permalink
Updated to skip verifications if empty - keeps logging quieter for pa…
Browse files Browse the repository at this point in the history
…ckages that don't have any verification blocks
  • Loading branch information
crafterm committed Aug 2, 2008
1 parent fdc0de0 commit 32510c5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/sprinkle/package.rb
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ def process(deployment, roles)
end

def process_verifications(deployment, roles, pre = false)
return if @verifications.blank?

if pre
logger.info "--> Checking if #{self.name} is already installed for roles: #{roles}"
else
Expand Down

0 comments on commit 32510c5

Please sign in to comment.