Comments (7)
My fix is to simply add accept_license
to the addons.rb recipe and add a accept_license
attribute. Not sure if this falls under Obvious Fix policy, but in the absence of more concise addons configuration in a different issue, this fixes things.
from chef-server.
I have PR #121 open on this... but i think i have to modify the tests...
from chef-server.
+1. I'm hitting this, too. Started today.
from chef-server.
STDOUT: To use this software, you must agree to the terms of the software license agreement.
Please view and accept the software license agreement, or pass --accept-license.
Guys, this is so frustrating. The entire purpose of Chef is to create environments that are automatic, fluid, and controlled. Adding a step where an argument has to be passed to accept a license without having some mechanism to automate it goes completely contrary to that and has completely horked a bunch of demos I was doing to try to sell this tech internally.
from chef-server.
Until the cookbook handles this properly, set the ['chef-server']['version']
attribute to 12.4.1-1
to go back to a version that doesn't require the license acceptance and use chef-server
cookbook version 4.1.0
.
EDIT: Actually, that didn't fix it. I'm still hunting for a version that works. Will update this comment when I find one.
EDIT: It looks like regardless of what you lock the version to for the package, the latest chef gems are installed, which means there's no version you can choose that will work.
EDIT: Confirmed. The only way to fix this (other than editing the cookbook) is to log into the chef server and run $ sudo chef-manage-ctl reconfigure --accept-license
.
from chef-server.
@ChadScott and @mengesb,
Thanks so much for bringing up the issue. We're working to get this cookbook updated asap. Additionally @mengesb thanks for working to add a fix for this issue!
from chef-server.
This should be fixed in version 5.0.1 of this cookbook. Please let me know if it is still having problems for you. Please make sure to explicitly set the accept_license attribute value to true to express accepting the Chef MLSA.
from chef-server.
Related Issues (20)
- NoMethodError: ruby_block[bootstrap-chef-server-data] (private-chef::bootstrap line 33) had an error: NoMethodError: undefined method `[]' for nil:NilClass HOT 1
- Cookbook fails when 'bootstrap true' added to config HOT 2
- chef-ingredient 2.0.0 no longer has ChefIngredientCookbook::Helpers.fqdn_resolves? HOT 3
- version contraint error - Net::HTTPServerException: 412 "Precondition Failed" HOT 3
- bump chef-ingredient dependency HOT 4
- No way to specify add-on dependencies
- Upgrading a chef-server install HOT 4
- Addon installs fail HOT 5
- IPAddr::AddressFamilyError HOT 1
- Installation Problem with Proxy Server - Proxy Authentication Required HOT 3
- nginx access.log configuration not taking
- Chef-Automate Cookbook? HOT 1
- Wrong chef-ingredient dependency HOT 1
- add support for "source" attributes to chef-ingredient HOT 2
- chef package missing on packagecloud
- Chef-server installation using Chef-solo & Ubuntu 18.04 HOT 2
- Habitat-ized chef-server cookbook HOT 1
- node attribute `accept_license` not working HOT 2
- Chef Server Config Document site goes to a 404. HOT 1
- Recipe Compile Error undefined method `chef_ingredient' for cookbook: chef-server, recipe: default :Chef::Recipe
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chef-server.