The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com

Bug #8726

Puppet does not honor the auth.conf setup in install.rb

Added by Michael Stahnke over 2 years ago. Updated over 1 year ago.

Status:AcceptedStart date:08/01/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Affected Puppet version: Branch:
Keywords:

We've Moved!

Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com

This ticket may be automatically exported to the PUP project on JIRA using the button below:


Description

(below text came from a PE test, but it’s a general Puppet issue with install.rb, and should be targeted at 2.6.x and 2.7.x)

This might be solaris specific. It looks like it could be either:

  1. The way we patch puppet on Solaris
  2. The install.rb just ignores the other options for auth.conf

Sample output after running a patched puppet copy for PE on solaris I get:

[root@unknown puppet-2.6.9]# /opt/puppet//bin/ruby install.rb 
DESTDIR is deprecated. Use --destdir instead.
conf/auth.conf -> /etc/puppet/auth.conf
chmod 0644 /etc/puppet/auth.conf
install -c -m 0755 /tmp/_tmp /opt/puppet/sbin/puppetca
install -c -m 0755 /tmp/_tmp /opt/puppet/sbin/puppetd
install -c -m 0755 /tmp/_tmp /opt/puppet/sbin/puppetmasterd
install -c -m 0755 /tmp/_tmp /opt/puppet/sbin/puppetqd
install -c -m 0755 /tmp/_tmp /opt/puppet/sbin/puppetrun
install -c -m 0755 /tmp/_tmp /opt/puppet/bin/filebucket
install -c -m 0755 /tmp/_tmp /opt/puppet/bin/pi
install -c -m 0755 /tmp/_tmp /opt/puppet/bin/puppet
install -c -m 0755 /tmp/_tmp /opt/puppet/bin/puppetdoc
install -c -m 0755 /tmp/_tmp /opt/puppet/bin/ralsh
man/man5/puppet.conf.5 -> /opt/puppet/share/man/man5/puppet.conf.5
chmod 0644 /opt/puppet/share/man/man5/puppet.conf.5
man/man8/filebucket.8 -> /opt/puppet/share/man/man8/filebucket.8
chmod 0644 /opt/puppet/share/man/man8/filebucket.8
man/man8/pi.8 -> /opt/puppet/share/man/man8/pi.8
chmod 0644 /opt/puppet/share/man/man8/pi.8
man/man8/puppet.8 -> /opt/puppet/share/man/man8/puppet.8
chmod 0644 /opt/puppet/share/man/man8/puppet.8
man/man8/puppetca.8 -> /opt/puppet/share/man/man8/puppetca.8
chmod 0644 /opt/puppet/share/man/man8/puppetca.8
man/man8/puppetd.8 -> /opt/puppet/share/man/man8/puppetd.8
chmod 0644 /opt/puppet/share/man/man8/puppetd.8
man/man8/puppetdoc.8 -> /opt/puppet/share/man/man8/puppetdoc.8
chmod 0644 /opt/puppet/share/man/man8/puppetdoc.8
man/man8/puppetmasterd.8 -> /opt/puppet/share/man/man8/puppetmasterd.8
chmod 0644 /opt/puppet/share/man/man8/puppetmasterd.8
man/man8/puppetqd.8 -> /opt/puppet/share/man/man8/puppetqd.8
chmod 0644 /opt/puppet/share/man/man8/puppetqd.8
man/man8/puppetrun.8 -> /opt/puppet/share/man/man8/puppetrun.8
chmod 0644 /opt/puppet/share/man/man8/puppetrun.8
man/man8/ralsh.8 -> /opt/puppet/share/man/man8/ralsh.8
chmod 0644 /opt/puppet/share/man/man8/ralsh.8

History

#1 Updated by Nigel Kersten over 2 years ago

  • Subject changed from PE puppet may not be honoring the auth.conf setup in install.rb to Puppet does not honor the auth.conf setup in install.rb
  • Description updated (diff)

