yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #82681
[Bug 1879403] [NEW] cc_chef does not support chef_license key to accept the chef EULA license
Public bug reported:
This is a request to add support for the client configuration option
"chef_license" in `chef_client.rb.tmpl` and the `chef` configuration
block.
Use Case:
Latest version of chef products needs us to accept the EULA license
agreement without accepting the license chef infra client run will not
be initiated or chef registration to chef-server does not happen.
As per chef documentation https://docs.chef.io/chef_license_accept/#chef-infra-client
users can specify chef_license 'accept' in their Chef Infra Client and Chef Infra Server config.
Example:
# cloud-init
chef:
chef_license: "accept"
install_type: "packages"
server_url: https://api.opscode.com/organizations/myorg
environment: dev
validation_name: dev-validator
validation_cert: dev-validator.pem
run_list: role[db]
encrypted_data_bag_secret: /etc/chef/encrypted_data_bag_secret
=>
# /etc/chef/client.rb
chef_license "accept"
log_level :info
log_location "/var/log/chef/client.log"
ssl_verify_mode :verify_none
validation_client_name "dev-validator"
validation_key "/etc/chef/validation.pem"
client_key "/etc/chef/client.pem"
chef_server_url "https://api.opscode.com/organizations/myorg"
environment "dev"
node_name "f3e2342498-8832492792-827349872492"
json_attribs "/etc/chef/firstboot.json"
file_cache_path "/var/cache/chef"
file_backup_path "/var/backups/chef"
pid_file "/var/run/chef/client.pid"
Chef::Log::Formatter.show_time = true
encrypted_data_bag_secret: /etc/chef/encrypted_data_bag_secret
=>
Without this cc_chef does not work with chef-15 and above.
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1879403
Title:
cc_chef does not support chef_license key to accept the chef EULA
license
Status in cloud-init:
New
Bug description:
This is a request to add support for the client configuration option
"chef_license" in `chef_client.rb.tmpl` and the `chef` configuration
block.
Use Case:
Latest version of chef products needs us to accept the EULA license
agreement without accepting the license chef infra client run will not
be initiated or chef registration to chef-server does not happen.
As per chef documentation https://docs.chef.io/chef_license_accept/#chef-infra-client
users can specify chef_license 'accept' in their Chef Infra Client and Chef Infra Server config.
Example:
# cloud-init
chef:
chef_license: "accept"
install_type: "packages"
server_url: https://api.opscode.com/organizations/myorg
environment: dev
validation_name: dev-validator
validation_cert: dev-validator.pem
run_list: role[db]
encrypted_data_bag_secret: /etc/chef/encrypted_data_bag_secret
=>
# /etc/chef/client.rb
chef_license "accept"
log_level :info
log_location "/var/log/chef/client.log"
ssl_verify_mode :verify_none
validation_client_name "dev-validator"
validation_key "/etc/chef/validation.pem"
client_key "/etc/chef/client.pem"
chef_server_url "https://api.opscode.com/organizations/myorg"
environment "dev"
node_name "f3e2342498-8832492792-827349872492"
json_attribs "/etc/chef/firstboot.json"
file_cache_path "/var/cache/chef"
file_backup_path "/var/backups/chef"
pid_file "/var/run/chef/client.pid"
Chef::Log::Formatter.show_time = true
encrypted_data_bag_secret: /etc/chef/encrypted_data_bag_secret
=>
Without this cc_chef does not work with chef-15 and above.
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1879403/+subscriptions
Follow ups