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

    vchepkov

    07/14/2023, 9:28 PM
    and I am not sure how you deploy your code
  • v

    vchepkov

    07/14/2023, 9:28 PM
    normally it is deployed via CodeManager
  • r

    Raj Parpani

    07/14/2023, 9:29 PM
    yes that's what we use
  • v

    vchepkov

    07/14/2023, 9:29 PM
    then you need to make a commit changing Puppetfile
  • r

    Raj Parpani

    07/14/2023, 9:30 PM
    Can the downgrade happen once we know puppet agent runs on the agent node?
  • v

    vchepkov

    07/14/2023, 9:30 PM
    it won't be able to
  • v

    vchepkov

    07/14/2023, 9:31 PM
    you need to run puppet on server to put installer in place
  • v

    vchepkov

    07/14/2023, 9:31 PM
    and you can't, because code is broken
  • v

    vchepkov

    07/14/2023, 9:31 PM
    so you need to fix a code
  • r

    Raj Parpani

    07/14/2023, 9:31 PM
    ok let me do the downgrade then using the following process: 1) rm -rf modules /stdlib/
  • v

    vchepkov

    07/14/2023, 9:31 PM
    or create environment that does nothing
  • b

    bastelfreak

    07/14/2023, 9:32 PM
    create an environment without puppetfile
  • r

    Raj Parpani

    07/14/2023, 9:32 PM
    2) puppet module install puppetlabs-stdlib --version 8.6.0 --modulepath=modules/
  • b

    bastelfreak

    07/14/2023, 9:32 PM
    and dont rm modules
  • d

    Dr Bunsen Honeydew

    07/14/2023, 9:32 PM
    See the
    puppetlabs-stdlib
    module at https://forge.puppet.com/puppetlabs/stdlib?src=slack&channel=puppet-enterprise
  • b

    bastelfreak

    07/14/2023, 9:35 PM
    as I sad, I dont recommend that
  • r

    Raj Parpani

    07/14/2023, 9:36 PM
    I cant create environments in production server
  • b

    bastelfreak

    07/14/2023, 9:36 PM
    why
  • r

    Raj Parpani

    07/14/2023, 9:36 PM
    I dont know
  • b

    bastelfreak

    07/14/2023, 9:36 PM
    lol
  • r

    Raj Parpani

    07/14/2023, 9:37 PM
    Work policy
  • b

    bastelfreak

    07/14/2023, 9:37 PM
    now is the time to figure it out I guess
    đź’Ż 1
  • b

    bastelfreak

    07/14/2023, 9:37 PM
    time to change policy
  • k

    kenyon

    07/14/2023, 9:38 PM
    that was one of the first things I did when I started my current job. they didn’t know they could use git branches to create environments, so they weren’t doing any non-production testing.
  • b

    bastelfreak

    07/14/2023, 9:39 PM
    peohibiting deployment of a new environment but allowing root access to delete random stuff is interesting
  • r

    Raj Parpani

    07/14/2023, 9:39 PM
    ok looks like me just installing that module did not work
  • b

    bastelfreak

    07/14/2023, 9:40 PM
    yes, as we said
  • r

    Raj Parpani

    07/14/2023, 9:40 PM
    for file in $(find modules/ -type f -name metadata.json); do echo -n ${file}; echo -n ": "; egrep -i stdlib ${file} || echo ""; done
  • r

    Raj Parpani

    07/14/2023, 9:41 PM
    modules/stdlib/metadata.json: "name": "puppetlabs-stdlib", "source": "https://github.com/puppetlabs/puppetlabs-stdlib", "project_page": "https://github.com/puppetlabs/puppetlabs-stdlib",
1...636465...73Latest