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.PersistenceSchemeRedis.*$",
>   ensure  => absent,
> }
>
> But this code doesn't works.

What is the content of the file?
What do you expect to happen?
What happens instead?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/545AC387.5070708%40Alumni.TU-Berlin.de.
For more options, visit https://groups.google.com/d/optout.

Reply via email to