# Chef Infra (archive)

**URL:** https://discourse.chef.io/c/chef/6.md

[Latest](https://discourse.chef.io/latest.md) · [Categories](https://discourse.chef.io/categories.md)

---

## [Win32APIError when creating a directory on vboxsf shared folder inside Windows guest](https://discourse.chef.io/t/win32apierror-when-creating-a-directory-on-vboxsf-shared-folder-inside-windows-guest/11169)

<div class="topic-metadata">

**Author:** [@tknerr](https://discourse.chef.io/u/tknerr)\
**Replies:** 5\
**Last updated:** [August 19, 2026, 10:11pm UTC](https://discourse.chef.io/t/win32apierror-when-creating-a-directory-on-vboxsf-shared-folder-inside-windows-guest/11169 "2026-08-19T22:11:52Z")

</div>

Hi, I'm desperately trying to create a directory on a vboxsf shared folder inside a windows guest. Host: MacOS sierra Guest: Windows 10 Hypervisor: VirtualBox 5.1.14 Chef versions: 12 & 13 Example recipe: direc…

---

## [How to pass multiple options in windows package for .exe file](https://discourse.chef.io/t/how-to-pass-multiple-options-in-windows-package-for-exe-file/14890)

<div class="topic-metadata">

**Author:** [@macraj](https://discourse.chef.io/u/macraj)\
**Replies:** 5\
**Last updated:** [April 4, 2025, 6:57am UTC](https://discourse.chef.io/t/how-to-pass-multiple-options-in-windows-package-for-exe-file/14890 "2025-04-04T06:57:34Z")

</div>

how to pass multiple options in windows package for .exe file windows\_package 'UFT\_14' do action :install source 'C:\\Users\\Dell\\Downloads\\UFT\_14.00\_Setup.exe' end here I need pass options like installation directory C…

---

## [Chef: command not found](https://discourse.chef.io/t/chef-command-not-found/9814)

<div class="topic-metadata">

**Author:** [@krishnar](https://discourse.chef.io/u/krishnar)\
**Replies:** 6\
**Last updated:** [November 22, 2024, 6:35am UTC](https://discourse.chef.io/t/chef-command-not-found/9814 "2024-11-22T06:35:11Z")

</div>

Hi All, I am a beginner to the Chef/Linux world. I was trying to setup a Chef server for a lab purpose. I have installed Chef server in an EC2 host. But when I try to run any chef command, I am getting this error. \[…

---

## [Chef-client in local mode with local supermarket cookbook](https://discourse.chef.io/t/chef-client-in-local-mode-with-local-supermarket-cookbook/13041)

<div class="topic-metadata">

**Author:** [@bkeshark](https://discourse.chef.io/u/bkeshark)\
**Replies:** 2\
**Last updated:** [October 27, 2024, 6:46pm UTC](https://discourse.chef.io/t/chef-client-in-local-mode-with-local-supermarket-cookbook/13041 "2024-10-27T18:46:25Z")

</div>

Hi All, we are using chef-client in local mode to install cookbooks on newly provisioned server. All our cookbooks are stored in local super market in artifactory. is there a way to refer the cookbooks in local superma…

---

## [Cannot accept chef-client license on bootstrapping](https://discourse.chef.io/t/cannot-accept-chef-client-license-on-bootstrapping/15120)

<div class="topic-metadata">

**Author:** [@jasen](https://discourse.chef.io/u/jasen)\
**Replies:** 14\
**Last updated:** [July 28, 2024, 6:31pm UTC](https://discourse.chef.io/t/cannot-accept-chef-client-license-on-bootstrapping/15120 "2024-07-28T18:31:30Z")

</div>

Since this morning, I've been unable to run a kitchen converge due to the following error: +---------------------------------------------+ Chef License Acceptance Before you can continue, 2 pr…

---

## [Chef-client manual installation on RHEL and linking it with chef server](https://discourse.chef.io/t/chef-client-manual-installation-on-rhel-and-linking-it-with-chef-server/9222)

<div class="topic-metadata">

**Author:** [@tsrik007](https://discourse.chef.io/u/tsrik007)\
**Replies:** 6\
**Last updated:** [February 29, 2024, 5:11am UTC](https://discourse.chef.io/t/chef-client-manual-installation-on-rhel-and-linking-it-with-chef-server/9222 "2024-02-29T05:11:28Z")

</div>

Hi All. could anyone share me the process of installing chef-client in RHEL virtual machine. I tried to use bootstrap from workstation, but its failing. So help me to install it manually on the node and the required co…

---

## [Unable to successfully run chef-client on AWS instance Errno::ENOMEM eror](https://discourse.chef.io/t/unable-to-successfully-run-chef-client-on-aws-instance-errno-enomem-eror/7983)

<div class="topic-metadata">

**Author:** [@phanikumar](https://discourse.chef.io/u/phanikumar)\
**Replies:** 7\
**Last updated:** [January 18, 2024, 12:28pm UTC](https://discourse.chef.io/t/unable-to-successfully-run-chef-client-on-aws-instance-errno-enomem-eror/7983 "2024-01-18T12:28:55Z")

</div>

I wrote a cookbook which will run some recipe's on the instance created on AWS. When it is running it is giving me the following error while adding a cron job to the instance. Errno::ENOMEM \*\* ------------…

---

## [Remove a node's policy\_group/name?](https://discourse.chef.io/t/remove-a-nodes-policy-group-name/17763)

<div class="topic-metadata">

**Author:** [@mcascone](https://discourse.chef.io/u/mcascone)\
**Replies:** 1\
**Last updated:** [May 18, 2023, 11:32am UTC](https://discourse.chef.io/t/remove-a-nodes-policy-group-name/17763 "2023-05-18T11:32:46Z")

</div>

Continuing the discussion from Removing node from Policy/-group: I have the same question. I have tried knife node policy set \<nodename\> '' '' and "" "", it always says, ERROR: Policy group and name must be specified…

---

## [Chef 12 Only Execute If File Doesn't Exist](https://discourse.chef.io/t/chef-12-only-execute-if-file-doesnt-exist/10658)

<div class="topic-metadata">

**Author:** [@kjenney77](https://discourse.chef.io/u/kjenney77)\
**Replies:** 2\
**Last updated:** [March 16, 2023, 7:47pm UTC](https://discourse.chef.io/t/chef-12-only-execute-if-file-doesnt-exist/10658 "2023-03-16T19:47:04Z")

</div>

I'm installing a rails application that uses Passenger and Apaache(httpd). I don't want to compile the module if it's already installed. Unfortunately the not\_if option on execute isn't working and I'm not sure why. The …

---

## [Error installing chef - SSL Expired on omnitruck-direct chef io](https://discourse.chef.io/t/error-installing-chef-ssl-expired-on-omnitruck-direct-chef-io/11935)

<div class="topic-metadata">

**Author:** [@eranm](https://discourse.chef.io/u/eranm)\
**Replies:** 4\
**Last updated:** [January 24, 2023, 2:10pm UTC](https://discourse.chef.io/t/error-installing-chef-ssl-expired-on-omnitruck-direct-chef-io/11935 "2023-01-24T14:10:33Z")

</div>

Hi, i’m trying to install chef but i get an error ERROR: cannot verify omnitruck-direct.chef.io’s certificate, issued by ‘CN=DigiCert SHA2 Secure Server CA,O=DigiCert Inc,C=US’: Issued certificate has expired.

---

## [New Infra Discourse product categories; posts to \`Chef Infra\` disabled](https://discourse.chef.io/t/new-infra-discourse-product-categories-posts-to-chef-infra-disabled/21513)

<div class="topic-metadata">

**Author:** [@jeffreystrauss](https://discourse.chef.io/u/jeffreystrauss)\
**Replies:** 1\
**Last updated:** [January 18, 2023, 3:57pm UTC](https://discourse.chef.io/t/new-infra-discourse-product-categories-posts-to-chef-infra-disabled/21513 "2023-01-18T15:57:45Z")

</div>

Hello, Chef Infra Community, and happy Friday! For quite some time, there has been an inconsistency between the available categories for posting topics in Discourse and the discussion channels used the Chef Community Sl…

---

## [Cannot create a databag, pool 'sqerl' failed to start member:](https://discourse.chef.io/t/cannot-create-a-databag-pool-sqerl-failed-to-start-member/12988)

<div class="topic-metadata">

**Author:** [@kamal2222ahmed](https://discourse.chef.io/u/kamal2222ahmed)\
**Replies:** 1\
**Last updated:** [October 24, 2022, 4:17pm UTC](https://discourse.chef.io/t/cannot-create-a-databag-pool-sqerl-failed-to-start-member/12988 "2022-10-24T16:17:57Z")

</div>

I have a Chef Cluster $ knife data bag create --secret-file data\_bag\_secret\_key s3cmd s3cfg getting error: ERROR: Server returned error 503 for https://chef-dt-frontend.com/organizations/spacewalkprod/data/s3cmd, retr…

---

## [DISCOURSE UPDATE: Splitting Categories for Infra Client, Server, and Workstation](https://discourse.chef.io/t/discourse-update-splitting-categories-for-infra-client-server-and-workstation/21503)

<div class="topic-metadata">

**Author:** [@jeffreystrauss](https://discourse.chef.io/u/jeffreystrauss)\
**Replies:** 0\
**Last updated:** [October 11, 2022, 5:30pm UTC](https://discourse.chef.io/t/discourse-update-splitting-categories-for-infra-client-server-and-workstation/21503 "2022-10-11T17:30:31Z")

</div>

Hello, Chef Infra community! Last week (Oct. 6-7, 2022), Progress Chef initiated an integration between our Chef Questions Discourse forums and our Chef Community Slack. For other Chef products (e.g., Habitat, InSpec, A…

---

## [chef-workstation: permission denied errors while performing chef spec test](https://discourse.chef.io/t/chef-workstation-permission-denied-errors-while-performing-chef-spec-test/21494)

<div class="topic-metadata">

**Author:** [@ksgnathan](https://discourse.chef.io/u/ksgnathan)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 7:07pm UTC](https://discourse.chef.io/t/chef-workstation-permission-denied-errors-while-performing-chef-spec-test/21494 "2022-10-06T19:07:57Z")

</div>

We just started using chef-workstation ( Download Chef Workstation | Chef ). In our scenario, For example one of the user (USERA) tried to perform (rspec) "chefspec test" on application cookbook, it will generate few fil…

---

## [Help! How to uninstall existing app and install new one on Windows via Chef](https://discourse.chef.io/t/help-how-to-uninstall-existing-app-and-install-new-one-on-windows-via-chef/21465)

<div class="topic-metadata">

**Author:** [@amvj](https://discourse.chef.io/u/amvj)\
**Replies:** 0\
**Last updated:** [October 2, 2022, 5:33am UTC](https://discourse.chef.io/t/help-how-to-uninstall-existing-app-and-install-new-one-on-windows-via-chef/21465 "2022-10-02T05:33:52Z")

</div>

I am new to Chef and I am looking for help from experts. I have doubts on Chef (Windows client side). My client machines are installed with McAfee agent. Recently McAfee renamed the agent as Trellix agent. As a result, …

---

## [7 days until discount hotel rate for #ChefConf expires. The show opens in 29 days](https://discourse.chef.io/t/7-days-until-discount-hotel-rate-for-chefconf-expires-the-show-opens-in-29-days/2684)

<div class="topic-metadata">

**Author:** [@Jesse\_Robbins](https://discourse.chef.io/u/Jesse_Robbins)\
**Replies:** 0\
**Last updated:** [April 16, 2012, 8:13pm UTC](https://discourse.chef.io/t/7-days-until-discount-hotel-rate-for-chefconf-expires-the-show-opens-in-29-days/2684 "2012-04-16T20:13:35Z")

</div>

Hey everyone... If you still need to book tickets/travel to #ChefConf... you have until Monday, April 23rd to get the $169 hotel rate! If you haven't registered for the conference yet, you can use code "CHCO10" t…

---

## [Knife cookbook upload datadog](https://discourse.chef.io/t/knife-cookbook-upload-datadog/21130)

<div class="topic-metadata">

**Author:** [@rakhtar](https://discourse.chef.io/u/rakhtar)\
**Replies:** 4\
**Last updated:** [June 13, 2022, 6:02pm UTC](https://discourse.chef.io/t/knife-cookbook-upload-datadog/21130 "2022-06-13T18:02:01Z")

</div>

Hi, I am getting below error message. Please advise. ubuntu@chef:~$ knife cookbook upload datadog ERROR: The object you are looking for could not be found Response: Chef - 404 Not Found …

---

## [How to create and read a file in the same recipe](https://discourse.chef.io/t/how-to-create-and-read-a-file-in-the-same-recipe/20564)

<div class="topic-metadata">

**Author:** [@guertin](https://discourse.chef.io/u/guertin)\
**Replies:** 4\
**Last updated:** [September 29, 2022, 8:02am UTC](https://discourse.chef.io/t/how-to-create-and-read-a-file-in-the-same-recipe/20564 "2022-09-29T08:02:36Z")

</div>

I'm confused about the way Chef orders things. I'm trying to read a remote file and put the contents into a variable. So, I tried this: remote\_file "/tmp/tmpfile.txt" do source "https://domain.com/tmpfile.txt" end …

---

## [Chef is slow on Windows VMs](https://discourse.chef.io/t/chef-is-slow-on-windows-vms/21454)

<div class="topic-metadata">

**Author:** [@tlc24](https://discourse.chef.io/u/tlc24)\
**Replies:** 4\
**Last updated:** [September 27, 2022, 9:15pm UTC](https://discourse.chef.io/t/chef-is-slow-on-windows-vms/21454 "2022-09-27T21:15:37Z")

</div>

Currently we are using chef-client version 17.10.3. We configure our windows vms using Octopus Deploy and using a "Converge chef recipe" step within the deployment process. The Converge chef recipe step is currently ta…

---

## [Chef client policy revision attribute](https://discourse.chef.io/t/chef-client-policy-revision-attribute/21451)

<div class="topic-metadata">

**Author:** [@ibcomputing](https://discourse.chef.io/u/ibcomputing)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 8:39pm UTC](https://discourse.chef.io/t/chef-client-policy-revision-attribute/21451 "2022-09-23T20:39:17Z")

</div>

When a new version of a policy is applied to a node via Chef Client the revision id of the policy is updated in the policy\_revision node attribute. My question is: at what point of the client run does this attribute get…

---

## [Kitchen times out waiting "to fetch windows admin password" on our EC2 Win 2022 AMI](https://discourse.chef.io/t/kitchen-times-out-waiting-to-fetch-windows-admin-password-on-our-ec2-win-2022-ami/21441)

<div class="topic-metadata">

**Author:** [@jemenake](https://discourse.chef.io/u/jemenake)\
**Replies:** 4\
**Last updated:** [September 22, 2022, 12:28am UTC](https://discourse.chef.io/t/kitchen-times-out-waiting-to-fetch-windows-admin-password-on-our-ec2-win-2022-ami/21441 "2022-09-22T00:28:35Z")

</div>

Hi All, I'm trying to diagnose a problem I'm having with kitchen using Win Server 2022 in EC2. My organization makes its own golden AMIs, and we've just started rolling our Win Server 2022 golden AMI using a similar pro…

---

## [Error - Fatal: No Nodes returned from search](https://discourse.chef.io/t/error-fatal-no-nodes-returned-from-search/21022)

<div class="topic-metadata">

**Author:** [@GRWL](https://discourse.chef.io/u/GRWL)\
**Replies:** 4\
**Last updated:** [September 21, 2022, 5:22pm UTC](https://discourse.chef.io/t/error-fatal-no-nodes-returned-from-search/21022 "2022-09-21T17:22:50Z")

</div>

Hello, I'm currently attempting to deploy ArcGIS Enterprise 10.9.1 using Chef. I have the Chef Server (RHEL7) and Chef Workstation (Server 2019) configured. Everything was going somewhat smoothly until today when I attem…

---

## [Kitchen test fails after Domain Controller install](https://discourse.chef.io/t/kitchen-test-fails-after-domain-controller-install/21404)

<div class="topic-metadata">

**Author:** [@haug](https://discourse.chef.io/u/haug)\
**Replies:** 3\
**Last updated:** [September 19, 2022, 1:28pm UTC](https://discourse.chef.io/t/kitchen-test-fails-after-domain-controller-install/21404 "2022-09-19T13:28:03Z")

</div>

Hi, When running kitchen converge on a cookbook that install windows active directory services so the node becomes a domain controller we get an "Failed to complete #converge action: \[WinRM::WinRMAuthorizationError\]" T…

---

## [IA certification for Chef Infra products](https://discourse.chef.io/t/ia-certification-for-chef-infra-products/21402)

<div class="topic-metadata">

**Author:** [@jpozork](https://discourse.chef.io/u/jpozork)\
**Replies:** 0\
**Last updated:** [September 12, 2022, 10:27pm UTC](https://discourse.chef.io/t/ia-certification-for-chef-infra-products/21402 "2022-09-12T22:27:05Z")

</div>

Have any of the Chef Infra products received any IA (Information Assurance) certifications or approvals? Example: NIAP, or CommonCriteria, or FIPS, ...

---

## [Changing the ssh key type used by the chef-run command](https://discourse.chef.io/t/changing-the-ssh-key-type-used-by-the-chef-run-command/21389)

<div class="topic-metadata">

**Author:** [@saieva](https://discourse.chef.io/u/saieva)\
**Replies:** 0\
**Last updated:** [September 1, 2022, 6:23pm UTC](https://discourse.chef.io/t/changing-the-ssh-key-type-used-by-the-chef-run-command/21389 "2022-09-01T18:23:47Z")

</div>

I'm testing Chef Workstation with EC2 servers running Amazon Linux 2022 (AL2022). By default, AL2022 does not support ssh-rsa key types, so chef-run can't connect. Is it possible to change the ssh key type that's used by…

---

## [Is Elasticsearch mandatory in chef server 14.7.1?](https://discourse.chef.io/t/is-elasticsearch-mandatory-in-chef-server-14-7-1/20127)

<div class="topic-metadata">

**Author:** [@yogesh](https://discourse.chef.io/u/yogesh)\
**Replies:** 2\
**Last updated:** [July 28, 2022, 5:56pm UTC](https://discourse.chef.io/t/is-elasticsearch-mandatory-in-chef-server-14-7-1/20127 "2022-07-28T17:56:01Z")

</div>

Is Elasticsearch mandatory in chef server 14.7.1?

---

## [Requesting apt repo for ubuntu jammy lts 22.04 on artifactory](https://discourse.chef.io/t/requesting-apt-repo-for-ubuntu-jammy-lts-22-04-on-artifactory/21263)

<div class="topic-metadata">

**Author:** [@steakknife](https://discourse.chef.io/u/steakknife)\
**Replies:** 0\
**Last updated:** [July 15, 2022, 2:00am UTC](https://discourse.chef.io/t/requesting-apt-repo-for-ubuntu-jammy-lts-22-04-on-artifactory/21263 "2022-07-15T02:00:00Z")

</div>

https://packages.chef.io/repos/apt/stable/dists/jammy/ :pray:

---

## [Question about knife setup](https://discourse.chef.io/t/question-about-knife-setup/21208)

<div class="topic-metadata">

**Author:** [@scdest](https://discourse.chef.io/u/scdest)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 9:38am UTC](https://discourse.chef.io/t/question-about-knife-setup/21208 "2022-06-28T09:38:11Z")

</div>

Hi there I'm new to Chef, for learning purposes I want to install mysql on my node using knife. What I'm doing: Install Chef Workstation on my machine Launch knife configure Launch knife supermarket install mysql Lau…

---

## [Need help regarding attribute arrays](https://discourse.chef.io/t/need-help-regarding-attribute-arrays/21206)

<div class="topic-metadata">

**Author:** [@sephmina](https://discourse.chef.io/u/sephmina)\
**Replies:** 1\
**Last updated:** [June 27, 2022, 12:13pm UTC](https://discourse.chef.io/t/need-help-regarding-attribute-arrays/21206 "2022-06-27T12:13:23Z")

</div>

Hello, We have the following attribute array in Chef Automate and we're wondering how to use it correctly in code? Here's what we have so far. newrelic attributes: node.default\['newrelic-infra'\]\['infra\_tag'\] = if n…

---

## [Host are not showing in chef server](https://discourse.chef.io/t/host-are-not-showing-in-chef-server/21170)

<div class="topic-metadata">

**Author:** [@rakhtar](https://discourse.chef.io/u/rakhtar)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 8:33pm UTC](https://discourse.chef.io/t/host-are-not-showing-in-chef-server/21170 "2022-06-16T20:33:54Z")

</div>

Hi Everyone, I have setup a Chef server with Data Dog and uploaded a cookbook succesfully but the nodes are not showing up in chef. can anyone please help me

[Next page](https://discourse.chef.io/c/chef/6.md?page=1)
