Comments (7)
After looking at this with a fresh pair of eyes, the client_addr
attribute works. The problem I had was I didn't have the UI enabled. Is it reasonable that someone might want to run the HTTP API without the UI, and thus client_addr
shouldn't be tied to the UI?
from consul.
@dpetzel I believe #78 should fix this, would you mind validating?
from consul.
I'm not actually sure that's going to help in my case. If I'm reading it correctly your PR would result me in having to redefine client_addr into the extra params? While I could certainly do that it feels unnecessarily redundant. I think the fix is to remove the conditional around adding client_addr:
if node['consul']['serve_ui']
service_config['ui_dir'] = node['consul']['ui_dir']
service_config['client_addr'] = node['consul']['client_addr']
end
becomes something more like
service_config['client_addr'] = node['consul']['client_addr']
if node['consul']['serve_ui']
service_config['ui_dir'] = node['consul']['ui_dir']
end
from consul.
@dpetzel sorry about that I misunderstood your issue. :P
On Thu, Nov 6, 2014 at 3:43 PM, dpetzel [email protected] wrote:
I'm not actually sure that's going to help in my case. If I'm reading it
correctly your PR would result me in having to redefine client_addr into
the extra params? While I could certainly do that it feels unnecessarily
redundant. I think the fix is to remove the conditional around adding
client_addr:if node['consul']['serve_ui']
service_config['ui_dir'] = node['consul']['ui_dir']
service_config['client_addr'] = node['consul']['client_addr']
endbecomes something more like
service_config['client_addr'] = node['consul']['client_addr']
if node['consul']['serve_ui']
service_config['ui_dir'] = node['consul']['ui_dir']
end—
Reply to this email directly or view it on GitHub
#73 (comment)
.
from consul.
Running into this same issue. I vote for having the conditional for the ui removed from accepting client_addr or being reworked as well.
from consul.
I am closing this out because of impeding #126 landing on master.
from 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.
from consul.
Related Issues (20)
- Dangerfile should use failure instead of fail
- Remove .rubocop.yml with Dangerfile HOT 1
- Update Changelog HOT 2
- Run latest cookstyle HOT 2
- Update builds to be parallel HOT 1
- undefined method `join_path' for PoiseArchive::Resources::PoiseArchive::Resource HOT 6
- Segment part of the config is wrong type HOT 1
- Poise dependency is abandoned HOT 3
- Rewrite Consul cookbook to use custom resources HOT 5
- `services` definition throws "no implicit conversion of Symbol into Integer" HOT 3
- Support arm64 on linux
- Diplomat gem fails on Chef 16.9.29+ HOT 4
- Error in configure_diplomat with Diplomat 2.5.0 HOT 12
- Chef 17 - Poise no longer works HOT 2
- Consul 1.9.x - ui/ui_dir deprecated HOT 1
- Why are unit tests disabled? Any plans to return them back? HOT 1
- consul_service ignores program property HOT 1
- Dependency Dashboard
- Consul 1.12.x deprecated fields
- Consul client install latest packages missing checksums
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 consul.