<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>240266</bug_id>
          
          <creation_ts>2008-10-06 13:25 0000</creation_ts>
          <short_desc>app-admin/puppet-0.24.5-r1: Remove PUPPETMASTER_MANIFEST from startup scripts</short_desc>
          <delta_ts>2008-10-06 16:29:34 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>kc@gocept.com</reporter>
          <assigned_to>matsuu@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>kc@gocept.com</who>
            <bug_when>2008-10-06 13:25:10 0000</bug_when>
            <thetext>The Gentoo puppetmaster initscripts use PUPPETMASTER_MANIFEST, which overrides the manifest location at puppetmaster&apos;s startup via command line. Although this may present an easy guide for initial setup, it is conceptually incompatible with puppet environments.

With puppet environments, one can specify different manifests (and everything else) using separate sections in /etc/puppet/puppet.conf. This allows for example to distinguish development and production configurations. But when a --manifest command line argument is prenent during puppetmaster startup, the manifest is fixed to the parameter for all environments.

Therefor, I suggest to drop PUPPETMASTER_MANIFEST and --manifest from /etc/conf.d/puppetmaster and /etc/init.d/puppetmaster altogether.

Reproducible: Always




# emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
Timestamp of tree: Mon, 06 Oct 2008 01:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r14, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS=&quot;amd64&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -pipe -march=nocona&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc&quot;
CONFIG_PROTECT_MASK=&quot;/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d&quot;
CXXFLAGS=&quot;-O2 -pipe -march=nocona&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;buildpkg ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch usersandbox&quot;
GENTOO_MIRRORS=&quot;ftp://de-mirror.org/distro/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ &quot;
LDFLAGS=&quot;-Wl,-O1&quot;
MAKEOPTS=&quot;-j5&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
SYNC=&quot;rsync://rsync.europe.gentoo.org/gentoo-portage&quot;
USE=&quot;acl acpi amd64 apache2 bash-completion berkdb bzip2 cli cracklib crypt cups device-mapper dri fortran gdbm gnutls gpm iconv ipv6 isdnlog jpeg kvm ldap logrotate midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session spl sqlite3 sse sse2 ssl symlink sysfs tcpd unicode vim-syntax xorg zlib&quot; ALSA_CARDS=&quot;ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci&quot; ALSA_PCM_PLUGINS=&quot;adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol&quot; APACHE2_MODULES=&quot;actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias&quot; ELIBC=&quot;glibc&quot; INPUT_DEVICES=&quot;keyboard mouse evdev&quot; KERNEL=&quot;linux&quot; LCD_DEVICES=&quot;bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text&quot; USERLAND=&quot;GNU&quot; VIDEO_CARDS=&quot;fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo&quot;
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kc@gocept.com</who>
            <bug_when>2008-10-06 13:26:44 0000</bug_when>
            <thetext>Created an attachment (id=167449)
/etc/init.d/puppetmaster patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kc@gocept.com</who>
            <bug_when>2008-10-06 13:27:10 0000</bug_when>
            <thetext>Created an attachment (id=167450)
/etc/conf.d/puppetmaster patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>matsuu@gentoo.org</who>
            <bug_when>2008-10-06 16:29:34 0000</bug_when>
            <thetext>puppet-0.24.5-r4 in cvs.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>167449</attachid>
            <date>2008-10-06 13:26 0000</date>
            <desc>/etc/init.d/puppetmaster patch</desc>
            <filename>init.d_puppetmaster.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC9ldGMvaW5pdC5kL3B1cHBldG1hc3Rlci5vcmlnCTIwMDgtMTAtMDYgMTU6MDk6MjQuMDAw
