This is jenkins plugin to run chef-client on remote host
1) Connect to remote host with given ssh login using ssh public-key authentication schema. 2) Run chef-client on this host, optionally with chef json file generated from template.
If you define one, chef json file will be generated based on this template.
Check out chef wiki to get know about chef json files.
This is ERB template, so you can use ERB syntax here:
<%
runlist = %w{foo bar baz}
chef_json = { :run_list => runlist.map { |r| "recipe[#{r}]" } }
%>
<%= chef_json.to_json.to_s %>
You can set environment variables via “Jenkins/Configuration/Global properties/Environment variables” interface to adjust plugin behaviour.
Setup your standard encoding.
ru_RU.UTF-8
http://repo.jenkins-ci.org/snapshots/org/jenkins-ci/ruby-plugins/chef/