Mantis - puppet3
Viewing Issue Advanced Details
5061 feature always 2013-03-15 21:08 2013-03-19 11:26
jcraig  
markp  
normal  
closed  
fixed  
none    
none  
0005061: puppet [agent|master] --genconf does not use OpenCSW standard directories
Puppet defaults to /etc/puppet and /var/lib/puppet when creating and/or looking for files. These directories do not comply with OpenCSW standards. The following patch will fix the default paths to /etc/opt/csw/puppet and /var/opt/csw/puppet per the standard. This allows puppet to bootstrap and start normally as well as eliminates the need to keep a copy of puppet.conf in the /etc/puppet directory.
I have tested this on a Solaris 11 zone with a fairly simple implementation without issues. I built a private copy of the OpenCSW package and tested installation, bootstrap and operation and ran into no issues. The attached patch is suitable for inclusion in the OpenCSW Makefile using:

PATCHFILES += 0001-Make-puppet-path-info-conform-CSW-standards.patch

Jon
? file icon 0001-Make-puppet-path-info-conform-CSW-standards.patch [^] (1,539 bytes) 2013-03-15 21:08
Issue History
2013-03-15 21:08 jcraig New Issue
2013-03-15 21:08 jcraig File Added: 0001-Make-puppet-path-info-conform-CSW-standards.patch
2013-03-16 10:19 markp Note Added: 0010295
2013-03-16 10:19 markp Assigned To => markp
2013-03-16 10:19 markp Status new => acknowledged
2013-03-19 11:26 markp Status acknowledged => closed
2013-03-19 11:26 markp Resolution open => fixed

Notes
(0010295)
markp   
2013-03-16 10:19   
Hi Jon,

Respectfully I decline this patch. And with good reason.

Our standards are good, and they provide a consistent look and feel to package layouts. But occasionally we need to look beyond our own little world and see the bigger picture.

The directory layouts of puppet were discussed sometime ago, on irc, with fellow CSW maintainers. I chose to distort our standards to fit in with the bigger picture - and go with Puppet's standards for configuration layouts. The majority of large users of puppet are cross platform - in essence, the point of puppet, and standards across all platforms in preferable. To this end I work with their standards and not ours. There is a README in /etc/puppet discussing this, and pointing out how a Solaris/CSW only camp can configure it to go with CSW standards.

Feel free to ping me on irc as 'phips' or mail my opencsw address if you want to discuss further.

Mark