MDAwMDAwICswMjAwCisrKyAvZXRjL2luaXQuZC9wdXBwZXRtYXN0ZXIJMjAwOC0xMC0wNiAxNTox
MjoyNi4wMDAwMDAwMDAgKzAyMDAKQEAgLTE0LDE0ICsxNCw2IEBACiAJCXJldHVybiAxCiAJZmkK
IAotCWxvY2FsIHNpdGVfbWFuaWZlc3Q9Ii9ldGMvcHVwcGV0L21hbmlmZXN0cy9zaXRlLnBwIgot
CVtbIC1uICIke1BVUFBFVE1BU1RFUl9NQU5JRkVTVH0iIF1dICYmIHNpdGVfbWFuaWZlc3Q9IiR7
UFVQUEVUTUFTVEVSX01BTklGRVNUfSIKLQotCWlmIFsgISAtZiAiJHtzaXRlX21hbmlmZXN0fSIg
XSA7IHRoZW4KLQkJZWVycm9yICJQbGVhc2UgY3JlYXRlICR7c2l0ZV9tYW5pZmVzdH0gYmVmb3Jl
IHJ1bm5pbmcgcHVwcGV0IgotCQlyZXR1cm4gMQotCWZpCi0KIAlyZXR1cm4gMAogfQogCkBAIC0y
OSw3ICsyMSw2IEBACiAJY2hlY2tjb25maWcgfHwgcmV0dXJuICQ/CiAKIAlsb2NhbCBvcHRpb25z
PSIiCi0JW1sgLW4gIiR7UFVQUEVUTUFTVEVSX01BTklGRVNUfSIgXV0gICAmJiBvcHRpb25zPSIk
e29wdGlvbnN9IC0tbWFuaWZlc3Q9JHtQVVBQRVRNQVNURVJfTUFOSUZFU1R9IgogCVtbIC1uICIk
e1BVUFBFVE1BU1RFUl9MT0d9IiBdXSAgICAgICAgJiYgb3B0aW9ucz0iJHtvcHRpb25zfSAtLWxv
Z2Rlc3Q9JHtQVVBQRVRNQVNURVJfTE9HfSIKIAlbWyAtbiAiJHtQVVBQRVRNQVNURVJfRVhUUkFf
T1BUU30iIF1dICYmIG9wdGlvbnM9IiR7b3B0aW9uc30gJHtQVVBQRVRNQVNURVJfRVhUUkFfT1BU
U30iCiAK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>167450</attachid>
            <date>2008-10-06 13:27 0000</date>
            <desc>/etc/conf.d/puppetmaster patch</desc>
            <filename>conf.d_puppetmaster.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC9ldGMvY29uZi5kL3B1cHBldG1hc3Rlci5vcmlnCTIwMDgtMTAtMDYgMTU6MTY6MDkuMDAw
MDAwMDAwICswMjAwCisrKyAvZXRjL2NvbmYuZC9wdXBwZXRtYXN0ZXIJMjAwOC0xMC0wNiAxNTox
NjoxMy4wMDAwMDAwMDAgKzAyMDAKQEAgLTEsOSArMSw2IEBACiAjIExvY2F0aW9uIG9mIFBJRCBm
aWxlcwogUFVQUEVUTUFTVEVSX1BJRF9ESVI9Ii92YXIvcnVuL3B1cHBldCIKIAotIyBMb2NhdGlv
biBvZiB0aGUgbWFpbiBtYW5pZmVzdAotUFVQUEVUTUFTVEVSX01BTklGRVNUPSIvaG9tZS9wdXBw
ZXQvdGVzdGluZy9wdXBwZXQvbWFuaWZlc3RzL3NpdGUucHAiCi0KICMgV2hlcmUgdG8gbG9nIGdl
bmVyYWwgbWVzc2FnZXMgdG8uCiAjIFNwZWNpZnkgc3lzbG9nIHRvIHNlbmQgbG9nIG1lc3NhZ2Vz
IHRvIHRoZSBzeXN0ZW0gbG9nLgogI1BVUFBFVE1BU1RFUl9MT0c9InN5c2xvZyIK
</data>        

          </attachment>
    </bug>

</bugzilla>