Bug #3139

File tracking no longer works

Added by Luke Kanies over 2 years ago. Updated almost 2 years ago.

Status:Closed Start date:02/02/2010
Priority:Normal Due date:
Assignee:Luke Kanies % Done:

0%

Category:file
Target version:2.6.0
Affected Puppet version:0.25.4 Branch:luke/tickets/master/3139-file_tracking
Keywords:
Votes: 0

Description

Used to be you could passively monitor files and just log when they changed, a la tripwire, but that feature seems to have gone away sometime recently without anyone noticing.

I think the mechanism before was something like:

file { "/tmp/foo": check => checksum }

I’ve been thinking of refactoring the ‘Checksum’ parameter to make it into a parameter rather than a property, like I recently did with ‘source’, and this might be a good time to do so.

This feature has been coming up a ton recently, though, as people look more at using Puppet for compliance and security auditing.

History

Updated by Luke Kanies about 2 years ago

  • Assignee set to Luke Kanies

Updated by Jesse Wolfe about 2 years ago

  • Target version changed from 2.6.0 to 52

Updated by Luke Kanies almost 2 years ago

  • Status changed from Accepted to In Topic Branch Pending Review
  • Target version changed from 52 to 2.6.0
  • Branch set to luke/tickets/master/3139-file_tracking

Fixed in my tickets/master/3139-file_tracking branch.

I’ve deprecated the ‘check’ parameter and replaced it with ‘audit’, and you can now audit any parameter at all, rather than just file checksums.

Note that this is a major feature – you can essentially replace Tripwire or equivalent tools with this functionality.

Updated by Nick Lewis almost 2 years ago

  • Status changed from In Topic Branch Pending Review to Closed

Pushed in be7112aff784cec1490af9d809c4950b940287cb in master

Also available in: Atom PDF