On 11/08/2012 10:49 AM, James Fellows wrote:
For me, the benefit of the header is being able to immediately tell
whether the file has been modified by someone or something since the
last puppet run (by comparing the header to the last modified
timestamp on the file).
You can already do that wi
On Thursday, November 8, 2012 3:49:12 AM UTC-6, j4m3s wrote:
>
> Thanks John. Yes I realised that from going through the crontab.rb
> and parsedfile.rb scripts.
>
> You are absolutely correct that there is nothing that could easily be
> lifted and used on top of puppet.
>
> I believe that, i
Thanks John. Yes I realised that from going through the crontab.rb
and parsedfile.rb scripts.
You are absolutely correct that there is nothing that could easily be
lifted and used on top of puppet.
I believe that, in order to make this work, a change would be required
to one or more of the core
On Wednesday, November 7, 2012 8:17:50 AM UTC-6, j4m3s wrote:
>
> Thank you very much Matt. My searches hadn't turned that up - I was
> searching on keywords relating to templates I think.
>
> Thanks again, James.
>
>
Do note that the reason that approach can work for cron jobs and hosts
entri
Thank you very much Matt. My searches hadn't turned that up - I was
searching on keywords relating to templates I think.
Thanks again, James.
On Wednesday, November 7, 2012 2:12:27 PM UTC, Matthew Burgess wrote:
>
> On Wed, Nov 7, 2012 at 2:00 PM, j4m3s >
> wrote:
> > I have noticed that if I
On Wed, Nov 7, 2012 at 2:00 PM, j4m3s wrote:
> I have noticed that if I create a hosts file entry using the host {} type, a
> header is added to teh top of the file showing when it was last updated.
> I'm wondering if it is possible something similar in a template? Calling
> <%= Time.now().to_s()
I have noticed that if I create a hosts file entry using the host {} type,
a header is added to teh top of the file showing when it was last updated.
I'm wondering if it is possible something similar in a template? Calling
<%= Time.now().to_s() %> inside the template (obviously) causes the fil