#14139 closed enhancement (wontfix)
xinstall needs to support recursion
Reported by: | rhwood@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.7.0 |
Keywords: | Cc: | anddam (Andrea D'Amore), ian@…, cooljeanius (Eric Gallager) | |
Port: |
Description
xinstall needs to support recursion so that the installation of Bundles (not a concept at the time install(1) was developed) can be done without resorting to "file mkdir ... ; file copy ..."
Change History (8)
comment:1 Changed 14 years ago by anddam (Andrea D'Amore)
Cc: | and.damore@… added |
---|
comment:3 follow-up: 4 Changed 13 years ago by ian@…
To stoke the fire I've just added a patch that brings Facter to 1.6.2 and Puppet to 2.7.6.
It seems like the --destdir
and --configdir
options to install.rb
do enough of the right thing in 2.7.6 to be passable. I've removed all the reinplace
's accordingly. I've noticed that puppet master --genconfig
outputs everything without ${prefix}
, but I wouldn't consider that a show stopper. I'll submit a patch upstream for it. If anyone feels it needs to be addressed from the get go I can attack it with Ryan's suggested @PREFIX@
approach.
I also dropped the xinstall
of ${prefix}/var/puppet/rrd
as I was building up from what wasn't working for me. I can add it back with Ryan's suggested destroot.keepdirs
fix as needed.
I added copying of the config examples to ${prefix}/share/examples/puppet/etc/puppet
. I was going to add all the examples, but then I realized xinstall
doesn't recurse directories (Ticket #14139). Is there a preferred way to handle a sizable tree otherwise?
There are so many ways to setup puppet that I'm curious to get people's input on whether default config and startup items would be desired, and if so what should they look like? For my initial use case I'm just using puppet apply
on demand instead of puppet master
and puppet agent
. Perhaps startup items for the master and agent daemons, configured for localhost only, with a manifest that otherwise does nothing, would add some warmth and fuzziness to the port?
comment:4 Changed 13 years ago by ian@…
Replying to ian@…:
To stoke the fire I've just added a patch that brings Facter to 1.6.2 and Puppet to 2.7.6. [...]
Oops, ignore all that, wrong window.
comment:5 follow-up: 7 Changed 12 years ago by raimue (Rainer Müller)
xinstall is meant to be a builtin implementation of install(1), which also cannot operate in a recursive mode.
How would the modes be applied in recursive mode? Directories need +x, while it should not be set on non-executable files. Would we have to two separate mode arguments; one for files, one for directories?
comment:7 Changed 11 years ago by larryv (Lawrence Velázquez)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Replying to raimue@…:
xinstall is meant to be a builtin implementation of install(1), which also cannot operate in a recursive mode.
This.
comment:8 Changed 8 years ago by jmroot (Joshua Root)
Milestone: | MacPorts Future |
---|
Cc Me!