Category Archive: Chef

Nov 19

Chef change attributes node level Java cookbook

How do you change the attributes at the node level.  I just went through this recently with some Scala servers that required Oracle Java 7.  The defaults for the Java cookbook at the marketplace: https://supermarket.getchef.com/cookbooks/java#readme are openJDK 6.  To replace them you need to: knife node edit <NODE_NAME> In the editor that pops up add …

Continue reading »

Sep 21

Chef calculate checksum

I’ve been working with Chef at work and there are several items that I keep looking up.  The first of these is calculating the checksum for a file that chef downloads.  Since we are doing some customized recipes I keep looking at having to grab a file and check the checksum, although not completely necessary …

Continue reading »

Sep 14

Chef-client fails to complete

FATAL: Net::HTTPServerException: 413 “Request Entity Too Large” A nasty message from the chef-client that was happening because ohai was uploading all of our users and groups.  But after configuring the /etc/chef/client.rb file and adding: Ohai::Config[:disabled_plugins] = [“passwd”] Is no longer an issue https://wiki.opscode.com/display/chef/Disabling+Ohai+Plugins

Close Bitnami banner
Bitnami