[MacPorts] #39775: Missing /opt/local/etc/ansible directory after install
#39775: Missing /opt/local/etc/ansible directory after install ------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: sysutils/ansible ------------------------+-------------------------------- I installed sysutils/ansible (http://www.ansibleworks.com/) but there was no /opt/local/etc/ansible directory created. If one clones their git repo and does the port install using their Portfile, one gets: /opt/local/etc/ansible/ansible.cfg /opt/local/etc/ansible/hosts Arguably the hosts file isn't required, because it's just examples. But it seems to me that the cfg file should be installed. -- Ticket URL: <https://trac.macports.org/ticket/39775> MacPorts <http://www.macports.org/> Ports system for OS X
#39775: ansible @1.2: Missing /opt/local/etc/ansible directory after install -------------------------+--------------------- Reporter: macports@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ansible | -------------------------+--------------------- Changes (by larryv@…): * owner: macports-tickets@… => blair@… * port: sysutils/ansible => ansible Old description:
I installed sysutils/ansible (http://www.ansibleworks.com/) but there was no /opt/local/etc/ansible directory created.
If one clones their git repo and does the port install using their Portfile, one gets:
/opt/local/etc/ansible/ansible.cfg /opt/local/etc/ansible/hosts
Arguably the hosts file isn't required, because it's just examples. But it seems to me that the cfg file should be installed.
New description: I installed sysutils/ansible (http://www.ansibleworks.com/) but there was no /opt/local/etc/ansible directory created. If one clones their git repo and does the port install using their Portfile, one gets: /opt/local/etc/ansible/ansible.cfg\\ /opt/local/etc/ansible/hosts Arguably the hosts file isn't required, because it's just examples. But it seems to me that the cfg file should be installed. -- Comment: See PortfileRecipes#configfiles. -- Ticket URL: <https://trac.macports.org/ticket/39775#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39775: ansible @1.2: Missing /opt/local/etc/ansible directory after install -------------------------+--------------------- Reporter: macports@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ansible | -------------------------+--------------------- Comment (by blair@…): Feel free to send me a diff on the Portfile and I'll commit the change. I have few cycles to devote to MacPorts these days. -- Ticket URL: <https://trac.macports.org/ticket/39775#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39775: ansible @1.2: Missing /opt/local/etc/ansible directory after install -------------------------+--------------------- Reporter: macports@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ansible | -------------------------+--------------------- Comment (by macports@…): I've attached a diff that includes a post-destroot stanza for the Portfile. It will install man pages, examples and default config. I based it on https://raw.github.com/ansible/ansible/devel/packaging/macports/sysutils/ans... -- Ticket URL: <https://trac.macports.org/ticket/39775#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39775: ansible @1.2: Missing /opt/local/etc/ansible directory after install -------------------------+--------------------- Reporter: macports@… | Owner: blair@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: ansible | -------------------------+--------------------- Comment (by blair@…): Thanks for putting the diff together. I think we want the config file to be installed with a suffix so that upgrades to ansible don't clobber the file. -- Ticket URL: <https://trac.macports.org/ticket/39775#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39775: ansible @1.2: Missing /opt/local/etc/ansible directory after install -------------------------+--------------------- Reporter: macports@… | Owner: blair@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: ansible | -------------------------+--------------------- Changes (by blair@…): * status: new => closed * resolution: => fixed Comment: Fixed in r108818. BTW, next time you submit a diff, please use the -u command line option, it makes it easier to apply to a file. -- Ticket URL: <https://trac.macports.org/ticket/39775#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts