You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I understand the Puppetfile format allows specifying Forge modules without a version number. It seems r10k doesn't support that:
[R10K::Action::Environment::Deploy - INFO] Deploying environment testing
Runtime error: #<RuntimeError: Module puppetlabs/apt with args [] doesn't have an implementation. (Are you using the right arguments?)>
The Puppetfile in question:
forge "http://forge.puppetlabs.com"
mod "puppetlabs/apt"
...
Adding a version specification makes it work again:
forge "http://forge.puppetlabs.com"
mod "puppetlabs/apt", "1.1.0"
The text was updated successfully, but these errors were encountered:
Strange... I could have sworn that I fixed this at some point but it looks like I didn't. Given something like `mod "foo/bar", would you say that the slash is enough to indicate that it's a Forge module? What should the default behavior if a module doesn't have any arguments?
I think the behaviour should be similar to librarian-puppet, shouldn't it? We haven't used librarian-puppet extensively but I believe the slash is enough to indicate a Forge module and without any version arguments it gets the latest available version.
As far as I understand the Puppetfile format allows specifying Forge modules without a version number. It seems r10k doesn't support that:
The Puppetfile in question:
Adding a version specification makes it work again:
The text was updated successfully, but these errors were encountered: