- From: Arnold Krille <
>
- To:
- Subject: [chef] Re: Re: Chef Recipe inserting a line before last line in fie
- Date: Mon, 10 Dec 2012 21:49:12 +0100
On Sun, 9 Dec 2012 19:48:01 +1300 AJ Christensen
<
>
wrote:
>
Template the whole file
Sometimes you can't do that:
- When adding the ssh-keys of your backup-system
to /root/.ssh/authorized_keys by chef but otherwise allow keys to be
added by hand.
- When adding host-definitions to aforementioned backup-daemons config
and be compatible with an existing installation gradually switching
to chef-management.
- When adding stuff to files from several recipes.
Most of these would be easier if more applications support conf.d/
style directories, but we have to do with what we have...
Have fun,
Arnold
Attachment:
signature.asc
Description: PGP signature
Archive powered by MHonArc 2.6.16.