[chef] Re: system date in a recipe


Chronological Thread 
  • From: AJ Christensen < >
  • To:
  • Subject: [chef] Re: system date in a recipe
  • Date: Thu, 15 Dec 2011 09:58:26 +1300

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.

§