Questions tagged [cookbook]

The tag has no usage guidance.

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
0answers
3k views

Chef says cookbook doesn't exists when it does

In my runlist for one of my nodes, I have "recipe[logstash::server]". When I run chef-client on the node, the following error is thrown: The following cookbooks are required by the client but don't ...
0
votes
1answer
47 views

How to allow HTTP traffic using chef cookbook?

Previously, I have installed nginx using chef cookbook. Then I did research about firewall rules. For allowing HTTP traffic I have below script. firewall_rule 'http' do port 80 protocol :tcp ...
0
votes
1answer
43 views

How to create dependency between two tasks within a chef cookbook?

I wrote the a Chef cookbook which configures a server in the company. One of the tasks there is to install an "apt_package" called "pssh" and another task is intended to be run after the pssh package ...
0
votes
1answer
94 views

create a chef cookbook from current configuration

Im wondering if its possible with chef (or any other tool like puppet or ansible ...) to create cookbooks from current server configurations. For example i have a red hat server with an jboss 7 ...
0
votes
2answers
474 views

Chef certification check fail “cookbook upload” despite success “knife ssl check”

I had placed crt key from "Distributor", and then checked and successed. But "knife cookbook upload" failed. Chef Server Hostname : "Distributor" Cent OS 7 chef-server-core-12.4.1-1.el7.x86_64 ...