-
-
Notifications
You must be signed in to change notification settings - Fork 244
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dev_mode attribute causes error in startup #367
Comments
Looks like dev mode is a command line parameter |
I concur. From reading the documents, I'm not sure there actually is a config file version of that commandline flag. Perhaps setting this attribute in the cookbook could cause the service startup to throw in the -dev flag instead |
I am pretty sure this is a relic from an older version of Consul. We are open to accepting PR here. |
Hi there, If you want to bootstrap a single consul server for dev purposes using this Chef cookbook, then you can do that by setting some attributes. This is my real working example: # my_test_recipe.rb
node.default['firewall']['allow_consul'] = false # Just to skip firewall configuration
node.default['consul']['config'] = {
'bootstrap_expect' => 1,
'server' => true,
'ui' => true
}
include_recipe 'consul' |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In my Test Kitchen, I've added the dev_mode attribute to be true.
When converging Consul, I get the following issue:
Consul is running version 0.7.0
The text was updated successfully, but these errors were encountered: