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.

-- 
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/6c978195-fa2b-48b1-9606-4faaf194248b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to