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

    VoxBot

    01/12/2023, 2:15 PM
    but the non-string keys part is new to me
  • v

    VoxBot

    01/12/2023, 2:38 PM
    I used to do aliasing and mapping and referencing of partial strings or "objects" in YAML, because we put huge blocks of bullshit into our hieradata… and it wasn't until we actually started to use a standard pattern of roles and profiles, where a) a huge chunk of that was put into profiles, and b) we introduced a pattern of making two queries:
  • v

    VoxBot

    01/12/2023, 2:38 PM
    one for defaults, and one for the actual config data and then merged them, that our hiera data became actually manageable.
  • v

    VoxBot

    01/12/2023, 2:38 PM
    bad times.
  • v

    VoxBot

    01/12/2023, 2:41 PM
    anyway: Anyone else got FreeBSD running on Hetzner? I'm getting facter is_virtual => false ; facter virtual ⇒ physical; while doing the calls that facter supposedly does produces: sysctl kern.vm_guest => kvm
  • v

    VoxBot

    01/12/2023, 2:41 PM
    On my local virtual machine, this works.
  • v

    VoxBot

    01/12/2023, 2:42 PM
    Hrm… but that's 14-CURRENT… the one that doesn't work is 13.1
  • c

    CVQuesty

    01/12/2023, 2:56 PM
    message has been deleted
  • v

    VoxBot

    01/12/2023, 2:57 PM
    that's one thing I dislike about the slack bridge: you can't open those files
  • v

    VoxBot

    01/12/2023, 3:01 PM
    and threads
  • v

    VoxBot

    01/12/2023, 3:02 PM
    I don't miss those
  • v

    VoxBot

    01/12/2023, 3:02 PM
    fun…
  • v

    VoxBot

    01/12/2023, 3:02 PM
    found the issue: [1] pry(Facter:ResolversFreebsd:Virtual)> require_relative 'ffi/ffi_helper'
  • v

    VoxBot

    01/12/2023, 3:02 PM
    LoadError: Could not open library 'c': Shared object "c" not found, required by "ruby30".
  • v

    VoxBot

    01/12/2023, 3:02 PM
    Could not open library 'libc.so': Shared object "libc.so" not found, required by "ruby30"
  • v

    VoxBot

    01/12/2023, 3:02 PM
    from /usr/local/lib/ruby/gems/3.0/gems/ffi-1.15.5/lib/ffi/library.rb145in `block in ffi_lib'
  • v

    VoxBot

    01/12/2023, 3:02 PM
    now to track down why it's happening.
  • v

    VoxBot

    01/12/2023, 3:02 PM
    binford2k: do you know if you can disable threads in one room?
  • v

    VoxBot

    01/12/2023, 3:03 PM
    bastelfreak: is it that the threads just don't show up at all?
  • v

    VoxBot

    01/12/2023, 3:04 PM
    yeah and you cannot determine in irc if a message comes from a thread
  • v

    VoxBot

    01/12/2023, 3:04 PM
    like the one from CVQuesty. that's in a thread
  • v

    VoxBot

    01/12/2023, 3:12 PM
    I think the answer to disabling threads is no... slack rarely lets that sort of thing happen
  • v

    VoxBot

    01/12/2023, 3:12 PM
    I know discord has that capability
  • v

    VoxBot

    01/12/2023, 3:17 PM
    okay, so, turns out: facter requires libc.so — not /lib/libc.so.7, but /usr/lib/libc.so
  • v

    VoxBot

    01/12/2023, 3:17 PM
    which Facter version are you using? 3 or 4?
  • v

    VoxBot

    01/12/2023, 3:18 PM
    ewoud: 4
  • v

    VoxBot

    01/12/2023, 3:19 PM
    ewoud: contrast: https://github.com/puppetlabs/facter/blob/main/lib/facter/resolvers/freebsd/ffi/ffi_helper.rb#L8-L15 with: https://github.com/gronke/py-freebsd_sysctl/blob/master/freebsd_sysctl/libc.py
  • v

    VoxBot

    01/12/2023, 3:28 PM
    https://github.com/cisco/ChezScheme/issues/447
  • v

    VoxBot

    01/12/2023, 3:28 PM
    anyway, back to stealing, i mean, borrowing, code.
  • v

    VoxBot

    01/12/2023, 3:47 PM
    isn't that something the linker should end up doing? I don't know what I'm talking about with compilers so I may be wrong :P
1...240241242...648Latest