OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005061 [puppet3] feature always 2013-03-15 21:08 2013-03-19 11:26
Reporter jcraig View Status public  
Assigned To markp
Priority normal Resolution fixed  
Status closed  
Summary 0005061: puppet [agent|master] --genconf does not use OpenCSW standard directories
Description 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.
Additional Information 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
Tags No tags attached.
Attached Files ? file icon 0001-Make-puppet-path-info-conform-CSW-standards.patch [^] (1,539 bytes) 2013-03-15 21:08

- Relationships

-  Notes
(0010295)
markp (developer)
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


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker