1
0
Fork 0

Merge pull request #6 from JHaals/master

Fixes script/cibuild
This commit is contained in:
Will Farrington 2013-04-05 08:28:57 -07:00
commit 242a037d43
9 changed files with 43 additions and 19 deletions

2
.gitignore vendored
View file

@ -3,5 +3,5 @@
/spec/fixtures/.librarian
/spec/fixtures/.tmp
/spec/fixtures/Puppetfile.lock
/spec/fixtures/modules
/spec/fixtures/modules/boxen/
/spec/fixtures/vendor

5
.travis.yml Normal file
View file

@ -0,0 +1,5 @@
---
script: "./script/cibuild"
gemfile: "this/does/not/exist"
rvm:
- "1.8.7"

View file

@ -1,9 +1,9 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.3.2)
addressable (2.3.3)
ansi (1.4.3)
boxen (1.0.0)
boxen (1.0.2)
ansi (~> 1.4)
hiera (~> 1.0.0)
highline (~> 1.6)
@ -11,14 +11,14 @@ GEM
librarian-puppet (~> 0.9)
octokit (~> 1.15)
puppet (~> 3.0)
cardboard (1.0.0)
cardboard (1.0.1)
boxen (~> 1.0)
puppet-lint (~> 0.3)
puppetlabs_spec_helper (~> 0.4)
rspec-puppet (~> 0.1)
diff-lcs (1.1.3)
facter (1.6.17)
faraday (0.8.5)
diff-lcs (1.2.1)
facter (1.6.18)
faraday (0.8.6)
multipart-post (~> 1.1)
faraday_middleware (0.9.0)
faraday (>= 0.7.4, < 0.9)
@ -31,10 +31,10 @@ GEM
json
thor (~> 0.15)
metaclass (0.0.1)
mocha (0.13.2)
mocha (0.13.3)
metaclass (~> 0.0.1)
multi_json (1.6.0)
multipart-post (1.1.5)
multi_json (1.6.1)
multipart-post (1.2.0)
netrc (0.7.7)
octokit (1.23.0)
addressable (~> 2.2)
@ -43,7 +43,7 @@ GEM
hashie (~> 1.2)
multi_json (~> 1.3)
netrc (~> 0.7.7)
puppet (3.1.0)
puppet (3.1.1)
facter (~> 1.6)
hiera (~> 1.0)
puppet-lint (0.3.2)
@ -53,14 +53,14 @@ GEM
rspec (>= 2.9.0)
rspec-puppet (>= 0.1.1)
rake (10.0.3)
rspec (2.12.0)
rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0)
rspec-mocks (~> 2.12.0)
rspec-core (2.12.2)
rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3)
rspec-mocks (2.12.2)
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.0)
rspec-puppet (0.1.6)
rspec
thor (0.17.0)

View file

@ -4,6 +4,10 @@ An example of how we write Puppet modules for Boxen. Replace this
paragraph with a short explanation of what the heck makes your module
useful.
A great module has a working travis build
[![Build Status](https://travis-ci.org/boxen/puppet-template.png?branch=master)](https://travis-ci.org/boxen/puppet-template)
## Usage
```puppet

4
manifests/init.pp Normal file
View file

@ -0,0 +1,4 @@
# This is a placeholder class.
class template {
anchor { 'Hello_World': }
}

View file

@ -0,0 +1,9 @@
require 'spec_helper'
# Rename this file to classname_spec.rb
# Check other boxen modules for examples
# or read http://rspec-puppet.com/tutorial/
describe 'template' do
it do
should contain_anchor('Hello_World')
end
end

View file

@ -1 +1,2 @@
mod 'boxen', '0.0.26', :github_tarball => 'boxen/puppet-boxen'
mod 'stdlib', '3.0.0', :github_tarball => "puppetlabs/puppetlabs-stdlib"

0
spec/fixtures/manifests/site.pp vendored Normal file
View file

1
spec/fixtures/modules/template/manifests vendored Symbolic link
View file

@ -0,0 +1 @@
../../../../manifests