Skip to content

Commit

Permalink
Merge pull request #252 from mattbostock/use-v3-api
Browse files Browse the repository at this point in the history
Prefer v3 API for Puppet Forge and clarify README
  • Loading branch information
carlossg committed Sep 8, 2014
2 parents a028cc5 + b1181ed commit 2f260be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ as if the Puppetfile contained

### Example Puppetfile

forge "https://forge.puppetlabs.com"
forge "https://forgeapi.puppetlabs.com"

mod 'puppetlabs-razor'
mod 'puppetlabs-ntp', "0.0.3"
Expand All @@ -77,7 +77,7 @@ When fetching a module all dependencies specified in its

### Puppetfile Breakdown

forge "https://forge.puppetlabs.com"
forge "https://forgeapi.puppetlabs.com"

This declares that we want to use the official Puppet Labs Forge as our default
source when pulling down modules. If you run your own local forge, you may
Expand Down Expand Up @@ -167,10 +167,10 @@ source specified. This command writes the complete resolution into
Librarian-puppet support both v1 and v3 of the Puppet Forge API.
Specify a specific API version when installing modules:

$ librarian-puppet install --use-v1-api # this is default
$ librarian-puppet install --no-use-v1-api # use the v3 API
$ librarian-puppet install --use-v1-api # this is default; ignored for official Puppet Forge
$ librarian-puppet install --no-use-v1-api # use the v3 API; default for official Puppet Forge

Please note that this does not apply for the official Puppet Forge where v3 is used by default.
Please note that this does not apply for the official Puppet Forge, where v3 is used by default.

Get an overview of your `Puppetfile.lock` with:

Expand Down

0 comments on commit 2f260be

Please sign in to comment.