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

    Scott Fenton

    06/29/2022, 2:33 PM
    OK, that (shellgit) changed the error to a public key error. You sure I can use SSH with shellgit? The docs say HTTPS only
  • v

    vchepkov

    06/29/2022, 2:38 PM
    hmm, not sure how it's related
  • v

    vchepkov

    06/29/2022, 2:38 PM
    you need to import github public key
  • v

    vchepkov

    06/29/2022, 2:39 PM
    Last time I checked
    Copy code
    sshkey { '<http://github.com|github.com>':
        type => 'ssh-rsa',
        key  => 'AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==',
      }
  • s

    Scott Fenton

    06/29/2022, 2:39 PM
    OK, it had to be in a different place from Rugged's location. I got that and it works now. Thanks!
  • v

    vchepkov

    06/29/2022, 2:40 PM
    correct, rugged uses different library
  • s

    Scott Fenton

    06/29/2022, 2:42 PM
    OK, next step. Upgrade to RHEL8...
  • v

    vchepkov

    06/29/2022, 2:42 PM
    yep
  • v

    vchepkov

    06/29/2022, 2:43 PM
    or wait couple of months and go to RHEL9 🙂
    this 2
  • s

    Scott Fenton

    06/29/2022, 2:43 PM
    Need that approved for my network first 🙂. That's a job of a year or so
  • s

    Slackbot

    06/29/2022, 3:18 PM
    This message was deleted.
    a
    • 2
    • 4
  • a

    Allahshukur Ahmadzada

    06/29/2022, 3:29 PM
    I see file sync should copy from code-staging to code dir, but it did not can I manually call it? (it already did but knowing manual way would be useful)
  • a

    Allahshukur Ahmadzada

    06/29/2022, 3:31 PM
    now module is there under code dir, how should I procedd to add that module to nodes? I see from node group, classes section I can, what about site.pp file from control-repo? what about variables should I use module hiera data for node, common variables or prefer console?
  • a

    AngeloMileto

    06/29/2022, 4:02 PM
    Is there a simple switch/config change to make when upgrading the PE to 2019.8.11 without internet connection? After the upgrade, I no longer have an agent available as it continues to fail looking for pm.puppetlabs.com I'm guessing it's trying to download the agents. I already have them in the staging directory as instructed in previous posts but the installation/upgrade apparently doesn't know how to look there.
  • a

    AngeloMileto

    06/29/2022, 4:19 PM
    Is there a simple switch/config change to make when upgrading the PE to 2019.8.11 without internet connection? After the upgrade, I no longer have an agent available as it continues to fail looking for pm.puppetlabs.com I'm guessing it's trying to download the agents. I already have them in the staging directory as instructed in previous posts but the installation/upgrade apparently doesn't know how to look there.
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:25 PM
    Copy code
    I was able to install hiera_vault on opensource, but Enterprice gives following error, Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Puppet::Parser::Compiler failed with error ArgumentError: Function Load Error for function 'hiera_vault': [hiera-vault] Must install vault gem to use hiera-vault backend on node.  I did install dependencies from terminal of puppet master
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:26 PM
    Copy code
    I was able to install hiera_vault on opensource, but Enterprice gives following error, Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Puppet::Parser::Compiler failed with error ArgumentError: Function Load Error for function 'hiera_vault': [hiera-vault] Must install vault gem to use hiera-vault backend on node.
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:26 PM
    Copy code
    I was able to install hiera_vault on opensource, but Enterprice gives following error, Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Puppet::Parser::Compiler failed with error ArgumentError: Function Load Error for function 'hiera_vault': [hiera-vault] Must install vault gem to use hiera-vault backend on node.  I did install dependencies from terminal of puppet master
  • l

    Lumiere

    06/29/2022, 4:27 PM
    you should add a package for hiera_vault with provider puppetserver_gem
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:28 PM
    but docs says ,On Puppetserver >= 6, this is not needed as the default has been moved to the newer JRuby.
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:28 PM
    https://github.com/petems/petems-hiera_vault
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:28 PM
    https://github.com/petems/petems-hiera_vault
  • w

    whatsaranjit

    06/29/2022, 4:30 PM
    The part about JRuby isn't necessary with puppetserver >= 6. You still need the vault stuff.
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:31 PM
    I did install them from terminal using following
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:31 PM
    Copy code
    # /opt/puppetlabs/puppet/bin/gem install --user-install vault
    # /opt/puppetlabs/puppet/bin/gem install --user-install debouncer
    # puppetserver gem install vault
    # puppetserver gem install debouncer
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:36 PM
    so, it supposed to work?, it did work with open source
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:36 PM
    so, it supposed to work?, it did work with open source
  • n

    natemccurdy

    06/29/2022, 4:38 PM
    Did you restart the pe-puppetserver process?
  • n

    natemccurdy

    06/29/2022, 4:38 PM
    Also, what does
    which puppetserver
    show?
  • a

    Allahshukur Ahmadzada

    06/29/2022, 4:42 PM
    systemctl restart pe-puppetserver helped, thank you @natemccurdy ++
1...858687...428Latest