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

    cruelsmith

    02/25/2023, 6:34 PM
    Yes thank you. Was just not aware that the default value ist just applied when the parameter is not definded at all. Puppet handle that in an other way than ruby 🀷
  • b

    bastelfreak

    02/27/2023, 1:12 PM
    @whatsaranjit can you maybe take a look at https://github.com/WhatsARanjit/puppet-node_manager/pull/70 and also do a 1.0.0 release?
  • b

    bastelfreak

    02/27/2023, 1:12 PM
    @whatsaranjit can you maybe take a look at https://github.com/WhatsARanjit/puppet-node_manager/pull/70 and also do a 1.0.0 release?
  • v

    vchepkov

    02/27/2023, 1:35 PM
    there bunch of PRs waiting there if I recall, I think Ranjit lost interest 😞
    sadpanda 1
  • j

    Joel Wilson

    02/27/2023, 3:13 PM
    Be nice if we could get some movement on https://github.com/puppetlabs/puppetlabs-apt/pull/1073
  • j

    Joel Wilson

    02/27/2023, 3:14 PM
    Be nice if we could get some movement on https://github.com/puppetlabs/puppetlabs-apt/pull/1073
  • o

    Olmo

    02/27/2023, 4:26 PM
    tryhing to move to puppet 7 and updating my modules however I get warnings like: Info: Using environment 'test' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Warning: The current total number of facts: 4113 exceeds the number of facts limit: 2048 any advices to go about this ?
  • s

    Slackbot

    02/27/2023, 4:28 PM
    This message was deleted.
    o
    • 2
    • 1
  • v

    vchepkov

    02/27/2023, 4:29 PM
    alternatively, block some facts you don't care about
  • c

    CVQuesty

    02/27/2023, 4:31 PM
    that is a metric crap-ton of facts. I’ve never had the occasion to either have or encounter such a large number of facts
  • v

    vchepkov

    02/27/2023, 4:34 PM
    I agree, we have maybe 200 or so
  • y

    Yorokobi

    02/27/2023, 4:36 PM
    Related? https://tickets.puppetlabs.com/browse/PUP-11685
  • y

    Yury Bushmelev

    02/27/2023, 4:36 PM
    Btw.. is there any metric exposed on facts amount (in items and/or in bytes) per node?
  • y

    Yury Bushmelev

    02/27/2023, 4:37 PM
    I believe it’s possible to grab the numbers from the PuppetDB though..
  • v

    vchepkov

    02/27/2023, 4:37 PM
    yeah, but that bug actually says, it's a bigger value πŸ™‚
    😞 1
  • v

    vchepkov

    02/27/2023, 4:37 PM
    so when it gets fixed there will be more πŸ™‚
  • v

    vchepkov

    02/27/2023, 4:38 PM
    The good news it's a soft limit, it's just a proactive warning on Puppet part to pay attention to excessive data
  • s

    Slackbot

    02/27/2023, 4:44 PM
    This message was deleted.
    j
    • 2
    • 1
  • y

    Yorokobi

    02/27/2023, 4:44 PM
    AWS instance? I ran into that in AWS with instances launched with a base64-encoded cloud-init script.
    πŸ’― 1
  • y

    Yorokobi

    02/27/2023, 4:46 PM
    AWS instance? I ran into that in AWS with instances launched with a base64-encoded cloud-init script.
  • o

    Olmo

    02/27/2023, 4:50 PM
    no just some CentOS vm that previously ran puppet 5, i moved to puppet 7 and updated my modules, which compiles and runs just warns about the many facts. if i exclude the facts as described in the facter.conf snippet i get that error
  • o

    Olmo

    02/27/2023, 4:52 PM
    running facter directly gives an answer: [root@vwd-vh01-stage ~]# facter -p [2023-02-27 175153.532228 ] ERROR Facter - Error while resolving custom fact fact='network_primary_interface', resolution='<anonymous>': undefined method `[]' for nil:NilClass [2023-02-27 175153.643921 ] ERROR Facter - Error while resolving custom fact fact='network_primary_ip', resolution='<anonymous>': undefined method `[]' for nil:NilClass aio_agent_version => 7.23.0
  • v

    vchepkov

    02/27/2023, 5:02 PM
    blocking networking is probably overkill?
  • v

    vchepkov

    02/27/2023, 5:02 PM
    most of required facts are there
  • o

    Olmo

    02/27/2023, 5:05 PM
    myeah, and memory too, but that was a typo
  • o

    Olmo

    02/27/2023, 5:06 PM
    i don't really need all facts off all my container and mountpoints and container networking facts
  • o

    Olmo

    02/27/2023, 5:06 PM
    kept it on blocking filesystem and docker
  • m

    Massimiliano (Max)

    02/27/2023, 6:12 PM
    message has been deleted
  • k

    Ken

    02/27/2023, 8:20 PM
    Can someone please point me in the right direction trying to create DNS-alt-names for puppet server? I'm following the latest guide - https://www.puppet.com/docs/puppet/7/ssl_regenerate_certificates.html#regenerate_agent_certs_and_add_dns_alt_names
  • k

    Ken

    02/27/2023, 8:21 PM
    Fresh install, latest version of puppet, it's up and running, listening on 8140, etc. Everythings hunky dory. Then I'm just following the directions above - root@puppet:~ # puppetserver ca clean --certname puppet.lan Certificate for puppet.lan has been revoked Cleaned files related to puppet.lan root@puppet:~ # puppet ssl clean Notice: Removed private key /var/puppet/ssl/private_keys/puppet.lan.pem Notice: Removed public key /var/puppet/ssl/public_keys/puppet.lan.pem Notice: Removed certificate /var/puppet/ssl/certs/puppet.lan.pem root@puppet:~ # puppet resource service puppetserver ensure=stopped Notice: /Service[puppetserver]/ensure: ensure changed 'running' to 'stopped' service { 'puppetserver': ensure => 'stopped', provider => 'freebsd', } root@puppet:~ # puppetserver ca generate --certname puppet --subject-alt-names 'puppet,puppet.lan,puppet1,puppet1.lan' --ca-client /usr/local/lib/ruby/gems/3.0/gems/puppetserver-ca-2.3.6/lib/puppetserver/ca/local_certificate_authority.rb158in `sign_authorized_cert': undefined method `subject' for nil:NilClass (NoMethodError) from /usr/local/lib/ruby/gems/3.0/gems/puppetserver-ca-2.3.6/lib/puppetserver/ca/action/generate.rb191in `block in generate_authorized_certs' from /usr/local/lib/ruby/gems/3.0/gems/puppetserver-ca-2.3.6/lib/puppetserver/ca/action/generate.rb180in `map' from /usr/local/lib/ruby/gems/3.0/gems/puppetserver-ca-2.3.6/lib/puppetserver/ca/action/generate.rb180in `generate_authorized_certs' from /usr/local/lib/ruby/gems/3.0/gems/puppetserver-ca-2.3.6/lib/puppetserver/ca/action/generate.rb161in `run' from /usr/local/lib/ruby/gems/3.0/gems/puppetserver-ca-2.3.6/lib/puppetserver/ca/cli.rbπŸ’―in `run' from /usr/local/share/puppetserver/cli/apps/ca5in `<main>'
1...313314315...428Latest