[sf-lug] Fwd: [UMALUG] bash scripting question
Asheesh Laroia
asheesh at asheesh.org
Thu Mar 6 22:02:20 PST 2008
On Fri, 7 Mar 2008, Tyler Trafford wrote:
> Asheesh Laroia wrote:
>
>> Right, I realize etckeeper doesn't publish. What I mean is, I want to
>> version everything with etckeeper, sensitive files and all.
>>
>> I also want to show my friends, "Go to asheesh.org/$servername/etc/ and see
>> a gitweb (or similar) of /etc with the sensitive files not visible."
>
> The attached patch, applied to /etc, adds an "etckeeper publish" command that
> creates a publishable repo by cloning and removing all sensitive data from
> the commit history.
>
> Output directory and files to remove are configurable in
> /etc/etckeeper/publish.conf.
Wow, this is amazingly great.
Have you shared this with the etckeeper upstream?
Totally rocking!
-- sheesh.
--
The system was down for backups from 5am to 10am last Saturday.
More information about the sf-lug
mailing list