Skip to content

Chef Plugin Configuration

ddurnev edited this page Aug 6, 2012 · 2 revisions

Chef server configuration

Chef server connection is used by the corresponding plugin.

genesis.plugin.chef.identity: user name for acess to Chef server
genesis.plugin.chef.credential: URL pointing to Chef user credentials private key file
genesis.plugin.chef.validator.identity: Chef server validation key name
genesis.plugin.chef.validator.credential: URL pointing to Chef server validation private key file
genesis.plugin.chef.endpoint: Chef server API endpoint URL
genesis.plugin.chef.id: An unique identifier for a single Genesis applicaiton instance on Chef server. Default value: dev

Here is the example configuration for OpsCode hosted Chef server:

genesis.plugin.chef.identity = chef-user
genesis.plugin.chef.credential = classpath:/environments/chef/chef-key.pem
genesis.plugin.chef.validator.identity = gd-validator
genesis.plugin.chef.validator.credential = classpath:/environments/chef/gd-validator.pem
genesis.plugin.chef.endpoint = https://api.opscode.com/organizations/gd

For successful execution of Chef client and Chef solo user that connects to target vm should have enough rights to execute package manager and at command with sudo.

Clone this wiki locally