A couple of days ago I made a new release of slaughter, to add a new primitive I was sorely missing:
if ( 1 != IdenticalContents( File1 => "/etc/foo" , File2 => "/etc/bar" ) ) { # do something because the file contents differ }
This allows me to stop blindly over-writing files if they are identical already.
As part of that work I figured I should be more "visible", so on that basis I've done two things:
- Mirrored the repository to github
- Shared my live policies, again on github
- These live policies augment, and expand upon, the existing examples and primitive documentation.
After sanity-checking my policies I'm confident I'm not leaking anything I wish to keep private - but there is some news being disclosed ;)
Now that is done I think there shouldn't be any major slaughter-changes for the forseeable future; I'm managing about ten hosts with it now, and being perl it suits my needs. The transport system is flexible enough to suit most folk, and there are adequate facilities for making local additions without touching the core so if people do want to do new things they don't need me to make changes - hopefully.
ObQuote: "Yippee-ki-yay" - Die Hard, the ultimate Christmas film.
This is definitely a good improvement. Because otherwise everything is always touched when looking for what has changed recently. I always write my scripts to only update upon change.