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

    David Sandilands

    09/02/2022, 1:49 PM
    So supported modules are about Puppet guaranteeing they are tested, they will receive maintenance and PE customers can raise support requests against them. https://forge.puppet.com/about/supported In this context it probably means that this part of the module is only being tested by Puppet against centos/rhel7 but that doesn't mean it won't work anywhere else.
  • s

    Slackbot

    09/02/2022, 2:46 PM
    This message was deleted.
    b
    r
    • 3
    • 7
  • r

    rismoney

    09/02/2022, 2:53 PM
    hm... i am think i may have constrained my facter version on puppet6 to use a ruby gem based on <4.0.0. maybe its because it went from ruby to c++ to ruby.. trying to understand wth happened
  • r

    rismoney

    09/02/2022, 2:58 PM
    that was the problem. thanks for rubberducking w me.
  • s

    Slackbot

    09/02/2022, 3:11 PM
    This message was deleted.
    y
    j
    h
    • 4
    • 5
  • a

    Anis S

    09/02/2022, 3:39 PM
    Hi Joshua, Thank you for reply. I am using _catch_errors with plans and tasks but I am not sure can this also work with custom function? For example arguments in functions are inputs for that ruby code. Maybe I am wrong.. just checking.
  • j

    Joshua Smeda

    09/02/2022, 5:32 PM
    Is your ‘custom function’ a plan/task? If so, you can try like I’ve done as per my example
  • j

    Joshua Smeda

    09/02/2022, 5:47 PM
    OK cool, i think it should work out. Alternatively, you can consider implementing something like this: https://github.com/puppetlabs/puppetlabs-reboot/blob/main/plans/init.pp#L111
  • b

    bastelfreak

    09/02/2022, 7:42 PM
    https://github.com/voxpupuli/puppet-dbbackup/blob/master/spec/classes/dbbackup_spec.rb#L1-L17 that would be a test that compiles a catalog for every OS listed in metadata.json and checks if the compilation works
  • s

    Slackbot

    09/02/2022, 11:03 PM
    This message was deleted.
    b
    r
    c
    • 4
    • 15
  • s

    Slackbot

    09/03/2022, 12:01 PM
    This message was deleted.
    b
    s
    +2
    • 5
    • 9
  • i

    iristyle

    09/04/2022, 6:51 PM
    @iristyle has left the channel
  • z

    Zaeem Arshad

    09/05/2022, 3:00 AM
    Can puppetdb be safely downgraded from 6.22 to 6.19?
  • z

    Zaeem Arshad

    09/05/2022, 3:01 AM
    Can puppetdb be safely downgraded from 6.22 to 6.19?
  • z

    Zaeem Arshad

    09/05/2022, 4:08 AM
    So I can trace the regression to this - https://github.com/puppetlabs/puppetdb/pull/3592. Caused by the rewriting of contents-facts. The PR doesn't say which version of PGSql it was tested with but my guess is that its not 9.6 and with later versions JIT was turned on by default.
  • s

    Slackbot

    09/05/2022, 3:31 PM
    This message was deleted.
    b
    p
    • 3
    • 17
  • b

    bastelfreak

    09/05/2022, 3:47 PM
    https://github.com/puppetlabs/puppetlabs-satellite_pe_tools/blob/main/lib/puppet/indirector/facts/satellite.rb
  • s

    Slackbot

    09/05/2022, 4:41 PM
    This message was deleted.
    b
    d
    +2
    • 5
    • 11
  • s

    sameer

    09/05/2022, 5:36 PM
    So i have this init.pp file and when i run puppet on agent i get the following error. Error: /Stage[main]/Pki/File[/etc/ssl/private/host.key]: Could not evaluate: Could not retrieve information from environment production source(s) fille:///private_keys/puppetagent1.test.org.pem class pki { group { 'ssl-cert': ensure => present, system => true, } $host = $::trusted['certname'] $ssldir = $::facts['puppet_ssldir'] file { '/etc/ssl/private/host.key': ensure => file, source => "${ssldir}/private_keys/${host}.pem", group => 'ssl-cert', mode => '0640', } }
  • s

    sameer

    09/05/2022, 5:37 PM
    So i have this init.pp file and when i run puppet on agent i get the following error. Error: /Stage[main]/Pki/File[/etc/ssl/private/host.key]: Could not evaluate: Could not retrieve information from environment production source(s) fille:///private_keys/puppetagent1.test.org.pem class pki { group { 'ssl-cert': ensure => present, system => true, } $host = $::trusted['certname'] $ssldir = $::facts['puppet_ssldir'] file { '/etc/ssl/private/host.key': ensure => file, source => "${ssldir}/private_keys/${host}.pem", group => 'ssl-cert', mode => '0640', } }
  • s

    sameer

    09/05/2022, 5:37 PM
    So i have this init.pp file and when i run puppet on agent i get the following error. Error: /Stage[main]/Pki/File[/etc/ssl/private/host.key]: Could not evaluate: Could not retrieve information from environment production source(s) fille:///private_keys/puppetagent1.test.org.pem class pki { group { 'ssl-cert': ensure => present, system => true, } $host = $::trusted['certname'] $ssldir = $::facts['puppet_ssldir'] file { '/etc/ssl/private/host.key': ensure => file, source => "${ssldir}/private_keys/${host}.pem", group => 'ssl-cert', mode => '0640', } }
  • v

    vchepkov

    09/05/2022, 5:39 PM
    seems
    puppet_ssldir
    fact is empty
  • s

    Slackbot

    09/05/2022, 5:44 PM
    This message was deleted.
    s
    • 2
    • 1
  • s

    sameer

    09/05/2022, 5:48 PM
    Yes , there is already a puppet master set up in our company but Pki server is not automated as of now. This task I am doing on my personal VM and after testing will add to company puppet
  • s

    Slackbot

    09/06/2022, 7:05 AM
    This message was deleted.
    f
    s
    • 3
    • 2
  • f

    fe80

    09/06/2022, 7:50 AM
    https://puppet.com/try-puppet/puppet-learning-vm/ that ?
  • s

    Slackbot

    09/06/2022, 9:45 AM
    This message was deleted.
    b
    m
    • 3
    • 18
  • s

    Slackbot

    09/06/2022, 12:42 PM
    This message was deleted.
    r
    c
    s
    • 4
    • 5
  • s

    Slackbot

    09/06/2022, 1:42 PM
    This message was deleted.
    c
    j
    r
    • 4
    • 6
  • r

    rismoney

    09/06/2022, 1:42 PM
    s/seeting/setting
1...151152153...428Latest