Giter Club home page Giter Club logo

Comments (6)

txaj avatar txaj commented on June 24, 2024

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.

rymndhng avatar rymndhng commented on June 24, 2024

On initial apply of puppet manifest, it works fine.

It doesn't work properly when performing an upgrade on an existing collectd installation:

  1. run puppet with collectd resource with parameter require => 'latest'.
    (This will download the latest version of collectd and collectd-core)
  2. new version of collectd is released
  3. re-run puppet
    (updates collectd but not collectd-core)

from puppet-collectd.

txaj avatar txaj commented on June 24, 2024

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.

rymndhng avatar rymndhng commented on June 24, 2024

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.

jyaworski avatar jyaworski commented on June 24, 2024

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.

jyaworski avatar jyaworski commented on June 24, 2024

Let me know if #406 solves this for you.

from puppet-collectd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.