Skip to content

Commit

Permalink
Fix voxpupuli#23 & voxpupuli#24 - move to https and new forge url
Browse files Browse the repository at this point in the history
So forge now redirects to https AND it moved to forge.puppet.com.
  • Loading branch information
duritong committed Jun 18, 2016
1 parent 30a26c3 commit 753ad46
Show file tree
Hide file tree
Showing 20 changed files with 70 additions and 70 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

Librarian-puppet is a bundler for your puppet infrastructure. You can use
librarian-puppet to manage the puppet modules your infrastructure depends on,
whether the modules come from the [Puppet Forge](https://forge.puppetlabs.com/),
whether the modules come from the [Puppet Forge](https://forge.puppet.com/),
Git repositories or just a path.

* Librarian-puppet can reuse the dependencies listed in your `Modulefile` or `metadata.json`
* Forge modules can be installed from [Puppetlabs Forge](https://forge.puppetlabs.com/) or an internal Forge such as [Pulp](http://www.pulpproject.org/)
* Forge modules can be installed from [Puppetlabs Forge](https://forge.puppet.com/) or an internal Forge such as [Pulp](http://www.pulpproject.org/)
* Git modules can be installed from a branch, tag or specific commit, optionally using a path inside the repository
* Modules can be installed from GitHub using tarballs, without needing Git installed
* Modules can be installed from a filesystem path
Expand Down
2 changes: 1 addition & 1 deletion features/examples/duplicated_dependencies/Puppetfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
forge 'http://forge.puppetlabs.com'
forge 'https://forge.puppet.com'

metadata
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
forge 'http://forge.puppetlabs.com'
forge 'https://forge.puppet.com'

metadata

Expand Down
2 changes: 1 addition & 1 deletion features/examples/metadata_syntax/Puppetfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
forge 'http://forge.puppetlabs.com'
forge 'https://forge.puppet.com'

metadata
2 changes: 1 addition & 1 deletion features/examples/modulefile_syntax/Puppetfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
forge 'http://forge.puppetlabs.com'
forge 'https://forge.puppet.com'

modulefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
forge 'http://forge.puppetlabs.com'
forge 'https://forge.puppet.com'

mod 'maestrodev/test'
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
forge 'http://forge.puppetlabs.com'
forge 'https://forge.puppet.com'

mod 'maestrodev/test'
16 changes: 8 additions & 8 deletions features/install.feature
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Feature: cli/install
Scenario: Install a module transitive dependency from git and forge should be deterministic
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/stdlib', :git => 'https://github.com/puppetlabs/puppetlabs-stdlib.git', :ref => '4.6.0'
mod 'librarian/test', :git => 'https://github.com/rodjek/librarian-puppet.git', :path => 'features/examples/test'
Expand All @@ -32,7 +32,7 @@ Feature: cli/install
Scenario: Install duplicated dependencies from git and forge, last one wins
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
metadata
mod 'puppetlabs-stdlib', :git => 'https://github.com/puppetlabs/puppetlabs-stdlib.git', :ref => '4.6.0'
Expand All @@ -57,7 +57,7 @@ Feature: cli/install
Scenario: Installing two modules with same name and using exclusions
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'librarian-duplicated_dependencies', :path => '../../features/examples/duplicated_dependencies'
exclusion 'ripienaar-concat'
Expand All @@ -70,7 +70,7 @@ Feature: cli/install
Scenario: Installing two modules with same name and using exclusions, apply transitively
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'librarian-duplicated_dependencies_transitive', :path => '../../features/examples/duplicated_dependencies_transitive'
"""
Expand All @@ -82,7 +82,7 @@ Feature: cli/install
Scenario: Install a module with Modulefile without version
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'librarian-bad_modulefile', :path => 'bad_modulefile'
"""
Expand All @@ -101,7 +101,7 @@ Feature: cli/install
Scenario: Install a module with the rsync configuration using the --clean flag
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'maestrodev/test'
"""
Expand All @@ -125,7 +125,7 @@ Feature: cli/install
Scenario: Install a module with the rsync configuration using the --destructive flag
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'maestrodev/test'
"""
Expand All @@ -150,7 +150,7 @@ Feature: cli/install
Scenario: Install a module with the rsync configuration
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'maestrodev/test'
"""
Expand Down
30 changes: 15 additions & 15 deletions features/install/forge.feature
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Feature: cli/install/forge
Scenario: Installing an exact version of a module
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/apt', '0.0.4'
"""
Expand All @@ -72,7 +72,7 @@ Feature: cli/install/forge
Scenario: Installing a module in a path with spaces
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/stdlib', '4.1.0'
"""
When PENDING I run `librarian-puppet install`
Expand All @@ -82,7 +82,7 @@ Feature: cli/install/forge
Scenario: Installing a module with invalid versions in the forge
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/apache', '0.4.0'
mod 'puppetlabs/postgresql', '2.0.1'
Expand All @@ -98,7 +98,7 @@ Feature: cli/install/forge
Scenario: Installing a module with several constraints
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/apt', '>=1.0.0', '<1.0.1'
"""
Expand All @@ -112,7 +112,7 @@ Feature: cli/install/forge
Given a directory named "puppet"
And a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/ntp', '3.0.3'
"""
Expand All @@ -126,7 +126,7 @@ Feature: cli/install/forge
Scenario: Handle range version numbers
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/postgresql', '3.2.0'
mod 'puppetlabs/apt', '< 1.4.1' # 1.4.2 causes trouble in travis
Expand All @@ -138,7 +138,7 @@ Feature: cli/install/forge

Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/postgresql', :git => 'git://github.com/puppetlabs/puppet-postgresql', :ref => '3.3.0'
"""
Expand All @@ -150,7 +150,7 @@ Feature: cli/install/forge
Scenario: Installing a module that does not exist
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/xxxxx'
"""
Expand All @@ -164,7 +164,7 @@ Feature: cli/install/forge
Scenario: Install a module with conflicts
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/apache', '0.6.0'
mod 'puppetlabs/stdlib', '<2.2.1'
Expand All @@ -176,7 +176,7 @@ Feature: cli/install/forge
Scenario: Install a module from the Forge with dependencies without version
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'sbadia/gitlab', '0.1.0'
"""
Expand All @@ -187,7 +187,7 @@ Feature: cli/install/forge
Scenario: Source dependencies from Modulefile
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
modulefile
"""
Expand All @@ -203,7 +203,7 @@ Feature: cli/install/forge
Scenario: Source dependencies from metadata.json
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
metadata
"""
Expand All @@ -226,7 +226,7 @@ Feature: cli/install/forge
Scenario: Source dependencies from Modulefile using dash instead of slash
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
modulefile
"""
Expand All @@ -242,7 +242,7 @@ Feature: cli/install/forge
Scenario: Installing a module with duplicated dependencies
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'pdxcat/collectd', '2.1.0'
"""
Expand All @@ -254,7 +254,7 @@ Feature: cli/install/forge
Scenario: Installing two modules with same name, alphabetical order wins
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'ripienaar-concat', '0.2.0'
mod 'puppetlabs-concat', '1.2.0'
Expand Down
16 changes: 8 additions & 8 deletions features/install/git.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: cli/install/git
Scenario: Installing a module from git
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/apache',
:git => 'https://github.com/puppetlabs/puppetlabs-apache.git', :ref => '1.4.0'
Expand Down Expand Up @@ -34,7 +34,7 @@ Feature: cli/install/git
Scenario: Installing a module with invalid versions in git
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod "apache",
:git => "https://github.com/puppetlabs/puppetlabs-apache.git", :ref => "1.4.0"
Expand All @@ -47,7 +47,7 @@ Feature: cli/install/git
Scenario: Switching a module from forge to git
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/postgresql', '4.0.0'
"""
Expand All @@ -58,7 +58,7 @@ Feature: cli/install/git
And the file "modules/stdlib/metadata.json" should match /"name": "puppetlabs-stdlib"/
When I overwrite "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/postgresql',
:git => 'https://github.com/puppetlabs/puppetlabs-postgresql.git', :ref => '4.3.0'
Expand Down Expand Up @@ -113,7 +113,7 @@ Feature: cli/install/git
Scenario: Running install with no Modulefile nor metadata.json
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/stdlib', :git => 'https://github.com/puppetlabs/puppetlabs-stdlib.git', :ref => '4.6.0'
"""
Expand All @@ -123,7 +123,7 @@ Feature: cli/install/git
Scenario: Running install with metadata.json without dependencies
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/sqlite', :git => 'https://github.com/puppetlabs/puppetlabs-sqlite.git', :ref => '84a0a6'
"""
Expand Down Expand Up @@ -153,7 +153,7 @@ Feature: cli/install/git
Scenario: Install a module from git and using path
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'librarian-test', :git => 'https://github.com/rodjek/librarian-puppet.git', :path => 'features/examples/test'
"""
Expand All @@ -165,7 +165,7 @@ Feature: cli/install/git
Scenario: Install a module from git without version
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'test', :git => 'https://github.com/rodjek/librarian-puppet.git', :path => 'features/examples/dependency_without_version'
"""
Expand Down
2 changes: 1 addition & 1 deletion features/install/github_tarball.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Feature: cli/install/github_tarball
Scenario: Installing a module from github tarballs
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/apache', '0.6.0', :github_tarball => 'puppetlabs/puppetlabs-apache'
mod 'puppetlabs/stdlib', '2.3.0', :github_tarball => 'puppetlabs/puppetlabs-stdlib'
Expand Down
2 changes: 1 addition & 1 deletion features/install/path.feature
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Feature: cli/install/path
Scenario: Install a module from path without version
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'test', :path => '../../features/examples/dependency_without_version'
"""
Expand Down
8 changes: 4 additions & 4 deletions features/outdated.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Feature: cli/outdated
Scenario: Running outdated with forge modules
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'puppetlabs/stdlib', '>=3.1.x'
"""
And a file named "Puppetfile.lock" with:
"""
FORGE
remote: http://forge.puppetlabs.com
remote: https://forge.puppet.com
specs:
puppetlabs/stdlib (3.1.0)
Expand All @@ -28,14 +28,14 @@ Feature: cli/outdated
Scenario: Running outdated with git modules
Given a file named "Puppetfile" with:
"""
forge "http://forge.puppetlabs.com"
forge "https://forge.puppet.com"
mod 'test', :git => 'https://github.com/rodjek/librarian-puppet.git', :path => 'features/examples/test'
"""
And a file named "Puppetfile.lock" with:
"""
FORGE
remote: http://forge.puppetlabs.com
remote: https://forge.puppet.com
specs:
puppetlabs/stdlib (3.1.0)
Expand Down
Loading

0 comments on commit 753ad46

Please sign in to comment.