Comments (7)
What? It should be restarting the service after any config change:
https://github.com/solarkennedy/puppet-consul/blob/master/manifests/check.pp#L53
https://github.com/solarkennedy/puppet-consul/blob/master/manifests/service.pp#L60
from puppet-consul.
Interesting. The only relevant output I'm seeing after configuration change is as follows (Debian 7.6 nodes):
Notice: /Stage[main]/Consul::Run_service/Service[consul]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Consul::Run_service/Service[consul]: Unscheduling refresh on Service[consul]
Actually, this info appears with each puppet run, regardless of whether configuration changed or not. Possibly my implementation is wrong?
from puppet-consul.
Yea, it sounds like puppet is continuously trying to start consul.
Is it:
A: Consul isn't actually starting at all? (bad config, etc).
Try to start consul yourself and check logs.
or
B: Puppet isn't detecting that consul is already running?
Confirm with a ps that consul is running before puppet runs.
Pastebin a puppet run with --debug and a full ps -ef
from puppet-consul.
@dannykansas can you confirm if this is still an issue? Is consul even running like normal?
from puppet-consul.
In https://github.com/solarkennedy/puppet-consul/blob/master/manifests/service.pp#L90 there is a Notify on Class[consul::run_service]. Shouldn`t that rather be a Notify on Service[consul]?
from puppet-consul.
Notifying the entire class is ok, it should in-turn notify any resources inside, including Service[consul]
from puppet-consul.
Fixed #152
from puppet-consul.
Related Issues (20)
- HCL Config Support HOT 1
- New Home Attribute on consul user resource breaks our puppet runs. HOT 3
- Registering multiple services from same node/instance with same name HOT 11
- Drop EoL CentOS/RHEL 6 support
- Drop EoL Ubuntu 16.04 support
- Drop EoL Amazon Linux support
- Drop EoL Fedora 25/26/27 support
- Drop EoL FreeBSD 10 support
- Drop support for old SLES/SLED versions
- Drop support for EoL Puppet 5
- Migrate from master to main HOT 2
- migrate module to Vox Pupuli? HOT 6
- Module Release?
- RFC: refactor to include official hashicorp package repos HOT 1
- Systemd service does't work for 'package' install_method HOT 6
- RFC: change dependency camp2camp/systemd module to voxpupuli/systemd
- legacy ACL v1 no longer working starting from Consul version 1.11 HOT 9
- Add ability to manage consul log directory HOT 1
- Status of the project HOT 1
- Adding ACLS / Policies failes with unable to get local issuer certificate -> Puppet 6 / LetsEncrypt HOT 2
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 puppet-consul.