#2 Updated by Nigel Kersten over 2 years ago

  • Project changed from Commercial edition to Puppet
  • Category deleted (packages)
  • Target version deleted (PE 1.2)

#3 Updated by Nigel Kersten over 2 years ago

  • Target version set to 2.6.x

#4 Updated by Spencer Krum over 2 years ago

If one provides a specific configdir the problem goes away. I can reproduce this for anyone who wants.

root@vagrant-sol10-u9:~/pe_solaris/src/puppet-2.6.9# ./install.rb --configdir=/opt/puppet
DESTDIR is deprecated. Use --destdir instead.
conf/auth.conf -> /opt/puppet/auth.conf
chmod 0644 /opt/puppet/auth.conf
install -c -m 0755 /tmp/_tmp /opt/csw/sbin/puppetqd
install -c -m 0755 /tmp/_tmp /opt/csw/sbin/puppetmasterd
install -c -m 0755 /tmp/_tmp /opt/csw/sbin/puppetrun
install -c -m 0755 /tmp/_tmp /opt/csw/sbin/puppetca
install -c -m 0755 /tmp/_tmp /opt/csw/sbin/puppetd
install -c -m 0755 /tmp/_tmp /opt/csw/bin/pi
install -c -m 0755 /tmp/_tmp /opt/csw/bin/puppetdoc
install -c -m 0755 /tmp/_tmp /opt/csw/bin/filebucket
install -c -m 0755 /tmp/_tmp /opt/csw/bin/ralsh
install -c -m 0755 /tmp/_tmp /opt/csw/bin/puppet
man/man8/puppetdoc.8 -> /opt/csw/share/man/man8/puppetdoc.8
chmod 0644 /opt/csw/share/man/man8/puppetdoc.8
man/man8/filebucket.8 -> /opt/csw/share/man/man8/filebucket.8
chmod 0644 /opt/csw/share/man/man8/filebucket.8
man/man8/puppet.8 -> /opt/csw/share/man/man8/puppet.8
chmod 0644 /opt/csw/share/man/man8/puppet.8
man/man8/puppetmasterd.8 -> /opt/csw/share/man/man8/puppetmasterd.8
chmod 0644 /opt/csw/share/man/man8/puppetmasterd.8
man/man8/pi.8 -> /opt/csw/share/man/man8/pi.8
chmod 0644 /opt/csw/share/man/man8/pi.8
man/man8/puppetqd.8 -> /opt/csw/share/man/man8/puppetqd.8
chmod 0644 /opt/csw/share/man/man8/puppetqd.8
man/man8/puppetca.8 -> /opt/csw/share/man/man8/puppetca.8
chmod 0644 /opt/csw/share/man/man8/puppetca.8
man/man8/puppetd.8 -> /opt/csw/share/man/man8/puppetd.8
chmod 0644 /opt/csw/share/man/man8/puppetd.8
man/man8/ralsh.8 -> /opt/csw/share/man/man8/ralsh.8
chmod 0644 /opt/csw/share/man/man8/ralsh.8
man/man8/puppetrun.8 -> /opt/csw/share/man/man8/puppetrun.8
chmod 0644 /opt/csw/share/man/man8/puppetrun.8
man/man5/puppet.conf.5 -> /opt/csw/share/man/man5/puppet.conf.5
chmod 0644 /opt/csw/share/man/man5/puppet.conf.5
root@vagrant-sol10-u9:~/pe_solaris/src/puppet-2.6.9# ls /etc/puppet
root@vagrant-sol10-u9:~/pe_solaris/src/puppet-2.6.9# ls /opt/puppet/
auth.conf  bin        include    lib        sbin       share      ssl

#5 Updated by Matthaus Owens over 2 years ago

  • Assignee deleted (Matthaus Owens)

#6 Updated by Michael Stahnke over 2 years ago

  • Target version changed from 2.6.x to 2.7.x

2.6.x is closed. Moving to 2.7.x

#7 Updated by Andrew Parker over 1 year ago

  • Target version deleted (2.7.x)

Also available in: Atom PDF