1 require 'spec_helper_acceptance'
3 describe 'concat validate_cmd parameter', :unless => (fact('kernel') != 'Linux') do
4 basedir = default.tmpdir('concat')
5 context '=> "/usr/bin/test -e %"' do
16 concat { '#{basedir}/file':
17 validate_cmd => '/usr/bin/test -e %',
19 concat::fragment { 'content':
20 target => '#{basedir}/file',
25 it 'applies the manifest twice with no stderr' do
26 apply_manifest(pp, :catch_failures => true)
27 apply_manifest(pp, :catch_changes => true)
30 describe file("#{basedir}/file") do
32 it { should contain 'content' }