commit
242a037d43
9 changed files with 43 additions and 19 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
5
.travis.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
script: "./script/cibuild"
|
||||
gemfile: "this/does/not/exist"
|
||||
rvm:
|
||||
- "1.8.7"
|
36
Gemfile.lock
36
Gemfile.lock
|
@ -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)
|
||||
|
|
|
@ -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
4
manifests/init.pp
Normal file
|
@ -0,0 +1,4 @@
|
|||
# This is a placeholder class.
|
||||
class template {
|
||||
anchor { 'Hello_World': }
|
||||
}
|
9
spec/classes/template_spec.rb
Normal file
9
spec/classes/template_spec.rb
Normal 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
|
1
spec/fixtures/Puppetfile
vendored
1
spec/fixtures/Puppetfile
vendored
|
@ -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
0
spec/fixtures/manifests/site.pp
vendored
Normal file
1
spec/fixtures/modules/template/manifests
vendored
Symbolic link
1
spec/fixtures/modules/template/manifests
vendored
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../../manifests
|
Loading…
Reference in a new issue