- From: Jesse Nelson <
>
- To: "
" <
>
- Subject: [chef] Re: Re: system date in a recipe
- Date: Fri, 16 Dec 2011 16:13:46 -0800
Be aware that putting a date in a template will always regenerate the
template and trigger any actions the resource may have.
On Dec 14, 2011, at 12:58 PM, AJ Christensen
<
>
wrote:
>
Time.now.to_date.rfc2822 ? Or similar.
>
>
http://ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/DateTime.html
>
>
--AJ
>
>
On 15 December 2011 09:53,
>
<
>
>
wrote:
>
> how can I define date in a recipe to be displayed in a template?
>
>
>
>
>
> ~]# date
>
>
>
> Wed Dec 14 13:51:45 MST 2011
>
>
Archive powered by MHonArc 2.6.16.