Uploaded image for project: 'Puppet Server'
  1. Puppet Server
  2. SERVER-508

Fix sudo on ubuntu1404

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • None
    • None
    • Puppet Server

    Description

      I'm running into this issue on Ubuntu 14.04 with a snapshot of ezbake 0.3.0 which includes the improvements from SERVER-344.

      After becoming puppet with su puppet -s /bin/bash, and changing to the puppet home directory.

      puppet@imfgom2qepry15d:~$ /opt/puppetlabs/bin/puppetserver foreground
      + set -a
      + '[' -r /etc/default/puppetserver ']'
      + . /etc/default/puppetserver
      ++ JAVA_BIN=/usr/bin/java
      ++ JAVA_ARGS='-Xms2g -Xmx2g -XX:MaxPermSize=256m'
      ++ USER=puppet
      ++ GROUP=puppet
      ++ INSTALL_DIR=/opt/puppetlabs/server/apps/puppetserver
      ++ CONFIG=/etc/puppetlabs/puppetserver/conf.d
      ++ BOOTSTRAP_CONFIG=/etc/puppetlabs/puppetserver/bootstrap.cfg
      ++ SERVICE_STOP_RETRIES=60
      + set +a
      + CLI_DIR=/opt/puppetlabs/server/apps/puppetserver/cli
      + CLI_APP_DIR=/opt/puppetlabs/server/apps/puppetserver/cli/apps
      ++ ls /opt/puppetlabs/server/apps/puppetserver/cli/apps
      + APPS='foreground
      gem
      irb
      ruby'
      + '[' -z foreground ']'
      + '[' foreground = --help ']'
      + '[' foreground = -h ']'
      + '[' foreground = --version ']'
      + '[' foreground = -v ']'
      + execsubcommand foreground
      + sub=foreground
      + shift
      + cmd=/opt/puppetlabs/server/apps/puppetserver/cli/apps/foreground
      + '[' -e /opt/puppetlabs/server/apps/puppetserver/cli/apps/foreground ']'
      + exec /opt/puppetlabs/server/apps/puppetserver/cli/apps/foreground
      puppet is not in the sudoers file.  This incident will be reported.
      

      Attachments

        Issue Links

          Activity

            People

              jeff Jeff McCune
              jeff Jeff McCune
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support