end
if node['jenkins-grid']['with_ssl_cert_cookbook']
- include_recipe 'ssl_cert::server_key_pairs'
::Chef::Recipe.send(:include, SSLCert::Helper)
cn = node['jenkins-grid']['ssl_cert']['common_name']
+ append_server_ssl_cn(cn)
+ include_recipe 'ssl_cert::server_key_pairs'
key_path = server_key_path(cn)
bash 'copy_ssl_server_key_for_jenkins' do