[chef] Re: Chef Upgrade issue


Chronological Thread 
  • From: < >
  • To:
  • Subject: [chef] Re: Chef Upgrade issue
  • Date: Tue, 30 Apr 2013 07:44:07 -0700 (PDT)


Seems to be the problem in the bookshelf.
Every uploaded cookbooks contents look's like this for example:


 wT     

 �#
# Cookbook Name:: yumrepo
# Recipe:: somerepo
#

remote_file "/etc/yum.repos.d/somerepo.repo" do
  not_if {File.exists?("/etc/yum.repos.d/somerepo.repo")}
  owner "root"
  group "root"
  mode 0644
  source url
end

After chef-client run it will become like this:
1b4^M
#
# Cookbook Name:: yumrepo
# Recipe:: somrepo
#

remote_file "/etc/yum.repos.d/somerepo.repo" do
  not_if {File.exists?("/etc/yum.repos.d/somerepo.repo")}
  owner "root"
  group "root"
  mode 0644
  source url
end
^M
0^M
^M

  • [chef] Re: Chef Upgrade issue, anikeev1988, 04/30/2013

Archive powered by MHonArc 2.6.16.

§