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

    Abhi

    05/05/2022, 3:45 PM
    I am getting this error when running r10k. It started about 15 minutes ago:
    Copy code
    /opt/puppetlabs/puppet/bin/r10k puppetfile install --puppetfile staging.puppetfile --moduledir /etc/puppetlabs/code/environments/staging/modules -v
    [puppet-master] out: INFO	 -> Updating module /etc/puppetlabs/code/environments/staging/modules/stdlib
    
    [puppet-master] out: INFO	 -> Updating module /etc/puppetlabs/code/environments/staging/modules/puppet_agent
    [puppet-master] out: INFO	 -> Updating module /etc/puppetlabs/code/environments/staging/modules/facts
    [puppet-master] out: INFO	 -> Updating module /etc/puppetlabs/code/environments/staging/modules/newrelic_infra
    ...
    [puppet-master] out: ERROR	 -> SSL_connect returned=1 errno=0 state=error: wrong version number
    ...
  • e

    elfchief

    05/05/2022, 3:46 PM
    (I’d totally accept suggestions on what/where to patch in the puppet codebase to extract the info on what’s causing this resource to be realized, if that’s a reasonable approach. Really thoroughly baffled.)
  • c

    CVQuesty

    05/05/2022, 3:47 PM
    I think the Forge is in a weird state We’re having some issues with it as well
    ✔️ 2
  • v

    vchepkov

    05/05/2022, 3:53 PM
    us too
  • m

    Marty Ewings

    05/05/2022, 3:57 PM
    did anyone see this : https://support.puppet.com/hc/en-us/articles/5846071502359-Troubleshoot-an-IP-address-connection-to-Puppet-Forge
  • m

    Marty Ewings

    05/05/2022, 3:57 PM
    Copy code
    On 2022-05-04, we'll no longer use a fixed IP address to connect to the Forge.
  • y

    Yorokobi

    05/05/2022, 3:58 PM
    https://puppetcommunity.slack.com/archives/C0W298S9G/p1651256450714919
  • m

    Marty Ewings

    05/05/2022, 3:58 PM
    although there will still be a static Ip available until next month
  • m

    Marty Ewings

    05/05/2022, 3:59 PM
    although there will still be a static Ip available until next month
  • v

    vchepkov

    05/05/2022, 4:01 PM
    dynamic IP shouldn't break SSL, imho
  • v

    vchepkov

    05/05/2022, 4:01 PM
    dynamic IP shouldn't break SSL, imho
  • c

    CVQuesty

    05/05/2022, 4:03 PM
    Yeah.. .SSL should still be working. ¯\_(ツ)_/¯
  • d

    Diego Lapiduz

    05/05/2022, 4:04 PM
    We had an issue with the puppetlabs.com domain that should be resolved now, please let me know if you continue to see issues
  • r

    runlolarun

    05/05/2022, 4:07 PM
    Hello. I am using apache module from puppet forge and have a question. My version of apache is 8 and I am trying to load apache:mod:php. Unfortunately, /etc/httpd/conf.modules.d/php7.load includes
    LoadModule php7_module modules/libphp7.so
    , when it should be
    LoadModule php_module modules/libphp.so
    . There is a ticket about it https://github.com/puppetlabs/puppetlabs-apache/pull/2166, but for some reason it’s not working for me. Does anyone have something similar running and working?
  • m

    Massimiliano (Max)

    05/05/2022, 4:48 PM
    syntax highlight says no:
    Copy code
    unless defined(@@Sensu_check["check-acme-ssl-${host}-${port}"]) {
    .....
    }
    does this mean that I can get 2 exported resources with the same name, overwriting each other (if the tag is also the same)?
  • j

    josh

    05/05/2022, 4:48 PM
    Thanks @Yorokobi Does facter 3 display the fact (as base64)? or does it omit the fact?
  • m

    Massimiliano (Max)

    05/05/2022, 4:48 PM
    or maybe puppet-lint from vscode doesn't know everything?
  • s

    Slackbot

    05/05/2022, 4:52 PM
    This message was deleted.
    m
    a
    • 3
    • 4
  • y

    Yorokobi

    05/05/2022, 4:55 PM
    Copy code
    # /opt/puppetlabs/puppet/bin/facter --json | grep ec2
          "serial_number": "ec214863-280f-126f-0aa8-32f824cca8ac",
          "uuid": "ec214863-280f-126f-0aa8-32f824cca8ac"
      "ec2_metadata": {
        "hostname": "ip-10-10-4-7.ec2.internal",
          "ec2": {
        "local-hostname": "ip-10-10-4-7.ec2.internal",
                "local-hostname": "ip-10-10-4-7.ec2.internal",
        "domain": "ec2.internal",
        "fqdn": "i-09a69a.ec2.internal",
    Binary file (standard input) matches
  • r

    ragnarkon

    05/05/2022, 5:24 PM
    anyone know of a Forge module to enable/disable module streams in RedHat 8+?
  • r

    ragnarkon

    05/05/2022, 5:25 PM
    anyone know of a Forge module to enable/disable module streams in RedHat 8+?
  • s

    Slackbot

    05/05/2022, 5:26 PM
    This message was deleted.
    r
    v
    • 3
    • 12
  • r

    ragnarkon

    05/05/2022, 5:26 PM
    Oh I didn’t even realize there was a package provider for it
    💯 1
  • r

    ragnarkon

    05/05/2022, 5:30 PM
    hey look at that it works really well, now I feel mega dumb for creating this elaborate defined type to do it filled with ugly execs
    😂 1
    😁 1
  • r

    Robert Emanuele

    05/05/2022, 5:44 PM
    When you use
    puppet apply
    is there a way to turn off color printing?
  • b

    bastelfreak

    05/05/2022, 5:45 PM
    yes
  • b

    bastelfreak

    05/05/2022, 5:45 PM
    --color=no? --no-color? something like that
  • v

    vchepkov

    05/05/2022, 5:47 PM
    Copy code
    puppet config set color false --section main
  • r

    Robert Emanuele

    05/05/2022, 5:47 PM
    ah thanks
  • v

    vchepkov

    05/05/2022, 5:48 PM
    or, my opinionated preferences :)
    Copy code
    ini_setting {
        default:
          ensure  => 'present',
          path    => $facts['puppet_config'],
          section => 'main',
          ;
        'main: environment':
          ensure  => 'absent',
          setting => 'environment',
          ;
        'main: show file diff':
          setting => 'show_diff',
          value   => 'true',
          ;
        'main: color false':
          setting => 'color',
          value   => 'false',
          ;
        'agent: set random apply time':
          section => 'agent',
          setting => 'splay',
          value   => 'true',
          ;
        'user: bucketdir':
          section => 'user',
          setting => 'bucketdir',
          value   => '$clientbucketdir',
          ;
      }
1...202122...428Latest