Connect DCM to Chef

If the Chef server has been previously connected to Dell Cloud Manager (the Chef Configuration Management account in DCM exists) then you can skip the instructions on this page and continue to the next page.

In order to define the Chef server to your Dell Cloud Manager server you will need the Chef server credentials. You can determine the Chef server credentials from the contents of the .chef subdirectory and your knife.rb file.

ls .chef
DCM-validator.pem   gforghetti.pem      knife.rb
cat .chef/knife.rb
current_dir = File.dirname(__FILE__)
log_level                :info
log_location             STDOUT
node_name                "gforghetti"
client_key               "#{current_dir}/gforghetti.pem"
validation_client_name   "DCM-validator"
validation_key           "#{current_dir}/DCM-validator.pem"
chef_server_url          "https://api.opscode.com/organizations/gaf"
cache_type               'BasicFile'
cache_options( :path => "#{ENV['HOME']}/.chef/checksums" )
cookbook_path            ["#{current_dir}/../"]      

Define the Chef server connection to your Dell Cloud Manager server. From the Dell Cloud Manager console click on Administration ‣ Configuration Management Accounts. Then click on the Add Configuration Management Account button.

../../../_images/add_chef_account14.png

Fill in the Chef server credentials. Substitute the credentials in the example below with your Chef server credentials. Then click on the Create Account before.

../../../_images/add_chef_account24.png

It may take several minutes for Dell Cloud Manager to discover the cookbook(s) and role(s) from the Chef server. The Chef account will not appear on the Dell Cloud Manager console Configuration Management Accounts page until the entire discovery process is completed.

../../../_images/add_chef_account34.png