I'm trying to use the ohai resource to make node['etc']['passwd'] available. My recipe looks like this: According to this answer this should work. ...
I'm trying to use the ohai resource to make node['etc']['passwd'] available. My recipe looks like this: According to this answer this should work. ...
I am running command ohai -l debug on Windows server 2016 which should output server attributes. On one VM it returns empty arrays on most important ...
I wanted to enable Passwd ohai plugin in my node in test kitchen. On a regular node, I've done it by adding: to /etc/chef/client.rb. I wanted to a ...
I have a wapper cookbook that contains a custom ohai plugin. This plugin is used in my second cookbook. Is my config.rb file correct? Is it necessa ...
The ohai-example helps a lot to package a ohai plugin in a cookbook. In my default recipe I use After a chef.run the custom ohai plugin is placed a ...
I've installed a chef-workstation on my computer. I also installed the Ohai cookbook from the supermarket. If I integrate this into my test cookboo ...
Following Ron Cowie's guide in his book Customising Chef (O'Reilly) to creating simple Ohai plugin, it appears as though the Ohai plugins_path is not ...
I have a requirement where I need to get hostname, memory, cores, storage, packages installed for multiple nodes(~1k). I have approached the solution ...
I'm trying to access node.name from a custom Ohai plugin. This doesn't seem to be available by default. It is possible to grab the hostname by depend ...
I need to build a custom ohai plugin to read windows_registry keys and update the attributes while running the chef-client. I try to figure out on how ...
I am trying to run a simple Hazelcast cluster on Amazon EC2 following the official code sample, every step seems to be OK but when running vagrant up ...
I have couple of nodes where i face '413 "Request Entity Too Large" error'. After googling, I found that we need to disable the 'passwd' ohai plugin t ...
I'm trying to setup a only_if recipe, I only want file1 to be used in our East region and File2 to be using in the West region. The results right now ...
Running Chef's knife bootstrap command successfully populates the cloud_v2 attribute via Ohai when I bootstrap VMs created on Google Cloud and Rackspa ...
I'm creating the Chef recipe below. However, my shell_out calls are just returning hex values for the expanded variable. How to get the value of the f ...
I've written a very simple custom ohai plugin. It should just check if there are any files on the system with .war extensions. The chef client run see ...
Somehow, ohai picked up the ipaddress of one of my LXC containers on a particular host instead of the ip address associated with the eth0 interface. ...
I am providing the ipaddress of the machine within my kitchen.yml: When I try to retrieve the value of ipaddress using I get 10.0.2.15 instead o ...
Would Chef server URL be accessible as an attribute of a node? I would like to have a custom recipe behaviour changed based on the server id (URL) the ...
I wanted to enable the softlayer ohai plugin so that the softlayer metadata will be collected. I have included the ohai recipe in the chef node's run ...