ohai-gem

what are the side effects of disabling ohai 'passwd' plugin

試著忘記壹切 提交于 2019-12-25 05:13:25
问题 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 to reduce the node data size which is being saved to Chef server - Referring to: Opscode Chef Request entity too large registering a node Just wanted to know, if there will be any side effect, if we disable the 'passwd' ohai plugin. 回答1: The side effect is that node['etc']['passwd'] wont' be populated. 来源: https://stackoverflow.com/questions

chef cookbook fails on ohai undefined method `[]' for nil:NilClass

倖福魔咒の 提交于 2019-12-19 08:05:14
问题 I'm working on a chef cookbook to set up a vanilla ubuntu 12.04.2 with nginx postgresql and unicorn on my vagrant box, but I'm getting into troubles with nginx, there's an exception undefined method `[]' for nil:NilClass when installing it that seem to relate to ohai configuration. I've posted all I have here: https://github.com/DonGiulio/mychef here's the output from chef-solo: Starting Chef Client, version 11.4.0 Compiling Cookbooks... =======================================================

chef cookbook fails on ohai undefined method `[]' for nil:NilClass

妖精的绣舞 提交于 2019-12-19 08:05:11
问题 I'm working on a chef cookbook to set up a vanilla ubuntu 12.04.2 with nginx postgresql and unicorn on my vagrant box, but I'm getting into troubles with nginx, there's an exception undefined method `[]' for nil:NilClass when installing it that seem to relate to ohai configuration. I've posted all I have here: https://github.com/DonGiulio/mychef here's the output from chef-solo: Starting Chef Client, version 11.4.0 Compiling Cookbooks... =======================================================