adding basic manifest tests

This commit is contained in:
Terri Haber 2013-11-15 15:51:37 -08:00
parent 4ff6aa5716
commit 7c702a5713
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',
}