Closed apt4user closed 3 months ago
I've installed the module puppetlabs-concat version 8.0.1 but when I declare
concat { '/path/to/file': ensure => present, } concat::fragment { 'tmpfile': target => '/path/to/file', content => 'test contents', order => 'ZZ' }
and after that, when i perform a puppet run, the file gets overridden
I wanted to append a string to an existing file
Steps to reproduce the behavior: Apply the above mentioned code
This module isn't used for appending to existing files like that.
Thank you for your help. Then I misunderstood the module.
Describe the Bug
I've installed the module puppetlabs-concat version 8.0.1 but when I declare
and after that, when i perform a puppet run, the file gets overridden
Expected Behavior
I wanted to append a string to an existing file
Steps to Reproduce
Steps to reproduce the behavior: Apply the above mentioned code
Environment