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

    Dr Bunsen Honeydew

    05/24/2022, 9:45 PM
    goodnews 🧑‍🏫 Bolt is about to start up in #CFD8Z9A4T
  • s

    Slackbot

    05/25/2022, 6:41 AM
    This message was deleted.
    x
    • 2
    • 1
  • y

    Yury Bushmelev

    05/25/2022, 2:04 PM
    I got very specific puppet env.. e.g. ppl are using run stages here 😞 then I found a "limitation" in
    apt
    module docs which says the module cannot be split across run stages.. Does it mean if I have Apt::Source in one stage I cannot
    require
    it in another stage? Shall I put all packages together with Apt::Source into the same stage then?
  • y

    Yury Bushmelev

    05/25/2022, 2:04 PM
    I got very specific puppet env.. e.g. ppl are using run stages here 😞 then I found a "limitation" in
    apt
    module docs which says the module cannot be split across run stages.. Does it mean if I have Apt::Source in one stage I cannot
    require
    it in another stage? Shall I put all packages together with Apt::Source into the same stage then?
  • v

    vchepkov

    05/25/2022, 2:06 PM
    yep
    😕 1
  • b

    bastelfreak

    05/25/2022, 2:06 PM
    (or reduce the amount of stage and eventually get rid of them)
  • y

    Yury Bushmelev

    05/25/2022, 2:07 PM
    I definitely would like to get rid of them.. somehow I was able to avoid stages always.. but here we have a lot of legacy and very specific decisions.. well, ty anyway!
  • b

    bastelfreak

    05/25/2022, 2:08 PM
    need some help getting rid of them or telling people it's bad practice? 🙂
  • y

    Yury Bushmelev

    05/25/2022, 2:08 PM
    join us! 😄
  • v

    vchepkov

    05/25/2022, 2:11 PM
    well, sometimes they are useful, like configuring satellite client or chocolatey enterprise, just have to remember limitations
    👍 1
  • y

    Yury Bushmelev

    05/25/2022, 2:24 PM
    but mostly it should be possible to arrange things in proper order with relationship metaparams I guess.. what are cases when it's not enough?
  • y

    Yury Bushmelev

    05/25/2022, 2:25 PM
    ah, I guess something like 'install a gem and use it in the same run' maybe
  • l

    Lumiere

    05/25/2022, 2:27 PM
    I have 3 stages, but I think of them as 3 separate puppet runs
  • l

    Lumiere

    05/25/2022, 2:28 PM
    first stage is literally just ntp/resolver/ssl certificates that I know are required to be right before I can actually configure a system
  • y

    Yury Bushmelev

    05/25/2022, 2:30 PM
    I'd say it's ok if Puppet enforces you to split all those resources by different files/modules.. so one cannot just put everything into the same manifest and assign stages randomly..
  • l

    Lumiere

    05/25/2022, 2:31 PM
    I mean, it totally can to a large extent
  • l

    Lumiere

    05/25/2022, 2:32 PM
    I have a profile that generates the stages and calls a list of profile classes to load into the stages
  • l

    Lumiere

    05/25/2022, 2:32 PM
    but I am odd in that I version my profile submoduless each as their own modules
  • v

    vchepkov

    05/25/2022, 2:32 PM
    Consider a case where you need to configure say LDAP integration and do it before any user resource is created. It's much simpler to put it in a
    setup
    stage. Collectors are bad, you will get virtual resources released
    this 1
  • s

    Slackbot

    05/25/2022, 2:35 PM
    This message was deleted.
    v
    • 2
    • 1
  • y

    Yury Bushmelev

    05/25/2022, 2:36 PM
    if "good practices" is applicable here 😄
  • y

    Yury Bushmelev

    05/25/2022, 2:36 PM
    if "good practices" is applicable here 😄
  • s

    Slackbot

    05/25/2022, 5:34 PM
    This message was deleted.
    n
    v
    +2
    • 5
    • 18
  • v

    vchepkov

    05/25/2022, 5:49 PM
    https://github.com/theforeman/puppet-puppet/blob/master/manifests/params.pp#L350-L364
  • r

    Ryan Pillay

    05/25/2022, 5:49 PM
    Hey all. How would you pass class variables as parameters from node definitions? I'm trying the following but it keeps erroring on a line in site.pp that isn't even related. Using v6
  • v

    vchepkov

    05/25/2022, 5:51 PM
    what's the error?
  • s

    Slackbot

    05/25/2022, 5:52 PM
    This message was deleted.
    r
    • 2
    • 1
  • l

    Lumiere

    05/25/2022, 5:52 PM
    Missing a colon in your notify
    this 1
  • r

    Ryan Pillay

    05/25/2022, 6:25 PM
    @Lumiere 100%! Thanks a bunch!
  • l

    Lumiere

    05/25/2022, 6:26 PM
    just as a note, if you can use code snippets in slack, it's 1000% easier to read them 😄
    ➕ 3
1...515253...428Latest