Skip to content
#

chef

Here are 1,110 public repositories matching this topic...

tas50
tas50 commented Oct 25, 2019

I burned a ton of time after hitting this one. It seems like a common getting started error with Chef that we should really handle better. If you spin up a node in EC2 it ends up with the cert being signed by the internal hostname and you can't use that self signed cert with knife. The solution it to update the API URL in the server config and reconfigure, but good luck finding anything online to

adamscharf
adamscharf commented Sep 15, 2017

Description

After running chefspec, the summary output for tests are no longer displaying the verbs. Is this a recent change to the coding standard and I need to update my tests or a bug with ChefSpec?

e.g.,

Tests

expect(chef_run).to create_directory('/opt/my-folder').with(
  owner: 'root',
  group: 'root',
  mode: '0755',
  )
end

it do
  expect(chef_run).to inst
dalee-bis
dalee-bis commented May 21, 2019

Description

On Windows, when a drive is mounted to an empty NTFS folder (e.g. C:\mounts\disk01) rather than a drive letter, ohai does not detect the disk and so does not retrieve any information regarding it.

This is caused by the use of the Win32_LogicalDisk object at https://github.com/chef/ohai/blob/master/lib/ohai/plugins/windows/filesystem.rb#L43. If Win32_Volume is used instea

RupertExact
RupertExact commented Jan 28, 2019

Cookbook version

Latest

Chef-client version

N/A

Platform Details

N/A

Scenario:

SSM parameters are super useful as a K/V store for secrets and configuration data. It enables centralization of this data outside of the Chef environment where it can be re-used for other purposes and means we don't have to maintain mutiple copies of data that we would otherwise have to put

mruhlin
mruhlin commented Jul 26, 2019

Cookbook version

8.5.2

Chef-client version

13.12.14

Platform Details

Ubuntu 16.04, running in Vagrant and AWS

Scenario:

We're upgrading an existing environment that has been running mysql 5.5 and using the default data location, /var/lib/mysql. We have various scripts that expect the data to be in that location, so would like to keep it there.

[What you are tryin

orasul
orasul commented Apr 21, 2020

Chef: 15.8.23
Cookbook version: 5.8.4
OS: CentOS7.7
RabbitMQ version: 3.7.25
Erlang version: 21.3
How to reproduce:
ssh user@rabbitmq-server sudo /bin/bash -c "chef-client"
ssh user@rabbitmq-server sudo chef-client

We encountered an issue using rabbitmq cookbook in our infrastructure. We deploy application software using our service which is based on remote ssh connection to server a

jesa-esrich
jesa-esrich commented Dec 13, 2018

The code which was added at release 2.3.1 will throw errors when run with a domain user. (code snippet below).

  1. In the resulting CHEF logs you can see that he tries to copy the rabbitmq file to C:\Users\DOMAIN\User\AppData\Roaming\RabbitMQ, which does not exist.

  2. Remove everything under C:\ProgramData\Esri\GeoEvent-Gateway does not work. It recognizes e.g. that the folder is not empty,

bby-bishopclark
bby-bishopclark commented Jan 21, 2020

I struggled a bit yesterday and today, trying to land a VM on a standalong esxi host which was managed through vCenter. The value for --resource-pool was really tricky to nail.

The problem? My solo managed hosts are in a folder.

I'd love to write/see a mod to the docco around that command so when we run into that issue again, we won't have completely forgotten and get jammed up again.

Improve this page

Add a description, image, and links to the chef topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the chef topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.