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

    smortex

    09/09/2022, 8:58 AM
    A similar command (
    facter --debug --custom-dir ./lib/facter ssh_user_public_keys
    ) outputs:
    Copy code
    [2022-09-08 22:56:22.471805 ] DEBUG LegacyFacter::Util::Loader - Excluding ./lib/facter from search path. Fact file paths must be an absolute directory
  • n

    Neeloj

    09/09/2022, 8:58 AM
    Ah found it they move it from puppet\cache\state to puppet\public thanks for your command:
    puppet config print lastrunfile
  • n

    Neeloj

    09/09/2022, 8:58 AM
    Ah found it they move it from puppet\cache\state to puppet\public thanks for your command @Pavlos Parissis:
    puppet config print lastrunfile
  • m

    Massimiliano (Max)

    09/09/2022, 10:45 AM
    has anyone tried to setup Puppetboard to connect to localhost trough SSL? In my case I get an error on the certificate, and it's saying the the certificate doesn't match '127.0.0.1' So far so good. I regenerated the certificate, adding the dns-altname 127.0.0.1, and I got this certificate:
    Copy code
    <http://puppetdb01.xxxx.org|puppetdb01.xxxx.org>                                 (SHA256)  A8:98:F0:51:72:2E:D8:F7:9B:73:94:23:60:E6:1E:3C:14:03:F7:7E:4C:B9:F1:E3:7E:28:7F:F3:5E:B5:D4:A8	alt names: ["DNS:127.0.0.1", "DNS:<http://puppetdb.service.ha.xxxx.net|puppetdb.service.ha.xxxx.net>", "DNS:<http://puppetdb.service.ha.xxxx.org|puppetdb.service.ha.xxxx.org>", "DNS:<http://puppetdb01.xxxx.org|puppetdb01.xxxx.org>"]
    but, on puppetDB I still see:
    Copy code
    [Fri Sep 09 10:38:20.244607 2022] [wsgi:error] [pid 506084] [remote 2001:798:3::127:14910] ERROR:puppetboard.utils:HTTPSConnectionPool(host='127.0.0.1', port=8081): Max retries exceeded with url: /pdb/meta/v1/version (Caused by SSLError(SSLCertVerificationError("hostname '127.0.0.1' doesn't match either of '127.0.0.1', '<http://puppetdb.service.ha.xxxx.net|puppetdb.service.ha.xxxx.net>', '<http://puppetdb.service.ha.xxxx.org|puppetdb.service.ha.xxxx.org>', '<http://puppetdb01.xxxx.org|puppetdb01.xxxx.org>'")))
  • s

    Slackbot

    09/09/2022, 10:48 AM
    This message was deleted.
    b
    m
    r
    • 4
    • 4
  • s

    Slackbot

    09/09/2022, 12:13 PM
    This message was deleted.
    b
    k
    +2
    • 5
    • 46
  • k

    Karunakar reddy Ramidi

    09/09/2022, 12:13 PM
    Hi , i am gettinng Failed to open TCP connection to puppet6:8140 error on my puppet master any help , service is inactive due to this any help on this please
  • k

    Karunakar reddy Ramidi

    09/09/2022, 12:25 PM
    service is not running on master @bastelfreak
  • k

    Karunakar reddy Ramidi

    09/09/2022, 3:25 PM
    message has been deleted
  • k

    Karunakar reddy Ramidi

    09/09/2022, 3:52 PM
    message has been deleted
  • c

    csharpsteen

    09/09/2022, 4:48 PM
    Memory limits are usually set in
    JAVA_ARGS
    in the service environment file. The output of the following would show us how much the service is configured to request and how much the system has available:
    Copy code
    grep JAVA_ARGS= /etc/{sysconfig,default}/puppetserver
    
    free -h
  • k

    Karunakar reddy Ramidi

    09/09/2022, 5:07 PM
    thanks @csharpsteen @bastelfreak @Neeloj here is output
  • b

    Bhushan B

    09/09/2022, 6:55 PM
    👋 Hello, team!
  • k

    Karunakar reddy Ramidi

    09/09/2022, 8:51 PM
    one more quick help , now when i am running puppet agent -t . i am getting below error Error: certificate verify failed [self signed certificate in certificate chain for CN=Puppet Root CA: @csharpsteen @bastelfreak on agent
  • s

    smortex

    09/09/2022, 9:48 PM
    https://github.com/puppetlabs/facter/pull/2521
  • s

    Steve Handy

    09/10/2022, 1:38 AM
    Good Day All,
  • s

    Slackbot

    09/10/2022, 8:34 AM
    This message was deleted.
    b
    s
    y
    • 4
    • 11
  • s

    Slackbot

    09/10/2022, 6:57 PM
    This message was deleted.
    t
    s
    • 3
    • 4
  • s

    sameer

    09/10/2022, 6:57 PM
    message has been deleted
  • s

    sameer

    09/10/2022, 6:58 PM
    Hello, I am in a strange situation. I am trying to remove a node from galera cluster and it also gets disconnected successfully but it is back again as this cluster is managed by puppet. I looked for the config especially with name wreps_cluster_address in whole puppet but didnt find how it is sensing the ip of deleted node and bringing it back. Can you help in finding out where i should look for that particular ip to remove it from puppet. i want to remove that 192......39 ip .Thanks
  • s

    sameer

    09/10/2022, 6:58 PM
    Hello, I am in a strange situation. I am trying to remove a node from galera cluster and it also gets disconnected successfully but it is back again as this cluster is managed by puppet. I looked for the config especially with name wreps_cluster_address in whole puppet but didnt find how it is sensing the ip of deleted node and bringing it back. Can you help in finding out where i should look for that particular ip to remove it from puppet. i want to remove that 192.168.1.39 ip .Thanks
  • w

    Willem Basson

    09/12/2022, 8:56 AM
    I see https://github.com/puppetlabs/puppetlabs-apache/pull/2309/ implements my suggestion. @Andries Malan says it works perfectly for our use-case.
  • n

    Neeloj

    09/12/2022, 11:14 AM
    hi all, after upgrade puppet to version 7 I get below warning, I know what it mean but:
    # puppetserver ca list --all
    Copy code
    The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory. This config setting and the directory location will not be used in a future version of puppet. Please run the puppetserver ca tool to migrate out from the puppet confdir to the /etc/puppetlabs/puppetserver/ca directory. Use `puppetserver ca migrate --help` for more info.
    My question is what should I run on Puppetserver! because its productive system! so I have one shot 😲 And on AgentsI get:
    Copy code
    The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory. This config setting and the directory location will not be used in a future version of puppet. Please run the puppetserver ca tool to migrate out from the puppet confdir to the /etc/puppetlabs/puppetserver/ca directory. Use `puppetserver ca migrate --help` for more info.
    Successfully signed certificate request for xyz
    thanks in advance
  • n

    Neeloj

    09/12/2022, 11:16 AM
    hi all, after upgrade puppet to version 7 I get below warning, I know what it mean but:
    # puppetserver ca list --all
    Copy code
    The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory. This config setting and the directory location will not be used in a future version of puppet. Please run the puppetserver ca tool to migrate out from the puppet confdir to the /etc/puppetlabs/puppetserver/ca directory. Use `puppetserver ca migrate --help` for more info.
    My question is what should I run on Puppetserver! because its productive system! so I have one shot 😲 And on CLients I get:
    Copy code
    The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory. This config setting and the directory location will not be used in a future version of puppet. Please run the puppetserver ca tool to migrate out from the puppet confdir to the /etc/puppetlabs/puppetserver/ca directory. Use `puppetserver ca migrate --help` for more info.
    Successfully signed certificate request for xyz
    thanks in advance
  • n

    Neeloj

    09/12/2022, 11:16 AM
    hi all, after upgrade puppet to version 7 I get below warning, I know what it mean but:
    # puppetserver ca list --all
    Copy code
    The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory. This config setting and the directory location will not be used in a future version of puppet. Please run the puppetserver ca tool to migrate out from the puppet confdir to the /etc/puppetlabs/puppetserver/ca directory. Use `puppetserver ca migrate --help` for more info.
    My question is what should I run on Puppetserver! because its productive system! so I have one shot 😲 And on AgentsI get:
    Copy code
    The cadir is currently configured to be inside the /etc/puppetlabs/puppet/ssl directory. This config setting and the directory location will not be used in a future version of puppet. Please run the puppetserver ca tool to migrate out from the puppet confdir to the /etc/puppetlabs/puppetserver/ca directory. Use `puppetserver ca migrate --help` for more info.
    Successfully signed certificate request for xyz
    thanks in advance
  • s

    Slackbot

    09/12/2022, 11:17 AM
    This message was deleted.
    ❤️ 1
    n
    v
    • 3
    • 8
  • d

    Daniel Henninger

    09/12/2022, 5:29 PM
    If I use a lookup against the same key, this for example: $vault_addr = lookup('vault_addr', String, 'first', ''), 500 times, is that 500 separate lookups, or does puppet cache it the first time and stop re-looking it up? if it doesn't cache it, is there likely to be any noticeable performance hit?
  • j

    jidar

    09/12/2022, 5:33 PM
    @Daniel Henninger you can't run the line of code
    $vault_addr = lookup(...)
    more than once, without changing the variable name. Considering lookup is first attempting to find the key/value from a yaml file, then it inserts that value into the catalog it's currently compiling, are you asking if the server when looking up the same key for a different node, would that be cached? no. Are you asking if the same key, for the same lookup, for a different variable but the same node? Also unlikely to be cached
  • d

    Daniel Henninger

    09/12/2022, 5:34 PM
    --- assume it's in 500 different classes 😃
  • j

    jidar

    09/12/2022, 5:34 PM
    no
1...157158159...428Latest