boxen/puppet-boxen

puppet librarian failing to resolve mysql

atomless opened this issue · 6 comments

[Librarian] Resolving mysql (= 1.99.6) <boxen/puppet-mysql>
[Librarian]   No known prior constraints
[Librarian]   Checking manifests
[Librarian]     Checking mysql/1.2.0 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.2.0 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.1.5 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.1.5 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.1.4 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.1.4 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.1.3 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.1.3 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.1.2 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.1.2 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.1.1 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.1.1 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.1.0 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.1.0 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.0.1 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.0.1 <boxen/puppet-mysql>
[Librarian]     Checking mysql/1.0.0 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/1.0.0 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.2.4 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.2.4 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.2.3 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.2.3 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.2.2 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.2.2 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.2.1 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.2.1 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.2.0 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.2.0 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.1.0 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.1.0 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.0.2 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.0.2 <boxen/puppet-mysql>
[Librarian]     Checking mysql/0.0.1 <boxen/puppet-mysql>
[Librarian]       Backtracking from mysql/0.0.1 <boxen/puppet-mysql>
[Librarian]   Failed to resolve mysql (= 1.99.6) <boxen/puppet-mysql>
Could not resolve the dependencies.
n0ts commented

librarian support only semantic versioning rules.
See: rodjek/librarian-puppet#209

This is a feature, not a bug. Adding a hyphen fixes it.

mod "mysql", "1.99.15-a",
  :github_tarball => "n0ts/puppet-mysql"
n0ts commented

@toolbear Thanks! I'll try it.

@n0ts, in case it wasn't obvious, you'll need to create the 1.99.15-a tag yourself:

git tag 1.99.15-a 1.99.15a
git push --tags

Hi, sorry this languished for so long. If this still an issue, please re-open.

n0ts commented

👍