Merge pull request #107 from terrimonster/addtests
adding basic manifest tests
This commit is contained in:
commit
b69c7f0c9b
2 changed files with 26 additions and 0 deletions
19
tests/fragment.pp
Normal file
19
tests/fragment.pp
Normal file
|
@ -0,0 +1,19 @@
|
|||
concat { 'testconcat':
|
||||
path => '/tmp/concat',
|
||||
ensure => present,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0664',
|
||||
}
|
||||
|
||||
concat::fragment { '1':
|
||||
target => 'testconcat',
|
||||
content => '1',
|
||||
order => '01',
|
||||
}
|
||||
|
||||
concat::fragment { '2':
|
||||
target => 'testconcat',
|
||||
content => '2',
|
||||
order => '02',
|
||||
}
|
7
tests/init.pp
Normal file
7
tests/init.pp
Normal file
|
@ -0,0 +1,7 @@
|
|||
concat { '/tmp/concat':
|
||||
ensure => present,
|
||||
force => true,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0644',
|
||||
}
|
Loading…
Reference in a new issue