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

    VoxBot

    05/25/2022, 9:35 AM
    how is initstyle / init_style getting set ?
  • v

    VoxBot

    05/25/2022, 9:36 AM
    the fact comes from stdlib I think
  • v

    VoxBot

    05/25/2022, 9:36 AM
    Hmmm. so that's included, let me check what's going on, that's useful, thank you
  • v

    VoxBot

    05/25/2022, 9:38 AM
    and that fact also works with facter 4.2.8
  • v

    VoxBot

    05/25/2022, 9:42 AM
    can I query validate that fact from the command line ?
  • v

    VoxBot

    05/25/2022, 9:42 AM
    as facter won't know about stdlinb
  • v

    VoxBot

    05/25/2022, 9:42 AM
    stdlib
  • v

    VoxBot

    05/25/2022, 9:42 AM
    puppet facts show service_provider
  • v

    VoxBot

    05/25/2022, 9:43 AM
    I apprecaite this is basic, but how does that work, as 'facter' on it's own doesnt' show it, is the 'show' changing the lookup ?
  • v

    VoxBot

    05/25/2022, 9:43 AM
    how did you test it with facter
  • v

    VoxBot

    05/25/2022, 9:43 AM
    facter -p service_provider?
  • v

    VoxBot

    05/25/2022, 9:44 AM
    tried facter service_provider and facter | grep -i service_provider
  • v

    VoxBot

    05/25/2022, 9:44 AM
    when the puppet agent starts, it connects to the puppetserver and does a pluginsync and downloads a bunch of stuff. for example additional facter code
  • v

    VoxBot

    05/25/2022, 9:45 AM
    and if you check facter --help you will see you need
    facter -p
    so it uses the downloaded additional code
  • v

    VoxBot

    05/25/2022, 9:45 AM
    so calling it via puppet, rather than facter directly make sense
  • v

    VoxBot

    05/25/2022, 9:45 AM
    superb, thank you
  • v

    VoxBot

    05/25/2022, 9:45 AM
    pure
    facter
    only shows core facts.
    puppet facts
    is almost equal to
    facter -p
  • v

    VoxBot

    05/25/2022, 9:45 AM
    right, because it queries the puppet server with all the classes associated with that host that create facts
  • v

    VoxBot

    05/25/2022, 9:45 AM
    rather than the embedded core facts
  • v

    VoxBot

    05/25/2022, 9:46 AM
    no
  • v

    VoxBot

    05/25/2022, 9:46 AM
    oh
  • v

    VoxBot

    05/25/2022, 9:46 AM
    the pluginsync downloads all additional code that's present in an environment
  • v

    VoxBot

    05/25/2022, 9:46 AM
    no matter if it's coming from a module you're not using. as long as it's in the environment the agent requests, the code is downlaoded
  • v

    VoxBot

    05/25/2022, 9:47 AM
    so it's enviornment not class
  • s

    smortex

    05/25/2022, 9:47 AM
    o/ On vacation at the moment but Zach the awesome author of a bunch of cool puppet modules wants to drop his modules and I think some of them deserve to be transferred to Voxpupuli. I am writing here so that there might be a discussion here (I will not be able to track this correctly until I am back from vacation next week) about the modules we may want to take care of. I am an active user of his bacula module and also his ssh module (and a few other ones but much more of a niche usage). See https://github.com/xaque208/puppet-bacula/issues/171 for more details and maybe a discussion 😉 Thanks!
  • s

    smortex

    05/25/2022, 9:47 AM
    o/ On vacation at the moment but Zach the awesome author of a bunch of cool puppet modules wants to drop his modules and I think some of them deserve to be transferred to Voxpupuli. I am writing here so that there might be a discussion here (I will not be able to track this correctly until I am back from vacation next week) about the modules we may want to take care of. I am an active user of his bacula module and also his ssh module (and a few other ones but much more of a niche usage). See https://github.com/xaque208/puppet-bacula/issues/171 for more details and maybe a discussion 😉 Thanks!
  • v

    VoxBot

    05/25/2022, 9:47 AM
    thank you bastelfreak that points me at where I need to research more,
  • v

    VoxBot

    05/25/2022, 10:02 AM
    problem appears to be Raspian, it seems to behave different than all other OS's even though it's based from Debian
  • v

    VoxBot

    05/25/2022, 10:08 AM
    but its arm and not x86
  • v

    VoxBot

    05/25/2022, 10:09 AM
    subtle difference :D
1...484950...648Latest