[chef] Re: Cannot find a resource for hostsfile_entry on ubuntu


Chronological Thread 
  • From: Cyril Scetbon < >
  • To:
  • Cc: " " < >
  • Subject: [chef] Re: Cannot find a resource for hostsfile_entry on ubuntu
  • Date: Fri, 17 Jan 2014 10:22:49 +0100

yes :

$ grep depends ../../hostname/metadata.rb 
depends "hostsfile"

 -- 
Cyril SCETBON

On 17 Jan 2014, at 00:33, George Miranda < "> > wrote:

Does cookbooks/hostname/metadata.rb contain the line:  “depends hostsfile” ?


On Thu, Jan 16, 2014 at 3:28 PM, Cyril Scetbon < " target="_blank"> > wrote:
Hi,

I've installed cookbook hostname but neither me neither chef could find the resource hostsfile_entry :

$ tree cookbooks
cookbooks
├── README.md
├── hostname
│   ├── Berksfile
│   ├── Berksfile.lock
│   ├── CHANGELOG.md
│   ├── Gemfile
│   ├── Gemfile.lock
│   ├── Gemfile~
│   ├── README.md
│   ├── Rakefile
│   ├── Strainerfile
│   ├── metadata.json
│   ├── metadata.rb
│   └── recipes
│       ├── default.rb
│       └── vmware.rb
└── hostsfile
    ├── CHANGELOG.md
    ├── README.md
    ├── attributes
    │   └── default.rb
    ├── libraries
    │   ├── entry.rb
    │   └── manipulator.rb
    ├── metadata.json
    ├── metadata.rb
    ├── providers
    │   └── entry.rb
    └── resources
        └── entry.rb

$ ack -i --ruby hostsfile_entry .
cookbooks/hostname/recipes/default.rb
44:  hostsfile_entry "localhost" do
50:  hostsfile_entry "set hostname" do

Anyone ?
 --
Cyril SCETBON




--




Archive powered by MHonArc 2.6.16.

§