Anyone elase who has faced the same issue ? On Friday, July 29, 2016 at 4:30:19 PM UTC+5:30, Rajnesh Kumar Siwal wrote: > > While setting up a node to use Foreman Chef Smart Proxy to proxy the > requests to chef-server, I may facing some issues: > Here is my /etc/chef/client.rb > ----------------------------------------- > require 'chef_handler_foreman' > log_level :auto > log_location STDOUT > #chef_server_url "https://chef-aws.example.com/organizations/example" > #chef_server_url " > https://foreman-aws.example.com:8443/organizations/example" > chef_server_url "https://foreman-aws.example.com:8443" > node_name "vboxcentos7" > client_key "/etc/chef/client.pem" > # Using default node name (fqdn) > ssl_verify_mode :verify_none > > foreman_server_options :url => 'https://foreman-aws.example.com:8443' > foreman_facts_upload true > foreman_reports_upload true > reports_log_level "notice" > > foreman_facts_whitelist ['lsb','network','cpu'] > --------------------------------------------------------------- > > The direct communication from node to chef server is working fine. > > Here are the proxy variables : > ---------------------------------------------------- > [root@foreman-aws log]# cat /etc/foreman-proxy/settings.d/chef.yml > --- > :enabled: true > :chef_authenticate_nodes: true > :chef_server_url: https://foreman-aws.example.com > # smart-proxy client node needs to have some admin right on chef-server > # in order to retrive all nodes public keys > # e.g. 'host.example.net' > :chef_smartproxy_clientname: foreman-aws.example.com > :chef_smartproxy_privatekey: /etc/chef/client.pem > :chef_ssl_verify: true > > ---------------------------------------------------- > > > Please suggest >
-- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
