Comments (6)
Could you give us a complete snippet to reproduce ? Aren't you looking to set latest here instead ? https://github.com/pdxcat/puppet-module-collectd/blob/1830403421c03c10a00552075e164214e97c86da/manifests/init.pp#L16
from puppet-collectd.
On initial apply of puppet manifest, it works fine.
It doesn't work properly when performing an upgrade on an existing collectd
installation:
- run puppet with
collectd
resource with parameterrequire => 'latest'
.
(This will download the latest version ofcollectd
andcollectd-core
) - new version of
collectd
is released - re-run puppet
(updatescollectd
but notcollectd-core
)
from puppet-collectd.
Well...
# apt-cache show collectd|grep Depends
Depends: collectd-core, iptables, libc6 (>= 2.4), librrd4 (>= 1.3.0)
Is the mismatch between collectd and collectd-core causing issues ? If yes I'd also recommend to send this to Debian instead... Other than that I found unpractical to use ensure => latest anyway as it can cause surprise unplanned upgrades...
from puppet-collectd.
Yeah, I understand where you're coming from. In our setup we had ensure => 'installed'
, but on decision to use this module to update to the latest version, it's behavior did not match the expectation.
What I mean is that why have ensure => 'latest'
if it's functionality is broken (albeit I haven't tried other platforms, hopefully they don't have this issue as well). I've filed a ticket upstream.
What are your thoughts on patching this inside the collectd
module while this gets resolved though, because without managing the collectd-core
package currently on Debian, ensure => 'latest'
is broken.
from puppet-collectd.
I'd rather not have us code around OS packaging problems. However, we could ensure an array of packages on (I assume) $::osfamily == 'Debian'
.
from puppet-collectd.
Let me know if #406 solves this for you.
from puppet-collectd.
Related Issues (20)
- File['collectd.d'] -> Concat <| tag == 'collectd' |> is too greedy HOT 2
- collectd::plugin::rabbitmq manifest - Should have a OS test override option
- Processes plugin configuration file not been deployed HOT 2
- service.pp incorrectly references static service name HOT 1
- plugin_conf_dir_mode too strict for /usr/lib/python2.7/site-packages/ HOT 1
- Hiera Support HOT 4
- ProcEvent plugin uses ProcessRegex instead of RegexProcess
- Puppet needs to run twice to apply CollectD configuration HOT 3
- Error with Plugin "Load" with collectd-5.9 and RHEL-8 HOT 1
- Migrate to module level hiera data.
- processes-config.conf file is not created HOT 10
- [Feature Request] Expose collectd::plugin::order to defined plugin classes
- collectd fails to load when using multiple hostname format values
- ovs_stats port number mismatch
- Python plugin template does not create valid module configuration
- collectd::plugin::virt plugin_instance_format should not be Enum
- postgresql plugin does not produce working database configuration with writer query
- [release request] v12.3.0 HOT 3
- Add Chrony Plugin
- Upgrade puppet-epel version 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-collectd.