https://www.puppet.com/community logo
Join Slack
Powered by
# office-hours
  • b

    bastelfreak

    09/27/2022, 5:33 PM
    those shoet fedora release cycles are... challenging
  • b

    bastelfreak

    09/27/2022, 5:33 PM
    *short
  • j

    josh

    09/27/2022, 5:35 PM
    We're also moving repos from Travis & Appveyor to GH actions, but that will take some time. Also macOS 10.15 and Ubuntu 18.04 GH action runners are deprecated, so we'll be bumping to newer versions.
  • j

    josh

    09/27/2022, 5:35 PM
    yeah apparently Fedora 37 beta is out.. we'll probably skip 37 and wait for 38
  • j

    josh

    09/27/2022, 5:38 PM
    @bastelfreak I know nothing about gentoo, but should
    systemd
    be the default for all gentoo versions or only for certain values of
    operatingsystemmajrelease
    like we do for ubuntu, etc?
  • b

    bastelfreak

    09/27/2022, 5:39 PM
    gentoo is a rolling release and supports two init systems, openrc and systemd
  • b

    bastelfreak

    09/27/2022, 5:40 PM
    If systemd is pid1, which the confine: checks, it is the used init systemd and systems should be used as provider
  • j

    josh

    09/27/2022, 5:42 PM
    Ah I see ekohl asked the same question
  • c

    CVQuesty

    09/27/2022, 5:42 PM
    Hey hey! How’s everyone?
    👋 1
  • b

    bastelfreak

    09/27/2022, 5:42 PM
    @CVQuesty o/
  • c

    CVQuesty

    09/27/2022, 5:43 PM
    I has question when it’s my turn
  • j

    josh

    09/27/2022, 5:43 PM
    So if
    systemd
    is suitable based on the confine, what will happen if both
    systemd
    and
    openrc
    are the default? Does the latter need to not be the default?
  • j

    josh

    09/27/2022, 5:43 PM
    IOW I forget what happens when there are multiple defaults?
  • b

    bastelfreak

    09/27/2022, 5:43 PM
    mhm good question, I havent tested this
  • j

    josh

    09/27/2022, 5:44 PM
    I think there's some magic where the one with the most "specificity" will win, but it's magic
  • b

    bastelfreak

    09/27/2022, 5:44 PM
    :D
  • c

    CVQuesty

    09/27/2022, 5:45 PM
    So… control repo and r10k/Code Manager
  • j

    josh

    09/27/2022, 5:46 PM
    Here's the specificity logic, but I don't remember if it applies to multiple defaults or just when puppet is selecting one provider based on confines https://github.com/puppetlabs/puppet/blob/e57fe8fdfb8305203d66451e2b4f71cf12a0f94f/lib/puppet/provider.rb#L337-L346
  • j

    josh

    09/27/2022, 5:46 PM
    Here's the specificity logic, but I don't remember if it applies to multiple defaults or just when puppet is selecting one provider based on confines https://github.com/puppetlabs/puppet/blob/e57fe8fdfb8305203d66451e2b4f71cf12a0f94f/lib/puppet/provider.rb#L337-L346
  • c

    CVQuesty

    09/27/2022, 5:47 PM
    love the comments there… 😄
  • b

    bastelfreak

    09/27/2022, 5:50 PM
    I will try to come up with a test in the next days
  • c

    CVQuesty

    09/27/2022, 5:51 PM
    Ok, I’m going to toss this out here because Im coming up against a meeting. Sorry I’m so late. Alligators all around me
  • j

    josh

    09/27/2022, 5:51 PM
    yeah, the specificity stuff is bad... adding a
    defaultfor
    or changing provider inheritance can magically change which provider is selected...
  • j

    josh

    09/27/2022, 5:52 PM
    yeah, the specificity stuff is bad... adding a
    defaultfor
    or changing provider inheritance can magically change which provider is selected...
  • c

    CVQuesty

    09/27/2022, 5:52 PM
    When you configure R10k and/or Code Manager, you point at a URL for the control_repo. Currently, the only way you can do that is with an SSH key you generate and tell r10k where the repo is. I would like a way (and if I’ve missed it, please tell me) to just tell r10k/CM to go to a tokenized HTTPS URL instead, and not use SSH
  • h

    hbui

    09/27/2022, 5:53 PM
    we rely on the fedora releases, so we'll need something before f34 gets removed
  • c

    CVQuesty

    09/27/2022, 5:53 PM
    In the Puppetfile, this works all day long. The only place it does not work is in pointing r10k/CM at the control_repo
  • j

    josh

    09/27/2022, 5:54 PM
    @hbui we added fedora 36 last release https://puppet.com/docs/puppet/7/release_notes_puppet.html#enhancements_puppet_x-7-19-0-PA-4668 It'll be in the next PE release(s)
    🎉 1
  • b

    bastelfreak

    09/27/2022, 5:54 PM
    You can configure an https url in code manager
  • c

    CVQuesty

    09/27/2022, 5:55 PM
    without an SSH key? Please do tell
1...232425...78Latest