Hi, I am using file\_line resource to match and replace but it's simply not working. I have tried with even simpler code but it simply ignoring my file\_line resource.
file { '/tmp/eureka.txt':
ensure => present,
}->
file_line { 'Append a line to /tmp/eureka.txt':
ensure => 'present',
path => '/tmp/eureka.txt',
line => 'Hello World',
}
I have already added "name": "puppetlabs-stdlib", "version": "4.17.0" and using PE 2015.2. After executing the above code I don't see any change happening except creation of the eureka file. Any idea?
↧