puppetlabs-concat
puppetlabs-concat copied to clipboard
Using File resource not working
Describe the Bug
file { '/tmp/test':
ensure => 'present',
content => 'test',
require => Concat['/tmp/test'],
}
concat { '/tmp/test':
ensure => 'present',
}
Expected Behavior
I would expect the file has the 'test' content. But the file content is empty.
Steps to Reproduce
Apply above code
Environment
- Puppet. 7
- Platform Sles 15sp5