[bug-notifications] [puppet 0004816]: Typo in SMF start method of puppet agent

Mantis Bug Tracker noreply at opencsw.org
Fri Aug 12 05:18:29 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4816 
====================================================================== 
Reported By:                ja
Assigned To:                markp
====================================================================== 
Project:                    puppet
Issue ID:                   4816
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
====================================================================== 
Date Submitted:             2011-08-11 21:25 CEST
Last Modified:              2011-08-12 05:18 CEST
====================================================================== 
Summary:                    Typo in SMF start method of puppet agent
Description: 
There is a typo in the start method for the puppet agent (2.6.9):

sysconfdir="/etc/csw/opt"

should be

sysconfdir="/etc/opt/csw"

As a result of this mistake the config file will not be parsed.
====================================================================== 

---------------------------------------------------------------------- 
 (0009232) ja (developer) - 2011-08-12 05:18
 https://www.opencsw.org/mantis/view.php?id=4816#c9232 
---------------------------------------------------------------------- 
Oh, my fault, you are right.

But anyway, there is something, which doesn't work as it should, I think.
When the variables $confdir, $vardir and $ssldir are enabled in the start
script and puppet is started like this

${sbindir}/puppetd --confdir=$confdir --vardir=$vardir --ssldir=$ssldir

it behaves in a different way (it behaves as I would expect) than when
it's started just with 

${sbindir}/puppetd

My /etc/puppet/puppet.conf looks like this (OpenCSW default):

[main]
    confdir = /etc/opt/csw/puppet
    config = $confdir/puppet.conf
    vardir = /var/opt/csw/puppet
    ssldir = $vardir/ssl

It seems, that puppet doesn't read $confdir/puppet.conf , at least it
ignores some settings in it like $runinterval. Only when starting puppet
with the option --confdir=/etc/opt/csw/puppet this works.

I cannot track this thing down further. If needed I could open another
ticket, as the original "problem" is solved.



More information about the bug-notifications mailing list