[chef] template not creating file on Ubuntu 14


Chronological Thread 
  • From: "Bannon, Steve" < >
  • To: " " < >
  • Subject: [chef] template not creating file on Ubuntu 14
  • Date: Wed, 7 May 2014 15:59:56 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;

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


Archive powered by MHonArc 2.6.16.

§