-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
99 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fixtures | ||
repositories: | ||
apache: "git://github.com/puppetlabs/puppetlabs-apache.git" | ||
create_resources: "git://github.com/puppetlabs/puppetlabs-create_resources.git" | ||
stdlib: "git://github.com/puppetlabs/puppetlabs-stdlib.git" | ||
symlinks: | ||
phppgadmin: "#{source_dir}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
source :rubygems | ||
|
||
puppetversion = ENV['PUPPET_VERSION'] | ||
gem 'puppet', puppetversion, :require => false | ||
gem 'puppet-lint' | ||
gem 'rspec-puppet' | ||
gem 'puppetlabs_spec_helper', '>= 0.1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
diff-lcs (1.2.3) | ||
facter (1.7.0) | ||
hiera (1.2.0) | ||
json_pure | ||
json_pure (1.7.7) | ||
metaclass (0.0.1) | ||
mocha (0.13.3) | ||
metaclass (~> 0.0.1) | ||
puppet (3.1.1) | ||
facter (~> 1.6) | ||
hiera (~> 1.0) | ||
puppet-lint (0.3.2) | ||
puppetlabs_spec_helper (0.4.1) | ||
mocha (>= 0.10.5) | ||
rake | ||
rspec (>= 2.9.0) | ||
rspec-puppet (>= 0.1.1) | ||
rake (10.0.4) | ||
rspec (2.13.0) | ||
rspec-core (~> 2.13.0) | ||
rspec-expectations (~> 2.13.0) | ||
rspec-mocks (~> 2.13.0) | ||
rspec-core (2.13.1) | ||
rspec-expectations (2.13.0) | ||
diff-lcs (>= 1.1.3, < 2.0) | ||
rspec-mocks (2.13.1) | ||
rspec-puppet (0.1.6) | ||
rspec | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
puppet | ||
puppet-lint | ||
puppetlabs_spec_helper (>= 0.1.0) | ||
rspec-puppet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
language: ruby | ||
rvm: | ||
- 1.8.7 | ||
- 1.9.3 | ||
script: | ||
- "rake spec SPEC_OPTS='--format documentation'" | ||
env: | ||
- PUPPET_VERSION="~> 2.7.0" | ||
- PUPPET_VERSION="~> 3.1.0" | ||
matrix: | ||
exclude: | ||
- rvm: 1.9.3 | ||
env: PUPPET_GEM_VERSION="~> 2.7.0" | ||
gemfile: .gemfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
puppet-phppgadmin | ||
|
||
This is the phppgadmin Puppet module. | ||
|
||
License | ||
------- | ||
|
||
|
||
Contact | ||
------- | ||
|
||
|
||
Support | ||
------- | ||
|
||
Please log tickets and issues at our [Projects site](https://github.com/knowshan/puppet-phppgadmin) | ||
|
||
Build Status | ||
------------ | ||
[![Build Status](https://travis-ci.org/[knowshan]/[phppgadmin].png)](https://travis-ci.org/[knowshan]/[phppgadmin]) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require 'rubygems' | ||
require 'puppetlabs_spec_helper/rake_tasks' | ||
require 'puppet-lint' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,3 @@ | ||
dir = File.expand_path(File.dirname(__FILE__)) | ||
$LOAD_PATH.unshift File.join(dir, 'lib') | ||
require 'rubygems' | ||
require 'puppetlabs_spec_helper/module_spec_helper' | ||
|
||
require 'mocha' | ||
require 'puppet' | ||
require 'rspec' | ||
require 'spec/autorun' | ||
|
||
Spec::Runner.configure do |config| | ||
config.mock_with :mocha | ||
end | ||
|
||
# We need this because the RAL uses 'should' as a method. This | ||
# allows us the same behaviour but with a different method name. | ||
class Object | ||
alias :must :should | ||
end |