1
0
Fork 0

Modify template for whatpulse

This commit is contained in:
Andrew Tomaka 2013-09-30 01:47:14 -04:00
parent a0523de6f3
commit 69d1137982
6 changed files with 24 additions and 12 deletions

7
Rakefile Normal file
View File

@ -0,0 +1,7 @@
require 'rake'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = 'spec/*/*_spec.rb'
end

View File

@ -1,4 +1,8 @@
# This is a placeholder class.
class template {
anchor { 'Hello_World': }
class whatpulse {
package { 'Whatpulse':
source => 'http://amcdn.whatpulse.org/files/whatpulse-mac-2.2.1.dmg',
provider => appdmg
}
}

View File

@ -1,9 +0,0 @@
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

@ -0,0 +1,11 @@
require 'spec_helper'
describe 'whatpulse' do
it do
should contain_package('Whatpulse').with({
:source => 'http://amcdn.whatpulse.org/files/whatpulse-mac-2.2.1.dmg',
:provider => 'appdmg'
})
end
end

View File

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