- From: Bryan McLellan <
>
- To: "
" <
>
- Subject: [chef] Re: template not creating file on Ubuntu 14
- Date: Mon, 12 May 2014 13:44:52 -0400
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.