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

    Lumiere

    08/29/2022, 7:59 PM
    yea, having 10.x 192.168.x and 172.x all on your internal network...
  • l

    Lumiere

    08/29/2022, 7:59 PM
    it's so much fun
  • l

    Lumiere

    08/29/2022, 8:00 PM
    (my ISP throws me a 192 address, my personal internal network is a heavily subnetted 172/12 network and my work vpn throws a 10.x around things
  • s

    Slackbot

    08/29/2022, 8:00 PM
    This message was deleted.
    🤢 1
    y
    • 2
    • 1
  • l

    Lumiere

    08/29/2022, 8:01 PM
    angrywoman
  • b

    bastelfreak

    08/29/2022, 8:01 PM
    :D
  • p

    Patrick Brideau

    08/29/2022, 8:02 PM
    defining the
    ssl_trust_store
    does not seems to work either. I was wondering if it was hardcoded in the puppet code to use only http as there is only
    http_proxy_host
    in
    puppet.conf
    , where you cannot define
    http
    or
    https
    ...
  • l

    Lumiere

    08/29/2022, 8:02 PM
    it very well may
  • l

    Lumiere

    08/29/2022, 8:02 PM
    our solution to that was to install stunnel and build a small local stunnel service to the https proxy
  • l

    Lumiere

    08/29/2022, 8:02 PM
    and just http_proxy via localhost
  • l

    Lumiere

    08/29/2022, 8:03 PM
    unfortunately the person who wrote it... didn't write it in a releasable way 😄
  • p

    Patrick Brideau

    08/29/2022, 8:04 PM
    Well... That may be what I’ll have to do, thanks for your input
  • s

    Slackbot

    08/29/2022, 9:49 PM
    This message was deleted.
    l
    c
    i
    • 4
    • 3
  • i

    Isaiah Frantz

    08/29/2022, 9:49 PM
    other than windows sucking I mean, is there a technical reason?
  • s

    Slackbot

    08/30/2022, 8:01 AM
    This message was deleted.
    y
    b
    d
    • 4
    • 6
  • s

    Slackbot

    08/30/2022, 12:13 PM
    This message was deleted.
    r
    b
    • 3
    • 7
  • b

    Brian Schonecker

    08/30/2022, 12:14 PM
    I've got a file resource that is dependent on an autofs resource. The autofs service is getting restarted/reloaded late in the puppet run. Can I have a dependency on a service reload or restart? Is it as something as easy as
    require => Service[autofs]
    or
    subscribe => Service[autofs]
    I've tried different variations of the metaparameters but I've been unsuccessful so far. Is it possible to do what I want?
  • r

    Robert Vincent

    08/30/2022, 12:15 PM
    For non-idempotent resources, such as
    exec
    , you want to use
    subscribe
    . For idempotent resources, such as
    file
    , you want to use
    require
    .
  • b

    Brian Schonecker

    08/30/2022, 12:16 PM
    I've got a file resource that is dependent on an autofs resource. The autofs service is getting restarted/reloaded late in the puppet run. Can I have a dependency on a service reload or restart? Is it as something as easy as
    require => Service[autofs]
    or
    subscribe => Service[autofs]
    I've tried different variations of the metaparameters but I've been unsuccessful so far. Is it possible to do what I want? It's imperative that the autofs resource get created, autofs restart/reload and then the file resource because I need the autofs file system mounted (automatically of course!) before I start creating files/directories under that mount point.
  • r

    Robert Vincent

    08/30/2022, 12:25 PM
    Or maybe
    Copy code
    Service[autofs_svc] ~> Autofs::Mount[/my/path] -> File[mounted_file]
  • s

    Slackbot

    08/30/2022, 12:51 PM
    This message was deleted.
    n
    d
    l
    • 4
    • 6
  • l

    Lee Fisher

    08/30/2022, 12:52 PM
    Complete noob here - but the only reason why my company is letting me try Puppet is because Microsoft told them it was ok... https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/linux-install-with-puppet?view=o365-worldwide I made some Syntax corrections suggested by VSCode, but cannot seem to get past this when running puppet parser validate, as I don't understand what
    default => $channel
    is referencing
    Copy code
    Error: Could not parse for environment production: Syntax error at 'default' (file: /etc/puppetlabs/code/environments/production/modules/install_mdatp/manifests/init.pp, line: 16, column: 9)
    1st few stanzas:
    Copy code
    class install_mdatp (
    $channel = 'prod',
    $distro = undef,
    $version = undef,
    ) {
        case $::osfamily {
            'Debian' : {
            $release = $channel ? {
            'prod' => $facts['os']['distro']['codename']
            default => $channel
            }
    I am marking this as a User issue, not a Microsoft issue.. Any help would be appreciated.
  • b

    Brian Schonecker

    08/30/2022, 12:59 PM
    message has been deleted
  • d

    David Sandilands

    08/30/2022, 2:01 PM
    I created a pull request to update the documentation https://github.com/MicrosoftDocs/microsoft-365-docs/pull/9561
  • s

    Slackbot

    08/30/2022, 3:09 PM
    This message was deleted.
    b
    b
    l
    • 4
    • 10
  • s

    Slackbot

    08/30/2022, 3:31 PM
    This message was deleted.
    a
    v
    d
    • 4
    • 11
  • v

    vchepkov

    08/30/2022, 3:37 PM
    https://github.com/voxpupuli/puppet-snmp/blob/master/manifests/init.pp#L110-L112
  • d

    Dr Bunsen Honeydew

    08/30/2022, 4:45 PM
    businessparrot 🧑‍🏫Puppet Core Team is about to start up in #CFD8Z9A4T
  • s

    Slackbot

    08/30/2022, 6:26 PM
    This message was deleted.
    y
    l
    • 3
    • 2
  • l

    Lumiere

    08/30/2022, 6:38 PM
    what is your /etc/puppetlabs/puppet/puppetdb.conf on both nodes?
1...147148149...428Latest