Testing it out, I set the attributes as such in a recipe file: stardust:recipes rilindo$ more ldapauthtls.rb node.override['authconfig']['sssd']['enable'] = true node.override['authconfig']['ldap']['enable'] = true node.override['authconfig']['ldap']['tls'] = true node.override['authconfig']['ldap']['server'] = 'kerberos.example.com' node.override['authconfig']['ldap']['basedn'] = 'dc=example,dc=com' node.override['authconfig']['ldap']['auth'] = true node.override['authconfig']['ldap']['cacerturl'] = 'http://192.168.15.100/mirrors/ks/keys/cacert.pem' And added it in: stardust:recipes rilindo$ knife node run_list add ldaptls "recipe[authconfig::ldapauthtls]" run_list: recipe[chef-client] recipe[ohai] recipe[authconfig::ldapauthtls] And restarted chef-client on my test node. So far, it didn't set the configs as intended. Perhaps it is my inexperience with chef getting in the way, but is this the right way to set it up? - Rilindo On Jan 21, 2012, at 12:45 PM, Jesse Campbell wrote:
|
Archive powered by MHonArc 2.6.16.