Bug #8726

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

Added by Michael Stahnke 10 months ago. Updated 4 months ago.

Status:Accepted Start date:08/01/2011
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:2.7.x
Affected Puppet version: Branch:
Keywords:
Votes: 0

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

Updated by Nigel Kersten 10 months 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)

Updated by Nigel Kersten 10 months ago

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

Updated by Nigel Kersten 10 months ago

  • Target version set to 2.6.x

Updated by Spencer Krum 10 months 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

Updated by Matthaus Litteken 10 months ago

  • Assignee deleted (Matthaus Litteken)

Updated by Michael Stahnke 4 months ago

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

2.6.x is closed. Moving to 2.7.x

Also available in: Atom PDF