- From: "Bannon, Steve" <
>
- To: "
" <
>
- Subject: [chef] Re: template not creating file on Ubuntu 14
- Date: Tue, 13 May 2014 18:30:33 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is )
;
In ubuntu12 it is a link and the force_unlink works. If I remove it before I
bootstrap it fails. I’m trying a test without the force unlink
Steve
On May 12, 2014, at 1:44 PM, Bryan McLellan
<
>
wrote:
>
On Wed, May 7, 2014 at 11:59 AM, Bannon, Steve
>
<
>
>
wrote:
>
> I have a simple motd rule that is failing on bootstrap because it says the
>
> file doesn’t exist. The stack trace says “create” is true. The rule
>
> works fine on ubuntu 12/13. Do you think this is a bug?
>
>
>
> the code in question:
>
>
>
> template "/etc/motd" do
>
> source "motd.erb"
>
> owner "root"
>
> group "root"
>
> mode "0644"
>
> force_unlink true
>
> end
>
>
Does /etc/motd exist as a link to /var/run/motd before-hand?
>
>
Bryan
Archive powered by MHonArc 2.6.16.