xorpaul/g10k

Git module gets wrongly pulled from forge

Closed this issue · 2 comments

Given the following Puppetfile:

mod 'puppet-icinga2',
  :git          => 'https://github.com/syseleven/puppet-icinga2/',
  :branch       => 'open-prs',
  :install_path => 'modules/external'

This leads to the following error:

$ ./g10k -puppetfile
Resolving Forge modules (0/1)   --- [--------------------------------------------------------------------]   0%
downloadForgeModule(): Unexpected response code while GETing https://forgeapi.puppetlabs.com/v3/files//github.com/syseleven/puppet-icinga2/-install_path.tar.gz 404 Not Found

This works for r10k:

$ r10k puppetfile install Puppetfile
$ ls -la modules/external/icinga2/
total 180
drwxr-xr-x 25 mbaur wheel   800 Jun  6 10:55 .
drwxr-xr-x  3 mbaur wheel    96 Jun  6 10:55 ..
-rw-r--r--  1 mbaur wheel   329 Jun  6 10:55 .fixtures.puppet3.yml
-rw-r--r--  1 mbaur wheel   230 Jun  6 10:55 .fixtures.yml
drwxr-xr-x 13 mbaur wheel   416 Jun  6 10:55 .git
drwxr-xr-x  3 mbaur wheel    96 Jun  6 10:55 .github
-rw-r--r--  1 mbaur wheel   134 Jun  6 10:55 .gitignore
-rw-r--r--  1 mbaur wheel   102 Jun  6 10:55 .mailmap
-rw-r--r--  1 mbaur wheel  1989 Jun  6 10:55 .travis.yml
-rw-r--r--  1 mbaur wheel  1040 Jun  6 10:55 AUTHORS
-rw-r--r--  1 mbaur wheel 40395 Jun  6 10:55 CHANGELOG.md
-rw-r--r--  1 mbaur wheel  1776 Jun  6 10:55 CONTRIBUTING.md
-rw-r--r--  1 mbaur wheel   629 Jun  6 10:55 Gemfile
-rw-r--r--  1 mbaur wheel 11358 Jun  6 10:55 LICENSE
-rw-r--r--  1 mbaur wheel 78220 Jun  6 10:55 README.md
-rw-r--r--  1 mbaur wheel  1355 Jun  6 10:55 RELEASE.md
-rw-r--r--  1 mbaur wheel   857 Jun  6 10:55 Rakefile
-rw-r--r--  1 mbaur wheel  2146 Jun  6 10:55 TESTING.md
drwxr-xr-x 26 mbaur wheel   832 Jun  6 10:55 examples
drwxr-xr-x  5 mbaur wheel   160 Jun  6 10:55 lib
drwxr-xr-x 15 mbaur wheel   480 Jun  6 10:55 manifests
-rw-r--r--  1 mbaur wheel  1613 Jun  6 10:55 metadata.json
drwxr-xr-x  9 mbaur wheel   288 Jun  6 10:55 serverspec
drwxr-xr-x  7 mbaur wheel   224 Jun  6 10:55 spec
drwxr-xr-x  4 mbaur wheel   128 Jun  6 10:55 templates

Please check if v0.6.1 works for you: https://github.com/xorpaul/g10k/releases/tag/v0.6.1

Looks good, thanks! :)