file_line { 'remove ':
ensure => absent,
path => '/path/to/file.conf',
match => 'some (regexp) part of a given line',
match_for_absence => true,
line => '',
}
Note how the 'line' attribute is still there but null (nothing between 2 single quotes).
HTH!
-- Khalid