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

    David Sandilands

    02/15/2023, 2:48 PM
    If you use either PDK or https://github.com/puppetlabs/puppet-lint and are still referring to the http://puppet-lint.com/ website be aware this is NOT a Puppet managed website and the github site https://puppetlabs.github.io/puppet-lint/ has the latest up to date documentation.
  • s

    Slackbot

    02/15/2023, 4:05 PM
    This message was deleted.
    b
    i
    • 3
    • 4
  • s

    Slackbot

    02/15/2023, 6:34 PM
    This message was deleted.
    n
    s
    +6
    • 9
    • 20
  • s

    spin

    02/15/2023, 6:45 PM
    we moved to github actions and that works really nicely for us.. shame you can't go that route
  • n

    natemccurdy

    02/15/2023, 6:47 PM
    Jenkins, in general, requires a team of dedicated people to maintain and manage. If it's setup, maintained, monitored, and is healthy, then it's bearable to work with as a consumer. I just really hope you don't also have to manage Jenkins itself.
  • n

    natemccurdy

    02/15/2023, 6:49 PM
    GitHub Actions is a managed system, so it'll be much less of a maintenance burden for your internal team. And it'll be easier to onboard for folks wanting to use it for CI. And GitHub Actions is the community standard for Puppet spec testing nowadays, so you as the Puppet maintainer will be able to get much more help from the community and will be able to use off-the-shelf solutions like the CI pipelines developed by VoxPupuli.
  • s

    Slackbot

    02/15/2023, 8:32 PM
    This message was deleted.
    s
    d
    +4
    • 7
    • 25
  • d

    Denys Kyrii

    02/15/2023, 8:41 PM
    Hi all. Very strange case. I use vscode with pdk and puppet plugin for vscode to validate my modules. It works perfect but when I add some heredoc text into any manifests vscode stops reporting the issues.
    Copy code
    $var1= @("EOT"/)
      Some text with interposlation ${var2}
      | EOT
    Did someone face the same issue?
  • s

    spin

    02/15/2023, 9:00 PM
    nice, fact override weight: https://support.puppet.com/hc/en-us/articles/218916348 just hit an issue where i needed this, creating a custom cloud provider agnostic fact and a built in cloud.provider fact was messing up my resolution
  • s

    spin

    02/15/2023, 9:00 PM
    nice, fact override weight: https://support.puppet.com/hc/en-us/articles/218916348 just hit an issue where i needed this, creating a custom cloud provider agnostic fact and a built in cloud.provider fact was messing up my resolution
  • v

    vchepkov

    02/15/2023, 9:09 PM
    https://github.com/voxpupuli/puppet-lint-strict_indent-check/issues/20
  • s

    Slackbot

    02/16/2023, 11:46 AM
    This message was deleted.
    n
    • 2
    • 1
  • m

    Massimiliano (Max)

    02/16/2023, 11:53 AM
    I was looking for the puppet-lint plugins that we have seen in Belgium 1 week ago. I can't remember the name of the developer. He wasn't Graig, he wasn't Ben. He was the 3rd one 😂
  • t

    tuxmea

    02/16/2023, 12:31 PM
    Maybe Tim? Hi might have mentioned the voxpupuli lint meta gem.
  • g

    Gavin Patton

    02/16/2023, 2:00 PM
    hello 🙂 here is the plugin https://github.com/puppetlabs/puppet-lint-check_unsafe_interpolations this is an MVP and is still a work in progress. Will add a README soon!
  • s

    Slackbot

    02/16/2023, 3:13 PM
    This message was deleted.
    y
    v
    • 3
    • 4
  • s

    Slackbot

    02/16/2023, 5:07 PM
    This message was deleted.
    n
    c
    r
    • 4
    • 3
  • s

    Slackbot

    02/16/2023, 6:10 PM
    This message was deleted.
    n
    n
    • 3
    • 14
  • n

    natemccurdy

    02/16/2023, 6:17 PM
    Those extensions are `AND`'d together.
  • n

    natemccurdy

    02/16/2023, 6:18 PM
    Try:
    Copy code
    allow: [
             {
               extensions: {
                 pp_cli_auth: "true"
               }
             },
             {
               extensions: {
                 pp_service: "atlantis"
               }
             },
           ]
  • n

    natemccurdy

    02/16/2023, 6:19 PM
    Did you actually make a custom
    pp_cli_auth
    value called
    atlantis
    ? Or is atlantis the host's certname?
  • n

    natemccurdy

    02/16/2023, 6:20 PM
    No, that's two items in the
    allow
    list.
  • p

    Pat Riehecky

    02/16/2023, 7:22 PM
    I've got a fact that looks like:
    Copy code
    lspci => {
      VGA compatible controller => {
        NVIDIA Corporation => {
          0000:01:00.0 => {
            Device => "GA102 [GeForce RTX 3090]",
            Driver => "nvidia",
            Module => "nvidia",
            Rev => "a1",
            SDevice => "Device 88d5",
            SVendor => "Hewlett-Packard Company"
          }
        }
      }
    }
    hiera doesn't seem to like :
    %{facts.lspci.VGA compatible controller.NVIDIA Corporation}
    Do I need to build up something that doesn't use spaces in the name or ..... is there something I'm missing here
  • s

    Slackbot

    02/16/2023, 7:29 PM
    This message was deleted.
    p
    n
    v
    • 4
    • 23
  • p

    Pat Riehecky

    02/16/2023, 7:37 PM
    message has been deleted
  • v

    vchepkov

    02/16/2023, 7:48 PM
    your directory doesn't have spaces, it's
    _
    , right?
  • n

    natemccurdy

    02/16/2023, 8:00 PM
    message has been deleted
  • p

    Pat Riehecky

    02/16/2023, 8:00 PM
    https://www.puppet.com/docs/puppet/7/hiera_config_yaml_5.html#specifying_file_paths
  • n

    natemccurdy

    02/16/2023, 8:13 PM
    https://github.com/puppetlabs/puppet/blob/7.23.0/lib/puppet/pops/lookup/location_resolver.rb#L76-L97 The answer's in there if you can parse all that 🙂
  • c

    Corporate Gadfly

    02/16/2023, 8:26 PM
    Yes, in terms of what order to do the upgrade as a best practice. @natemccurdy or others. And also, in that order, who would experience downtime. Upgrade in-place? Stand up new hardware? etc..
1...308309310...428Latest