Merge pull request #107 from terrimonster/addtests

adding basic manifest tests
This commit is contained in:
Ashley Penney 2013-11-18 10:49:12 -08:00
commit b69c7f0c9b
2 changed files with 26 additions and 0 deletions

19
tests/fragment.pp Normal file
View 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
View file

@ -0,0 +1,7 @@
concat { '/tmp/concat':
ensure => present,
force => true,
owner => 'root',
group => 'root',
mode => '0644',
}