Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-18739

Puppet Run via Remote execution using non-root user fails with error "puppet: command not found"

XMLWordPrintable

    • 0
    • False
    • Moderate
    • None
    • None
    • None
    • To Do

      Description of problem:

      While trying to do a puppet run via REX using non-root user on Satellite 6.12 fails with below error

      1:/var/tmp/foreman-ssh-cmd-98727ed0-6d73-492f-a0b0-375e1997bcd6/script: line 1: puppet: command not found
      2:Exit status: 127

      Version-Release number of selected component (if applicable):

      Satellite 6.12.1
      Puppet 7

      How reproducible:
      Easily Reproducible

      Steps to Reproduce:
      1. Install Satellite 6.12.1
      2. Enable puppet on Satellite server.
      3. Configure a Puppet client & create 'rexuser'
      4. Set effective user to 'rexuser' for Puppet client for remote execution.
      5. Invocate the Remote execution from Satellite WebUI as below
      Job category : Puppet
      Job template : Puppet Run Once - Script Default

      Actual results:
      Puppet run fails with error "puppet: command not found"

      Expected results:
      Puppet Run should work fine

      Additional info:

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-onerleka Omkar Nerlekar (Inactive)
              RH Bugzilla Integration RH Bugzilla Integration
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: