[DRE-commits] [librarian-puppet] 56/153: Better error if update fails when lock is out of sync
Stig Sandbeck Mathisen
ssm at debian.org
Wed Jun 1 20:30:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
ssm pushed a commit to branch master
in repository librarian-puppet.
commit 4be2c565cd35dc36323bfbc537eb1991c86eef32
Author: Carlos Sanchez <csanchez at maestrodev.com>
Date: Sat Aug 23 09:43:52 2014 +0200
Better error if update fails when lock is out of sync
---
lib/librarian/puppet/extension.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librarian/puppet/extension.rb b/lib/librarian/puppet/extension.rb
index 48c7a9a..a69ba6d 100644
--- a/lib/librarian/puppet/extension.rb
+++ b/lib/librarian/puppet/extension.rb
@@ -99,7 +99,7 @@ module Librarian
next if deps.include?(name)
deps << name
- raise(Error, "Unable to find module #{name}") if index[name].nil?
+ raise(Error, "Unable to find module #{name}. Your Puppetfile may be out of sync with the lock, try running 'librarian-puppet install' first") if index[name].nil?
names.concat index[name].dependencies.map(&:name)
end
deps.to_a
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/librarian-puppet.git
More information about the Pkg-ruby-extras-commits
mailing list