Template class
This commit is contained in:
parent
ead9a6a2c3
commit
39ba7429b3
4 changed files with 12 additions and 0 deletions
4
manifests/init.pp
Normal file
4
manifests/init.pp
Normal file
|
@ -0,0 +1,4 @@
|
|||
# This is a placeholder class.
|
||||
class template {
|
||||
notify { 'Hello_World': }
|
||||
}
|
7
spec/classes/template_spec.rb
Normal file
7
spec/classes/template_spec.rb
Normal file
|
@ -0,0 +1,7 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'template' do
|
||||
it do
|
||||
should contain_notify('Hello_World')
|
||||
end
|
||||
end
|
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