Skip to content

Instantly share code, notes, and snippets.

@benjaminws
Created October 3, 2012 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save benjaminws/3829272 to your computer and use it in GitHub Desktop.
Save benjaminws/3829272 to your computer and use it in GitHub Desktop.
extra forge section?
Cannot bounce Puppetfile.lock! Here's a diff:
FORGE
remote: http://forge.puppetlabs.com
specs:
puppetlabs/apt (0.0.4)
puppetlabs/stdlib (>= 2.2.1)
puppetlabs/stdlib (3.0.1)
puppetlabs/xinetd (1.1.0)
ripienaar/concat (0.2.0)
-FORGE
- remote: http://forge.puppetlabs.com
- specs:
- puppetlabs/apt (0.0.4)
- puppetlabs/stdlib (>= 2.2.1)
- puppetlabs/stdlib (3.0.1)
- puppetlabs/xinetd (1.1.0)
- ripienaar/concat (0.2.0)
-
unless bounced_lockfile_text == lockfile_text
debug { "lockfile_text: \n#{lockfile_text}"}
debug { "bounced_lockfile_text: \n#{bounced_lockfile_text}"}
raise Error, "Cannot bounce #{lockfile_name}! Here's a diff:\n #{Diffy::Diff.new(lockfile_text, bounced_lockfile_text)}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment