- From: Brian Finney <
>
- To:
- Subject: [chef] Re: Re: cookbook rsyslog does not contain file templates/50-default.conf.erb
- Date: Mon, 29 Nov 2010 14:24:53 -0800
Gotcha, works much better now.
Thanks
Brian
On Mon, Nov 29, 2010 at 2:03 PM, AJ Christensen
<
>
wrote:
>
Yo,
>
>
On 30 November 2010 10:57, Brian Finney
>
<
>
>
wrote:
>
> I'm trying to use the rsyslog cookbook through the opscode platform
>
> but it doesn't seem to be downloading all of it's templates. I'm
>
> guessing the server determines what templates to send down by running
>
> the recipes,
>
>
It does not. It is aware of the templates in the directory, though.
>
>
however in this case the template directory is in a
>
> conditional statement so it seems like it may be getting masked. If
>
> this is the case how can I explicitly tell chef that this template
>
> should be transfered even if the conditional may not succeed or how
>
> can I make the conditional succeed on the server.
>
>
Place the template in your 'cookbooks/rsyslog/templates/default/'
>
folder, and it will be available to all platforms. I believe that
>
particular template conditional stops a non-compatible rsyslog
>
template from being installed (on older than Jaunty Jackalope Ubuntu
>
systems)
>
>
http://wiki.opscode.com/display/chef/Files#Files-FileSpecificity
>
>
Regards,
>
>
AJ
>
>
>
>
> relevant code can be found at
>
> https://github.com/opscode/cookbooks/blob/master/rsyslog/recipes/default.rb
>
> line 52-60
>
>
>
Archive powered by MHonArc 2.6.16.