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

    natemccurdy

    12/06/2022, 9:30 PM
    So
    in
    wouldn't consider those as the same.
    "micosoft-edge" in ["Opera Stable 93.0.4585.37", "Microsoft Edge"]
    will never be true.
  • s

    silug

    12/06/2022, 10:11 PM
    @Doug are you sure you don't need to do something like this? https://github.com/puppet-bootstrap/basic-aio/blob/production/site/profile/manifests/puppetdb.pp#L9-L18
  • s

    Slackbot

    12/06/2022, 10:37 PM
    This message was deleted.
    b
    d
    • 3
    • 41
  • d

    Daehnomel

    12/06/2022, 10:41 PM
    Hi All, I need some help writing my first custom fact. I've tried reading the puppet manual, but I can't make head or tails of where it's supposed to go, let alone how to properly write it. The custom fact I need is for the puppet mysql module, it would be set for
    mysqld_version,
    which in my case is mysql-8.0.31. Here's a relevant quote from the modules documentation: "If you're working with a remote MySQL server, you may need to set a custom fact for
    mysqld_version
    to ensure correct behavior."
  • d

    Daehnomel

    12/06/2022, 10:42 PM
    Hi All, I need some help writing my first custom fact. I've tried reading the puppet manual, but I can't make head or tails of where it's supposed to go, let alone how to properly write it. The custom fact I need is for the puppet mysql module, it would be set for
    mysqld_version,
    which in my case is mysql-8.0.31. Thank you , your help will be appreciated! Here's a relevant quote from the modules documentation: "If you're working with a remote MySQL server, you may need to set a custom fact for
    mysqld_version
    to ensure correct behavior."
  • d

    Daehnomel

    12/06/2022, 11:55 PM
    Ever seen these errors with this module?
  • d

    Daehnomel

    12/07/2022, 12:14 AM
    Lol, didnt realize
  • d

    Daehnomel

    12/07/2022, 12:14 AM
    Here is that pic again.
  • s

    Slackbot

    12/07/2022, 1:58 AM
    This message was deleted.
    g
    • 2
    • 2
  • d

    Dr Bunsen Honeydew

    12/07/2022, 1:58 AM
    See the
    puppet-puppetserver
    module at https://forge.puppet.com/puppet/puppetserver?src=slack&channel=puppet
  • s

    Slackbot

    12/07/2022, 4:10 AM
    This message was deleted.
    u
    k
    +3
    • 6
    • 29
  • k

    kenyon

    12/07/2022, 7:11 AM
    we’re using (a somewhat improved internal fork of) jorritfolmer/splunk and I’ve been wanting to upgrade to puppet/splunk 😅
  • k

    kenyon

    12/07/2022, 7:11 AM
    we’re using (a slightly improved internal fork of) jorritfolmer/splunk and I’ve been wanting to upgrade to puppet/splunk 😅
  • a

    Artem Shaposhnikov

    12/07/2022, 8:59 AM
    @kenyon yep, you're right. Thx!
  • a

    Artem Shaposhnikov

    12/07/2022, 8:59 AM
    @kenyon yep, you're right. Thx!
  • y

    Yury Bushmelev

    12/07/2022, 9:15 AM
    I saw lsb* facts missing on first puppet run while ago.. maybe you hit the same
  • d

    David Sandilands

    12/07/2022, 9:16 AM
    It can be dangerous to use the global variable rather than the facts array, had a clash with a module once which overrode the global variable
  • s

    Slackbot

    12/07/2022, 10:22 AM
    This message was deleted.
    y
    • 2
    • 1
  • d

    David 'The Anvil'

    12/07/2022, 10:25 AM
    Copy code
    Hey, just laying this out for everyone so there are no surprises.
    As part of a larger discussion, we have decided that the Firewall module is in need of a major restructuring, with more and more issues arising from it and compile times that seem to regularly take upwards of thirty minutes.
    In order to try and solve this issue the team is working to put together a plan on how the module should best be restructured to not only resolve the issues currently facing it but to help ensure that similar ones do not occur.
    As part of this however we would like to hear the communities feedback and what ideas that they might have on the best way to accomplish this, so that we can reach our goal and provide the best quality module that we can.
    As a start there are several questions that must be answered and choices to be made, these including:
    
    * Should we keep to the current provider style module or convert it to run with templates?
    Converting the module may take more time to accomplish but could help keep the modules run time down and make the module more easily modified and maintained.
    
    * Should we refactor the current module or create a fresh one and leave the current one as is?
    Depending on the size of the refactor it may be easier to simply start fresh, especially if we convert to a template style, as we can leave the old module as is for people to use until we get the new one fully fleshed out.
    As a side note however, this could also be accomplished simply by cutting a major release and informing the community beforehand.
    
    * In the event that we create a new module, should we split it into two separate ones, one for iptables and one for ip6tables?
    Although there is overlap in how they are managed they are in fact separate and outright keeping them as such may be more convenient for people who simply use on or the other.
    
    * Finally, should the module/modules be expanded to include nftables?
    Although it has been around for some time now it is only recently that nftables seems to have gained traction, as such it may be best to add support for it to the firewall module/modules to ease people into converting over, as both it and iptables/ip6tables are both maintained by the same organisation, with the prior being actively developed as a successor and poised to take over.
    
    Finally, to anyone worried about the changes coming to the module, know that this is merely an initial investigation and that the actual changes are still some time away. We are well aware of how important this module is and are committed to getting this right.
    This message has also been posted in a github issue linked here: https://github.com/puppetlabs/puppetlabs-firewall/issues/1100 and on the puppet-users@ mailing list
  • d

    David 'The Anvil'

    12/07/2022, 10:25 AM
    Copy code
    Hey, just laying this out for everyone so there are no surprises.
    As part of a larger discussion, we have decided that the Firewall module is in need of a major restructuring, with more and more issues arising from it and compile times that seem to regularly take upwards of thirty minutes.
    In order to try and solve this issue the team is working to put together a plan on how the module should best be restructured to not only resolve the issues currently facing it but to help ensure that similar ones do not occur.
    As part of this however we would like to hear the communities feedback and what ideas that they might have on the best way to accomplish this, so that we can reach our goal and provide the best quality module that we can.
    As a start there are several questions that must be answered and choices to be made, these including:
    
    * Should we keep to the current provider style module or convert it to run with templates?
    Converting the module may take more time to accomplish but could help keep the modules run time down and make the module more easily modified and maintained.
    
    * Should we refactor the current module or create a fresh one and leave the current one as is?
    Depending on the size of the refactor it may be easier to simply start fresh, especially if we convert to a template style, as we can leave the old module as is for people to use until we get the new one fully fleshed out.
    As a side note however, this could also be accomplished simply by cutting a major release and informing the community beforehand.
    
    * In the event that we create a new module, should we split it into two separate ones, one for iptables and one for ip6tables?
    Although there is overlap in how they are managed they are in fact separate and outright keeping them as such may be more convenient for people who simply use on or the other.
    
    * Finally, should the module/modules be expanded to include nftables?
    Although it has been around for some time now it is only recently that nftables seems to have gained traction, as such it may be best to add support for it to the firewall module/modules to ease people into converting over, as both it and iptables/ip6tables are both maintained by the same organisation, with the prior being actively developed as a successor and poised to take over.
    
    Finally, to anyone worried about the changes coming to the module, know that this is merely an initial investigation and that the actual changes are still some time away. We are well aware of how important this module is and are committed to getting this right.
    This message has also been posted in a github issue linked here: https://github.com/puppetlabs/puppetlabs-firewall/issues/1100 and on the puppet-users@ mailing list
  • b

    bastelfreak

    12/07/2022, 10:26 AM
    @David 'The Anvil' thanks for bringing this up. Where do you prefer the feedback? GitHub?
  • d

    David 'The Anvil'

    12/07/2022, 10:26 AM
    I think that would be the best as it would make it easier to keep track
    👍 1
  • y

    Yury Bushmelev

    12/07/2022, 10:29 AM
    maybe Github discussions is a bit better place but nvm 🙂
  • u

    Ugo Bellavance

    12/07/2022, 12:38 PM
    message has been deleted
  • y

    Yury Bushmelev

    12/07/2022, 12:42 PM
    https://github.com/voxpupuli/puppet-chrony/blob/master/hiera.yaml
  • s

    Slackbot

    12/07/2022, 2:08 PM
    This message was deleted.
    h
    b
    +2
    • 5
    • 6
  • s

    Slackbot

    12/07/2022, 2:31 PM
    This message was deleted.
    b
    d
    j
    • 4
    • 4
  • s

    Slackbot

    12/07/2022, 2:38 PM
    This message was deleted.
    c
    b
    g
    • 4
    • 32
  • s

    Slackbot

    12/07/2022, 3:36 PM
    This message was deleted.
    w
    • 2
    • 1
  • d

    Daehnomel

    12/07/2022, 4:06 PM
    message has been deleted
1...248249250...428Latest