https://www.puppet.com/community logo
Join SlackCommunities
Powered by
# puppet-enterprise
  • r

    Raj Parpani

    07/14/2023, 9:00 PM
    Not sure but maybe it did not get removed or something
  • r

    Raj Parpani

    07/14/2023, 9:01 PM
    I have to remove that value applied to the class right
  • v

    vchepkov

    07/14/2023, 9:02 PM
    I am not sure there is something that you can influence there, it suppose to match server's version
  • r

    Raj Parpani

    07/14/2023, 9:02 PM
    Currently removing everything n /opt/puppetlabs/server/data/packages/public
  • r

    Raj Parpani

    07/14/2023, 9:02 PM
    As I remove, I see a lot of 2019 stuff in there
  • r

    Raj Parpani

    07/14/2023, 9:03 PM
    I'm clicking through all to say yes for each
  • v

    vchepkov

    07/14/2023, 9:03 PM
    you can do
    rm -rf /opt/puppetlabs/server/data/packages/public
  • v

    vchepkov

    07/14/2023, 9:03 PM
    and most likely
    rm -rf /opt/puppetlabs/server/data/staging
  • v

    vchepkov

    07/14/2023, 9:03 PM
    that probably has old PE agent as well
  • r

    Raj Parpani

    07/14/2023, 9:04 PM
    ok done
  • r

    Raj Parpani

    07/14/2023, 9:04 PM
    next step: run the bash script to add node?
  • v

    vchepkov

    07/14/2023, 9:04 PM
    now run
    puppet agent -t
    on primary
  • r

    Raj Parpani

    07/14/2023, 9:04 PM
    I revoked the certificate so might have to readd the node
  • v

    vchepkov

    07/14/2023, 9:05 PM
    on the server
  • r

    Raj Parpani

    07/14/2023, 9:05 PM
    on master yes
  • v

    vchepkov

    07/14/2023, 9:05 PM
    you need to run agent on the server, it will download necessary files you just removed
  • r

    Raj Parpani

    07/14/2023, 9:08 PM
    If the agent was removed from puppetmaster, dont I have to readd the node
  • r

    Raj Parpani

    07/14/2023, 9:09 PM
    To do that I usually take the script from the add nodes section of PE
  • v

    vchepkov

    07/14/2023, 9:09 PM
    you didn't remove agent from the server
  • v

    vchepkov

    07/14/2023, 9:09 PM
    at least I hope you didn't 🙂
  • r

    Raj Parpani

    07/14/2023, 9:09 PM
    I know you did not ask me to remove it but to troubleshoot this I removed the agent certificate from the puppet master
  • v

    vchepkov

    07/14/2023, 9:09 PM
    that's fine
  • v

    vchepkov

    07/14/2023, 9:09 PM
    just run puppet agent -t on the server
  • r

    Raj Parpani

    07/14/2023, 9:09 PM
    The removal was done before I followed all your steps
  • r

    Raj Parpani

    07/14/2023, 9:10 PM
    Puppet command was not recognized so I need to setup the puppet agent on the agent node
  • v

    vchepkov

    07/14/2023, 9:10 PM
    I am not following you
  • r

    Raj Parpani

    07/14/2023, 9:10 PM
    If I run the command from the add nodes section, it does that all for me
  • v

    vchepkov

    07/14/2023, 9:11 PM
    you removed files on the server, now you need to re-run puppet on the server
  • r

    Raj Parpani

    07/14/2023, 9:12 PM
    To run puppet agent -t on the server , puppet agent has to be installed or else the command is not recognized
1...616263...73Latest