Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status


cisco_imc_cookbook (2) Versions 0.9.2

This cookbook configures Cisco IMC Servers(standalone)

cookbook 'cisco_imc_cookbook', '~> 0.9.2', :supermarket
cookbook 'cisco_imc_cookbook', '~> 0.9.2'
knife supermarket install cisco_imc_cookbook
knife supermarket download cisco_imc_cookbook
Quality 50%

cisco_imc_cookbook README

This cookbook configures the Cisco IMC Servers(standalone).


Follow the steps outlined below to install the cookbook.
1. Navigate to 'cookbook' folder under 'chef-repo' folder on your workstation and move the 'cisco_imc_cookbook' here.
2. Create your recipes, sample recipes are provided in the cookbook.
It is a good practice to set the cisco imc accounts in the data bag of chef before writing recipes,
because you will need to mention the data bag item name in the auth_data parameter of the recipe.
3. Run the command on the workstation from under the chef-repo folder.

<pre><code>knife cookbook upload cisco-imc-chef</code></pre>
4. Add recipe to the run-list of the chef node and run chef-client.

Setting the Cisco IMC Accounts in Chef

Follow the steps outlined below to setup the Cisco IMC Accounts in chef.
1. Create a data bag in chef with the name "cisco_imc_accounts". This data bag name is configurable in the default.rb attribute file.
2. Now, create an item under the data bag.
3. Edit each item and add json data as follows.


"user": "admin",

"password": "********",

"port": "80",
Note: You can create multiple such data bag items, depending upon the number of account you have.


Follow the steps outlined below to un-install the cookbook.
1. Run the command on chef workstation from under the chef-repo folder.

* knife cookbook delete cisco_imc_cookbook



  • CentOS Release 6.5 or later
  • ubuntu Release 16.04 or later


  • Ruby v2.2.x or later


  • Chef 12.0 or later


  • None

Cisco IMC Versions

  • Cisco IMC v2.0(3) or later


  • default[:databag][:name] = "cisco_imc_accounts"



Recipe connecting to single Cisco IMC Server.

Note: auth_data should be set to the data bag item name that should be used to authenticate with the IMC Server.
cisco_imc_user_config 'cisco_imc_user_config' do
ipaddress ""
auth_data "imc_account"
account_status 'active'
username 'testuser'
password '*******'
priv "read-only"
action :create


Recipe connecting to multiple Cisco IMC Server from a chef client

Note: Assuming imc_servers contains a list of imc_servers to be configured from a chef client node.
for imc_server in imc_servers

cisco_imc_ntp_config "cisco_imc_ntp_config-#{imc_server}" do
ipaddress imc_server
auth_data "imc_account"
ntp_state 'yes'

ntp_servers [{:id => 2, :ip => ""}, {:id => 3, :ip => ""}]

action :enable



Please read []( for details on our code of conduct, and the process for submitting pull requests to us.


We are on Slack - slack requires registration, but the ucspython team is open invitation to anyone to register here


Copyright 2017 Cisco Systems, Inc.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at   

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,


See the License for the specific language governing permissions and

limitations under the License.


Name: Amit Mandal


Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

cisco-imc-chef CHANGELOG

This file is used to list changes made in each version of the cisco-imc-chef cookbook.


  • [Amit Mandal] - Initial release of cisco-imc-chef

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric

0.9.2 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

0.9.2 passed this metric

Foodcritic Metric

0.9.2 failed this metric

FC016: LWRP does not declare a default action: cisco_imc_cookbook/resources/cisco_imc_utils.rb:1
FC091: Use property not attribute in custom resources: cisco_imc_cookbook/resources/cisco_imc_ldap.rb:222
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric

0.9.2 passed this metric

Testing File Metric

0.9.2 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must contain a file

Version Tag Metric

0.9.2 passed this metric