On 10/21/2014 07:21 AM, Lobo Junior wrote:
> I want remove a piece of string of a file on using file_line?
>
> Example
>
> file_line { 'try-replace':
> path => '/tmp/eureka.txt',
> line => 'com.PersistenceSchemeRedis(not_used,localhost:1982:false)',
> match => "com.hp.clasp.internal.Persist
I want remove a piece of string of a file on using file_line?
Example
file_line { 'try-replace':
path => '/tmp/eureka.txt',
line => 'com.PersistenceSchemeRedis(not_used,localhost:1982:false)',
match => "com.hp.clasp.internal.PersistenceSchemeRedis.*$",
ensure => absent,
}
But this cod