Opened 14 years ago

Closed 9 years ago

#27566 closed defect (fixed)

puppet violates mtree

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: ian@…, kurthindenburg (Kurt Hindenburg)
Port: puppet

Description

$ sudo port -u upgrade puppet
--->  Fetching puppet
--->  Attempting to fetch puppet-2.6.4.tar.gz from http://puppetlabs.com/downloads/puppet/
--->  Verifying checksum(s) for puppet
--->  Extracting puppet
--->  Configuring puppet
--->  Building puppet
--->  Staging puppet into destroot
Warning: violation by /etc
Warning: puppet violates the layout of the ports-filesystems!
Warning: Please fix or indicate this misbehavior (if it is intended), it will be an error in future releases!
--->  Computing dependencies for puppet
--->  Installing puppet @2.6.4_0
--->  Deactivating puppet @2.6.2_0
--->  Cleaning puppet
--->  Activating puppet @2.6.4_0
--->  Cleaning puppet
--->  Uninstalling puppet @2.6.2_0
--->  Cleaning puppet

Attachments (3)

Portfile-puppet.diff (810 bytes) - added by nigel@… 14 years ago.
patch-install.rb.diff (1.5 KB) - added by nigel@… 14 years ago.
patch-4382-mkusers-osx.diff (1.9 KB) - added by nigel@… 14 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 14 years ago by nigel@…

Apologies for leaving this so long.

We have a bug upstream in the installer script, I'll get that fixed and patch for MacPorts until it is incorporated upstream.

Changed 14 years ago by nigel@…

Attachment: Portfile-puppet.diff added

comment:2 Changed 14 years ago by nigel@…

I've resolved several things here.

We were unwittingly relying on luck a little for the bin/sitelib directories, and I'm now being much more explicit, which is resolving the configdir issue.

I'm also about to attach the two patch files. One patches install.rb so that the above changes work, and the other fixes a --mkusers bug that has frustrated a lot of people who wish to switch away from the default puppet/puppet user/group.

I understand if you want me to separate that last fix out into a separate patch, and will do so if asked.

Changed 14 years ago by nigel@…

Attachment: patch-install.rb.diff added

Changed 14 years ago by nigel@…

Attachment: patch-4382-mkusers-osx.diff added

comment:3 Changed 13 years ago by ian@…

Cc: ian@… added

Cc Me!

comment:4 Changed 13 years ago by jmroot (Joshua Root)

Keywords: haspatch added

comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:6 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

The latest 2.7.6 doesn't have this issue.

comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: nigel@… removed
Owner: changed from nigel@… to macports-tickets@…

comment:8 Changed 9 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Closing as per comment:6.

Note: See TracTickets for help on using tickets.