Hi,

I have just tried the stdlib version 4.5.1.
According to the change log with version 4.5.0 
"Don't require line to match the match parameter"
But my test does not work
  file_line {'test':
    ensure => 'absent',
    path   => '/root/.ssh/authorized_keys',
    match  => 'test',
  }
Error: Failed to apply catalog: Validation of File_line[test] failed: Both 
line and path are required attributes at 
/data/git/test/modules/accounts/manifests/del_key_in_root.pp:204
Wrapped exception:
Both line and path are required attributes

Andreas

-- 
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/ec927e8a-21ca-4351-abff-d032a6faae20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to