Comments (7)
This is a tricky one, given that most people will be configuring all aspects of supervisord through the module having multiple directories would only make configuration more complex.
I thought about having the config_include
param as an array but this means I would need to pick one of those as the location for all the configs. I think I will make the config_include
param a simple string rather than a absolute path so you can customise it with you own space seperated paths.
Let me know if this works for you
from puppet-supervisord.
Actually this will break things as I rely on this for config file paths in other resources, I will have a think about the best approach.
from puppet-supervisord.
Hey,
Thanks for the quick response. I understand what you mean and that it conflicts with how you use this parameter.
I played a bit with it and found a simple workaround. I added a parameter $file to the class definition and added it also to the template file. With this everything works as before.
Let me know if you need more details. I am currently on the road...
Best Hannes
from puppet-supervisord.
I've committed code to add this feature, see f863a94. You can now specific an array of include paths with $config_dirs
. If this is not specified ${config_include}/*conf
will be used, so make sure it includes this.
This is a bit of a work around and the name could be better but I want to avoid breaking changes for existing users of the module which this does.
Give it a try and let me know if this work, I'll look to get this out in a release shortly.
from puppet-supervisord.
Hi,
i'll give it a try as soon as possible and write back.
Thanks!
Hannes
from puppet-supervisord.
Hi,
i just gave it a try and it works perfectly. Thanks, a lot for your help. Looking forward to see it in the next release.
Regards
Hannes
from puppet-supervisord.
Great, I'll push out a release shortly.
Thanks for the input.
from puppet-supervisord.
Related Issues (20)
- Puppet 4: Error: Failed to apply catalog: undefined method `[]' for nil:NilClass HOT 6
- Program ignores refreshing HOT 1
- Possible bug with systemctl manifest if program name contains 'RUNNING'
- Puppet always execute start for program with numprocs != 1 HOT 3
- Stopasgroup=true should set killasgroup=true as well
- Define custom path for include files
- Concat fails - Could not retrieve information from environment production source HOT 4
- Could not find init script for 'supervisord'
- How to provide serverurl using supervisord::supervisorctl
- puppetlabs/concat v4.0.1 HOT 2
- Replace validate_* with validate_legacy
- Release
- Use of HTTP without TLS HOT 1
- Module uses deprecated hiera_hash instead of lookup HOT 1
- service_manage = false breaks refresh on config or resource changes
- Supervisord version should be restricted on CentOS 6. HOT 1
- Transfer to VoxPupuli? HOT 12
- AMI2, Wrong execute path HOT 1
- The container Class[Supervisord::Install] will propagate my refresh event
- Puppet 8x compatibility HOT 1
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-supervisord.