Questions tagged [chef-workstation]
10 questions
1
vote
1 answer
Chef workstation: Can not find omnibus installation directory for Chef
I just installed chef-workstation on mac, I also have rvm installed on my machine. The chef-workstation is successfully installed but when I try to run chef exec command it fails with below error -
Traceback (most recent call last):
20: from…

Tushar H
- 755
- 11
- 29
1
vote
1 answer
unable to create an EC2 instance from chef-workstation
I have thus far successfully installed Chef-server, chef--manage (UI bit), got knife ssl check working.
Now, I am running the below command
knife ec2 server create -r 'role[webserver]' -I ami-0970010f37c4f9c8d -f t2.micro --region ap-southeast-2
I…

learner
- 2,480
- 10
- 50
- 94
1
vote
1 answer
cannot run my cookbook on chef workstation
while running chef-client --local-mode --override-runlist first_cookbook I am getting following error
[2020-04-07T16:31:06+05:30] WARN: No config file found or specified on command line. Using command line options…
user7208575
0
votes
0 answers
Error: Infra Phase complete, 0/0 resources updated in 02 seconds
I am trying to create a file cookbook, but it does not create a file for me. I am getting this once I run the command:
[root@ip-172-31-11-135 cookbooks]# chef-client -zr "recipe[test-cookbook::test-recipe]"
[2023-07-27T19:51:59+00:00] WARN: No…
0
votes
1 answer
/opt/chef/embedded/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory
When I am bootstrapping a node, I'm getting this error:
error :The following error occurred on 172.31.2.207:
error :/opt/chef/embedded/bin/ruby: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or…
0
votes
0 answers
chef env command line utility is only showing output for --help instead of prompting for license acceptance
When I try to accept the chef license from the command line, as part of my chef workstation setup, I just see the output for the --help flag
user in ~ > chef env --chef-license accept
Prints environment variables used by Chef Workstation
Usage:
…

sirclaps
- 41
- 3
0
votes
1 answer
knife list when excuted from chef-workstation does not list my chef-server
Hi I have installed the chef server with the below commands.
#!/bin/bash
set -x
sudo yum update -y
sudo yum install firewalld -y
sudo systemctl status firewalld
sudo systemctl start firewalld
sudo systemctl status firewalld
sudo yum install git…

learner
- 2,480
- 10
- 50
- 94
0
votes
1 answer
Unable to use knife command on Chef workstation
I want to use knife command on chef workstation. But unable to use it now. I deleted my one account using which, I was using knife command but I am getting this error
ERROR: You authenticated successfully to https: as but…

RISHABH BANSAL
- 95
- 2
- 9
0
votes
1 answer
Install a particular Ruby version using chef-run
I have been trying to install a particular (latest) version of Ruby using Chef Workstation and its included chef-run CLI.
This is the recipe I'm using for Ruby:
package 'ruby' do
version '2.5.3'
action :install
end
Which, running with the…

jjmerelo
- 22,578
- 8
- 40
- 86
-1
votes
0 answers
Why can't I install any version of Chef Workstation, for the Mac or the Windows, due to the following 2 Javascript errors? Please explain all errors?
I've tried installing the latest Chef Workstation versions 23.7.1042 as well as stable version 22.7.1006. I try installing with the Mac as well as the Windows VM, but I keep getting this error repeatedly from the 2 attached screenshots, this…