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

    Slackbot

    11/23/2022, 9:59 AM
    This message was deleted.
    d
    m
    +3
    • 6
    • 18
  • d

    David Sandilands

    11/23/2022, 10:18 AM
    I know one of the PE customers uses https://github.com/fervidus/puppet_ca_utils to setup mutual trust between CAs and that allows them to switch agents between multiple Server/CA setups.
  • i

    Ian CB

    11/23/2022, 1:01 PM
    message has been deleted
  • s

    Slackbot

    11/23/2022, 1:45 PM
    This message was deleted.
    b
    t
    +3
    • 6
    • 42
  • t

    Tom Boland

    11/23/2022, 1:45 PM
    Hi all. I've been trying to brush up on my puppet after a several year hiatus! Could anyone help? I'd just like to understand the scoping/rules. I was setting up this
    tom_bash_alias
    defined type inside my role class, just so I can do away with the repetition of repeating the target multiple times (it's only used once here). It's meant to just be a scope-local helper function. The
    bash_alias
    is defined type that targets the
    concat
    resource defined in the
    bashrc
    module, so
    tom_bash_alias
    just has closure over the
    $bashrc_filename
    value. I get an error when referring to it on line 16, saying it's
    undef
    . I've tried referring to it as
    role::tom_user::bashrc_filename
    as well.
    Copy code
    # Tom UNIX user role
    class role::tom_user {
      $bashrc_filename = '/home/tom/_bashrc'
      bashrc { 'tom_bashrc':
        owner    => $tom
        filename => $bashrc_filename,
      }
      bash_history { 'tom_bash_history':
        target => $bashrc_filename,
      }
      define tom_bash_alias (
        String $command = undef,
      ) {
        bash_alias { $name:
          target  => $bashrc_filename,
          command => $command,
        }
      }
    
      role::tom_user::tom_bash_alias { 'ifsharp':
        command  => "docker run -v \${pwd}:/notebooks -p 8888:8888 fsprojects/ifsharp",
      }
    }
  • c

    CVQuesty

    11/23/2022, 9:14 PM
    https://puppet.com/docs/puppet/7/lang_scope.html
  • c

    CVQuesty

    11/23/2022, 9:15 PM
    I’m mobile so that’s the best I got at the moment
  • s

    Slackbot

    11/24/2022, 1:12 AM
    This message was deleted.
    👎 1
    l
    • 2
    • 1
  • w

    William Myers

    11/24/2022, 1:12 AM
    It may not be NESCICARRY with slack, but it's easier when alternating between slack and discord.
  • w

    William Myers

    11/24/2022, 1:13 AM
    And there's no visible difference as far as I can tell?
  • s

    Slackbot

    11/24/2022, 10:12 AM
    This message was deleted.
    d
    m
    +2
    • 5
    • 21
  • s

    Samy

    11/24/2022, 2:46 PM
    I have other windows agent server Which are connecting to the same puppet master without any problem
  • d

    Dr Bunsen Honeydew

    11/24/2022, 6:45 PM
    the more you know 🧑‍🏫Puppet Forge is about to start up in #CFD8Z9A4T
  • a

    Adrian Galbincea

    11/25/2022, 9:11 AM
    @tuxmea Thanks, I thought at some point that the name matters, that's why I put a name, but mine had the version when I queried the installed programs. Now works fine.
  • r

    rtib

    11/25/2022, 6:57 PM
    Hi! I’ve suddenly got a PDK error while doing a
    pdk convert --default-template
    on a module done with an earlier version. The end of the debug log is
    Copy code
    pdk (DEBUG): Completed analytics submission
    pdk (ERROR): wrong number of arguments (given 4, expected 1)
    I’ve tried to look into, but it’s driving me nuts. Does anyone know where this comes from?
  • r

    rtib

    11/25/2022, 7:00 PM
    Hi! I’ve suddenly got a PDK error while doing a
    pdk convert --default-template
    on a module done with an earlier version. The end of the debug log is
    Copy code
    pdk (DEBUG): Completed analytics submission
    pdk (ERROR): wrong number of arguments (given 4, expected 1)
    I’ve tried to look into, but it’s driving me nuts. Does anyone know where this comes from?
  • s

    Slackbot

    11/26/2022, 9:17 PM
    This message was deleted.
    r
    s
    c
    • 4
    • 4
  • s

    sheds

    11/26/2022, 9:17 PM
    Has anyone leveraged AWS RDS for their PuppetDB install? Just not sure if there’s a reason not to. These days I’m using RDS for just about every database I need.
  • s

    Slackbot

    11/28/2022, 9:52 AM
    This message was deleted.
    n
    h
    +2
    • 5
    • 9
  • d

    David

    11/28/2022, 10:28 AM
    message has been deleted
  • d

    David Sandilands

    11/28/2022, 10:41 AM
    I was getting asked about https://tickets.puppetlabs.com/browse/PUP-4923 but I assume the natural approach here would be to use an if statement or similar and the viewpoint is onlyif and unless are to run on the local system? Was interested if there were any approaches or thoughts I hadn't cosnidered
  • s

    Slackbot

    11/28/2022, 11:16 AM
    This message was deleted.
    l
    a
    +3
    • 6
    • 7
  • s

    Slackbot

    11/28/2022, 11:20 AM
    This message was deleted.
    s
    c
    • 3
    • 2
  • d

    Dr Bunsen Honeydew

    11/28/2022, 11:20 AM
    See the
    puppetlabs-firewall
    module at https://forge.puppet.com/puppetlabs/firewall?src=slack&channel=puppet
  • a

    Alex Fisher

    11/28/2022, 11:21 AM
    Take a look at https://forge.puppet.com/modules/crayfishx/purge instead
    👍 1
  • l

    Lumiere

    11/28/2022, 2:45 PM
    it's a known bug, just no priority to its resolution as it's not considered all that interruptive. You can find the codebase on github https://github.com/puppetlabs/bunsen/
  • s

    Slackbot

    11/28/2022, 10:56 PM
    This message was deleted.
    k
    d
    c
    • 4
    • 7
  • k

    kenyon

    11/29/2022, 12:46 AM
    the defaults depend on your OS, as determined by the logic in https://github.com/puppetlabs/puppetlabs-mysql/blob/v13.0.1/manifests/params.pp
  • d

    Daehnomel

    11/29/2022, 1:18 AM
    Thanks, it looks the default “parameter’s” can’t be can’t be overridden. Is that right? I hope not, that would be awful. I need mysql.
  • s

    Slackbot

    11/29/2022, 3:36 AM
    This message was deleted.
    k
    c
    • 3
    • 2
1...241242243...428Latest