Installation Guide
2-10
Cisco Intelligent Automation for Cloud Installation Guide
OL-29971-02
Chapter 2 Installing and Configuring Optional Software
Configuring Chef for Cisco IAC Integration
"display_name": "Customer Name",
"description": "The customer name",
"help_text": "Please select a valid customer.", "options": ”Opscode,Cisco
Systems,ACME Bread",
"data_type": "string",
"validation": "", "value": "Opscode", "required": "yes",
"expression": "node.normal[:customer][:name]"
},
"customer.greeting": {
"display_name": "Customer Greeting",
"description": "Greeting to display to customer.",
"help_text": "Please select a customer greeting. For example, Hello.",
"options": "", "data_type": "string", "validation": "", "value": "Hello",
"required": "yes",
"expression": "node.normal[:customer][:greeting]"
},
"http.port": {
"display_name": "HTTP Port",
"description": "The HTTP port to use.",
"help_text": "Please select an HTTP port for the web page. Default is 80.",
"options": "", "data_type": "integer", "validation": "", "value": "99",
"required": "no",
"expression": "node.force_default[:http][:port]"
}
}
}
Proxies for Chef
Proxies for Chef are configurable in Connect and update Cloud infrastructure forms. If proxies are used
in your environment, you will need to ensure you have the following patches for your Chef server
(v11.4-6 provided in Chef folder).
For Linux
bootstrap_context.rb (replaces file in <ruby-path-to-chef-gems>/lib/chef/knife/core)
bootstrap.rb (replaces file in <ruby-path-to-chef-gems>/lib/chef/knife)
chef-full.erb (replaces file in <ruby-path-to-chef-gems>/lib/chef/knife/bootstrap)
For Windows
bootstrap_windows_base.rb
(replaces file in <ruby-path>/gems/knife-windows-0.5.13/lib/chef/knife/)
windows_bootstrap_context.rb
(replaces file <ruby-path>/gems/knife-windows-0.5.13/lib/chef/knife/core)
windows-chef-client-msi.erb
(replaces file in <ruby-path>/gems/knife-windows-0.5.13/lib/chef/knife/bootstrap)
In your
knife.rb file, include your proxy information as in the example below
bootstrap_proxy = ‘http://64.102.255.40:8080’
bootstrap_no_proxy = ‘192.168.1.*, internal.chef.server’
Setting Up Proxies for Chef in Cisco IAC
To set up your proxies for Chef, follow the steps below.