https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • v

    VoxBot

    01/12/2023, 7:11 PM
    unrelated question: has anyone ever used the load averages fact?
  • v

    VoxBot

    01/12/2023, 7:11 PM
    yeah, I don't know how it works when more than one fact is being queried
  • v

    VoxBot

    01/12/2023, 7:17 PM
    ewoud: their only purpose is to blow up the puppetdb
  • v

    VoxBot

    01/12/2023, 7:17 PM
    like ised bytes on a blockdevice
  • v

    VoxBot

    01/12/2023, 7:17 PM
    and Foreman's fact DB
  • v

    VoxBot

    01/12/2023, 7:17 PM
    though we do filter a few unstable facts out
  • v

    VoxBot

    01/12/2023, 7:17 PM
    I wish they normalized uptime to boot time
  • v

    VoxBot

    01/12/2023, 7:18 PM
    Foreman now does that, but IMHO facter itself should
  • v

    VoxBot

    01/12/2023, 7:19 PM
    yep, totally agree
  • v

    VoxBot

    01/12/2023, 7:19 PM
    mhm
  • v

    VoxBot

    01/12/2023, 7:19 PM
    will there be a facter 5 for puppet 8?
  • v

    VoxBot

    01/12/2023, 7:19 PM
    would be a good time to disable the fact by default
  • v

    VoxBot

    01/12/2023, 7:21 PM
    https://github.com/theforeman/foreman/blob/ebc7b8eb2f6b6cd8df26a61995c7a26c7a069d67/app/registries/foreman/settings/facts.rb#L3-L19 is what we filter now
  • v

    VoxBot

    01/12/2023, 7:21 PM
    and I just realize that there's uptime_hours, uptime_days and uptime_seconds all representing the same data
  • v

    VoxBot

    01/12/2023, 7:30 PM
    five minutes in a pry session, and i have forgotten half of python again
  • v

    VoxBot

    01/12/2023, 7:30 PM
    that is a good thing, right?
  • v

    VoxBot

    01/12/2023, 7:36 PM
    bastelfreak: depends on how quickly i learn it back
  • v

    VoxBot

    01/12/2023, 8:56 PM
    ewoud: so, funnily: ffi_lib [FFI::CURRENT_PROCESS, 'c'] does not work.
  • v

    VoxBot

    01/12/2023, 9:00 PM
    but, instead of just saying 'c', we can list 'c', 'libc.so.6' (linux), 'libc.so.7' (FreeBSD) and we should probz check the other Unices as well…
  • v

    VoxBot

    01/13/2023, 8:01 AM
    other BSDs don't have a fixed version like FreeBSD, Linux and Solaris. that is: they didn't introduce symbol versioning, 856 years ago
  • v

    VoxBot

    01/13/2023, 8:02 AM
    I think we can probably leave it for now
  • v

    VoxBot

    01/13/2023, 11:16 AM
    Have y'all said Happy Birthday to Zhenech yet??
  • v

    VoxBot

    01/13/2023, 11:16 AM
    no, he has hidden that fact
  • v

    VoxBot

    01/13/2023, 11:17 AM
    not anymore: happy birthday Zhenech!
  • v

    VoxBot

    01/13/2023, 11:18 AM
    in case you're wondering how old Zhenech is: younger than me.
  • v

    VoxBot

    01/13/2023, 11:31 AM
    lol
  • v

    VoxBot

    01/13/2023, 11:31 AM
    thanks :)
  • v

    VoxBot

    01/13/2023, 11:32 AM
    ewoud, it's not really hidden tho :P
  • v

    VoxBot

    01/13/2023, 11:35 AM
    Zhenech: it was hidden by the fact I was too lazy to look it up?
  • v

    VoxBot

    01/13/2023, 11:35 AM
    yeah ;)
1...242243244...648Latest