diff options
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/ansible/Makefile | 50 | ||||
-rw-r--r-- | sysutils/ansible/PLIST | 292 | ||||
-rw-r--r-- | sysutils/ansible/distinfo | 24 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-examples_ansible.cfg | 23 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-lib_ansible_callbacks.py | 10 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-lib_ansible_constants.py | 32 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-library-system-ping | 6 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-library_database_riak | 8 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-library_monitoring_nagios | 6 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-library_packaging_pkgin | 10 | ||||
-rw-r--r-- | sysutils/ansible/patches/patch-library_system_setup | 19 |
11 files changed, 214 insertions, 266 deletions
diff --git a/sysutils/ansible/Makefile b/sysutils/ansible/Makefile index 8c7d7765c3f..ed87d0cc5dd 100644 --- a/sysutils/ansible/Makefile +++ b/sysutils/ansible/Makefile @@ -1,49 +1,48 @@ -# $NetBSD: Makefile,v 1.10 2014/05/09 07:37:18 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2014/06/15 00:15:08 rodent Exp $ -DISTNAME= ansible-1.4.1 +DISTNAME= ansible-1.6.3 +#PKGNAME= ${PYPKGPREFIX}-${DISTNAME} # XXX: for when package is py3x-ready CATEGORIES= sysutils -MASTER_SITES= http://ansibleworks.com/releases/ +MASTER_SITES= http://releases.ansible.com/ansible/ +MASTER_SITES+= https://pypi.python.org/packages/source/a/ansible/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ansibleworks.com/ COMMENT= SSH-based configuration management, deployment, and task execution LICENSE= gnu-gpl-v3 -EGDIR= ${PREFIX}/share/examples/ansible +DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml +DEPENDS+= ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko +DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 +DEPENDS+= ${PYPKGPREFIX}-crypto>=2.6:../../security/py-crypto -#USE_LANGUAGES= # none USE_TOOLS+= gmake +EGDIR= ${PREFIX}/share/examples/ansible SUBST_CLASSES+= prefix SUBST_STAGE.prefix= pre-configure -SUBST_FILES.prefix+= examples/ansible.cfg -SUBST_FILES.prefix+= lib/ansible/constants.py +SUBST_FILES.prefix+= examples/ansible.cfg lib/ansible/callbacks.py +SUBST_FILES.prefix+= lib/ansible/constants.py library/packaging/pkgin +SUBST_MESSAGE.prefix= Fixing PREFIX path. SUBST_SED.prefix= -e "s,@PREFIX@,${PREFIX}," SUBST_SED.prefix+= -e "s,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR}," -SUBST_CLASSES+= localbase -SUBST_STAGE.localbase= pre-configure -SUBST_FILES.localbase= \ - lib/ansible/callbacks.py \ - library/packaging/pkgin \ - library/system/setup -SUBST_SED.localbase= -e "s,@LOCALBASE@,${LOCALBASE}," - SUBST_CLASSES+= pythonbin SUBST_STAGE.pythonbin= pre-configure SUBST_FILES.pythonbin= Makefile -SUBST_FILES.pythonbin= -e "s,@PYTHONBIN@,${PYTHONBIN}," +SUBST_MESSAGE.pythonbin= Fixing path to PYTHONBIN. +SUBST_SED.pythonbin= -e "s,PYTHON=python,PYTHON=${PYTHONBIN}," PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-paramiko -MANPAGES= ansible-doc.1 ansible-pull.1 ansible-playbook.1 ansible.1 +REPLACE_PYTHON+= lib/ansible/runner/action_plugins/synchronize.py +REPLACE_PYTHON+= lib/ansible/utils/module_docs.py -DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml -DEPENDS+= ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko -DEPENDS+= ${PYPKGPREFIX}-jinja2-[0-9]*:../../textproc/py-jinja2 +MANPAGES= ansible-doc.1 ansible-pull.1 ansible-galaxy.1 ansible-vault.1 +MANPAGES+= ansible-playbook.1 ansible.1 -INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 -INSTALLATION_DIRS+= ${PKG_SYSCONFDIR}/ansible ${EGDIR}/playbooks +INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKG_SYSCONFDIR}/ansible +INSTALLATION_DIRS+= ${EGDIR}/playbooks CHECK_INTERPRETER_SKIP= share/ansible/* @@ -55,13 +54,10 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/docs/man/man1/${f} \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ .endfor - ${INSTALL_MAN} ${WRKSRC}/docs/man/man3/* \ - ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/ .for f in ansible.cfg hosts - ${INSTALL_DATA} ${WRKSRC}/examples/${f} \ - ${DESTDIR}/${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${DESTDIR}/${EGDIR} .endfor .include "../../lang/python/application.mk" -.include "../../lang/python/distutils.mk" +.include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/ansible/PLIST b/sysutils/ansible/PLIST index 6c69028c660..2496ec5fa18 100644 --- a/sysutils/ansible/PLIST +++ b/sysutils/ansible/PLIST @@ -1,9 +1,15 @@ -@comment $NetBSD: PLIST,v 1.5 2013/12/02 22:54:46 hubertf Exp $ +@comment $NetBSD: PLIST,v 1.6 2014/06/15 00:15:08 rodent Exp $ bin/ansible bin/ansible-doc +bin/ansible-galaxy bin/ansible-playbook bin/ansible-pull -${PYSITELIB}/${EGG_FILE} +bin/ansible-vault +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt ${PYSITELIB}/ansible/__init__.py ${PYSITELIB}/ansible/__init__.pyc ${PYSITELIB}/ansible/__init__.pyo @@ -64,6 +70,24 @@ ${PYSITELIB}/ansible/module_utils/basic.pyo ${PYSITELIB}/ansible/module_utils/ec2.py ${PYSITELIB}/ansible/module_utils/ec2.pyc ${PYSITELIB}/ansible/module_utils/ec2.pyo +${PYSITELIB}/ansible/module_utils/facts.py +${PYSITELIB}/ansible/module_utils/facts.pyc +${PYSITELIB}/ansible/module_utils/facts.pyo +${PYSITELIB}/ansible/module_utils/gce.py +${PYSITELIB}/ansible/module_utils/gce.pyc +${PYSITELIB}/ansible/module_utils/gce.pyo +${PYSITELIB}/ansible/module_utils/known_hosts.py +${PYSITELIB}/ansible/module_utils/known_hosts.pyc +${PYSITELIB}/ansible/module_utils/known_hosts.pyo +${PYSITELIB}/ansible/module_utils/rax.py +${PYSITELIB}/ansible/module_utils/rax.pyc +${PYSITELIB}/ansible/module_utils/rax.pyo +${PYSITELIB}/ansible/module_utils/redhat.py +${PYSITELIB}/ansible/module_utils/redhat.pyc +${PYSITELIB}/ansible/module_utils/redhat.pyo +${PYSITELIB}/ansible/module_utils/urls.py +${PYSITELIB}/ansible/module_utils/urls.pyc +${PYSITELIB}/ansible/module_utils/urls.pyo ${PYSITELIB}/ansible/playbook/__init__.py ${PYSITELIB}/ansible/playbook/__init__.pyc ${PYSITELIB}/ansible/playbook/__init__.pyo @@ -85,6 +109,9 @@ ${PYSITELIB}/ansible/runner/action_plugins/add_host.pyo ${PYSITELIB}/ansible/runner/action_plugins/assemble.py ${PYSITELIB}/ansible/runner/action_plugins/assemble.pyc ${PYSITELIB}/ansible/runner/action_plugins/assemble.pyo +${PYSITELIB}/ansible/runner/action_plugins/assert.py +${PYSITELIB}/ansible/runner/action_plugins/assert.pyc +${PYSITELIB}/ansible/runner/action_plugins/assert.pyo ${PYSITELIB}/ansible/runner/action_plugins/async.py ${PYSITELIB}/ansible/runner/action_plugins/async.pyc ${PYSITELIB}/ansible/runner/action_plugins/async.pyo @@ -151,6 +178,9 @@ ${PYSITELIB}/ansible/runner/connection_plugins/funcd.pyo ${PYSITELIB}/ansible/runner/connection_plugins/jail.py ${PYSITELIB}/ansible/runner/connection_plugins/jail.pyc ${PYSITELIB}/ansible/runner/connection_plugins/jail.pyo +${PYSITELIB}/ansible/runner/connection_plugins/libvirt_lxc.py +${PYSITELIB}/ansible/runner/connection_plugins/libvirt_lxc.pyc +${PYSITELIB}/ansible/runner/connection_plugins/libvirt_lxc.pyo ${PYSITELIB}/ansible/runner/connection_plugins/local.py ${PYSITELIB}/ansible/runner/connection_plugins/local.pyc ${PYSITELIB}/ansible/runner/connection_plugins/local.pyo @@ -169,6 +199,12 @@ ${PYSITELIB}/ansible/runner/filter_plugins/core.pyo ${PYSITELIB}/ansible/runner/lookup_plugins/__init__.py ${PYSITELIB}/ansible/runner/lookup_plugins/__init__.pyc ${PYSITELIB}/ansible/runner/lookup_plugins/__init__.pyo +${PYSITELIB}/ansible/runner/lookup_plugins/csvfile.py +${PYSITELIB}/ansible/runner/lookup_plugins/csvfile.pyc +${PYSITELIB}/ansible/runner/lookup_plugins/csvfile.pyo +${PYSITELIB}/ansible/runner/lookup_plugins/dict.py +${PYSITELIB}/ansible/runner/lookup_plugins/dict.pyc +${PYSITELIB}/ansible/runner/lookup_plugins/dict.pyo ${PYSITELIB}/ansible/runner/lookup_plugins/dnstxt.py ${PYSITELIB}/ansible/runner/lookup_plugins/dnstxt.pyc ${PYSITELIB}/ansible/runner/lookup_plugins/dnstxt.pyo @@ -238,200 +274,65 @@ ${PYSITELIB}/ansible/runner/return_data.pyo ${PYSITELIB}/ansible/utils/__init__.py ${PYSITELIB}/ansible/utils/__init__.pyc ${PYSITELIB}/ansible/utils/__init__.pyo +${PYSITELIB}/ansible/utils/cmd_functions.py +${PYSITELIB}/ansible/utils/cmd_functions.pyc +${PYSITELIB}/ansible/utils/cmd_functions.pyo +${PYSITELIB}/ansible/utils/display_functions.py +${PYSITELIB}/ansible/utils/display_functions.pyc +${PYSITELIB}/ansible/utils/display_functions.pyo ${PYSITELIB}/ansible/utils/module_docs.py ${PYSITELIB}/ansible/utils/module_docs.pyc ${PYSITELIB}/ansible/utils/module_docs.pyo +${PYSITELIB}/ansible/utils/module_docs_fragments/__init__.py +${PYSITELIB}/ansible/utils/module_docs_fragments/__init__.pyc +${PYSITELIB}/ansible/utils/module_docs_fragments/__init__.pyo +${PYSITELIB}/ansible/utils/module_docs_fragments/aws.py +${PYSITELIB}/ansible/utils/module_docs_fragments/aws.pyc +${PYSITELIB}/ansible/utils/module_docs_fragments/aws.pyo +${PYSITELIB}/ansible/utils/module_docs_fragments/files.py +${PYSITELIB}/ansible/utils/module_docs_fragments/files.pyc +${PYSITELIB}/ansible/utils/module_docs_fragments/files.pyo +${PYSITELIB}/ansible/utils/module_docs_fragments/rackspace.py +${PYSITELIB}/ansible/utils/module_docs_fragments/rackspace.pyc +${PYSITELIB}/ansible/utils/module_docs_fragments/rackspace.pyo ${PYSITELIB}/ansible/utils/plugins.py ${PYSITELIB}/ansible/utils/plugins.pyc ${PYSITELIB}/ansible/utils/plugins.pyo +${PYSITELIB}/ansible/utils/string_functions.py +${PYSITELIB}/ansible/utils/string_functions.pyc +${PYSITELIB}/ansible/utils/string_functions.pyo ${PYSITELIB}/ansible/utils/template.py ${PYSITELIB}/ansible/utils/template.pyc ${PYSITELIB}/ansible/utils/template.pyo +${PYSITELIB}/ansible/utils/vault.py +${PYSITELIB}/ansible/utils/vault.pyc +${PYSITELIB}/ansible/utils/vault.pyo man/man1/ansible-doc.1 +man/man1/ansible-galaxy.1 man/man1/ansible-playbook.1 man/man1/ansible-pull.1 +man/man1/ansible-vault.1 man/man1/ansible.1 -man/man3/ansible.accelerate.3 -man/man3/ansible.acl.3 -man/man3/ansible.add_host.3 -man/man3/ansible.airbrake_deployment.3 -man/man3/ansible.apt.3 -man/man3/ansible.apt_key.3 -man/man3/ansible.apt_repository.3 -man/man3/ansible.arista_interface.3 -man/man3/ansible.arista_l2interface.3 -man/man3/ansible.arista_lag.3 -man/man3/ansible.arista_vlan.3 -man/man3/ansible.assemble.3 -man/man3/ansible.async_status.3 -man/man3/ansible.authorized_key.3 -man/man3/ansible.bigip_monitor_http.3 -man/man3/ansible.bigip_monitor_tcp.3 -man/man3/ansible.bigip_node.3 -man/man3/ansible.bigip_pool.3 -man/man3/ansible.bigip_pool_member.3 -man/man3/ansible.boundary_meter.3 -man/man3/ansible.bzr.3 -man/man3/ansible.campfire.3 -man/man3/ansible.cloudformation.3 -man/man3/ansible.command.3 -man/man3/ansible.copy.3 -man/man3/ansible.cron.3 -man/man3/ansible.datadog_event.3 -man/man3/ansible.debug.3 -man/man3/ansible.digital_ocean.3 -man/man3/ansible.django_manage.3 -man/man3/ansible.dnsmadeeasy.3 -man/man3/ansible.docker.3 -man/man3/ansible.easy_install.3 -man/man3/ansible.ec2.3 -man/man3/ansible.ec2_ami.3 -man/man3/ansible.ec2_eip.3 -man/man3/ansible.ec2_elb.3 -man/man3/ansible.ec2_facts.3 -man/man3/ansible.ec2_group.3 -man/man3/ansible.ec2_tag.3 -man/man3/ansible.ec2_vol.3 -man/man3/ansible.ec2_vpc.3 -man/man3/ansible.ejabberd_user.3 -man/man3/ansible.elasticache.3 -man/man3/ansible.facter.3 -man/man3/ansible.fail.3 -man/man3/ansible.fetch.3 -man/man3/ansible.file.3 -man/man3/ansible.filesystem.3 -man/man3/ansible.fireball.3 -man/man3/ansible.firewalld.3 -man/man3/ansible.flowdock.3 -man/man3/ansible.gc_storage.3 -man/man3/ansible.gce.3 -man/man3/ansible.gce_lb.3 -man/man3/ansible.gce_net.3 -man/man3/ansible.gce_pd.3 -man/man3/ansible.gem.3 -man/man3/ansible.get_url.3 -man/man3/ansible.git.3 -man/man3/ansible.github_hooks.3 -man/man3/ansible.glance_image.3 -man/man3/ansible.group.3 -man/man3/ansible.group_by.3 -man/man3/ansible.grove.3 -man/man3/ansible.hg.3 -man/man3/ansible.hipchat.3 -man/man3/ansible.homebrew.3 -man/man3/ansible.hostname.3 -man/man3/ansible.htpasswd.3 -man/man3/ansible.include_vars.3 -man/man3/ansible.ini_file.3 -man/man3/ansible.irc.3 -man/man3/ansible.jabber.3 -man/man3/ansible.jboss.3 -man/man3/ansible.kernel_blacklist.3 -man/man3/ansible.keystone_user.3 -man/man3/ansible.lineinfile.3 -man/man3/ansible.linode.3 -man/man3/ansible.lvg.3 -man/man3/ansible.lvol.3 -man/man3/ansible.macports.3 -man/man3/ansible.mail.3 -man/man3/ansible.modprobe.3 -man/man3/ansible.mongodb_user.3 -man/man3/ansible.monit.3 -man/man3/ansible.mount.3 -man/man3/ansible.mqtt.3 -man/man3/ansible.mysql_db.3 -man/man3/ansible.mysql_replication.3 -man/man3/ansible.mysql_user.3 -man/man3/ansible.mysql_variables.3 -man/man3/ansible.nagios.3 -man/man3/ansible.netscaler.3 -man/man3/ansible.newrelic_deployment.3 -man/man3/ansible.nova_compute.3 -man/man3/ansible.nova_keypair.3 -man/man3/ansible.npm.3 -man/man3/ansible.ohai.3 -man/man3/ansible.open_iscsi.3 -man/man3/ansible.openbsd_pkg.3 -man/man3/ansible.openvswitch_bridge.3 -man/man3/ansible.openvswitch_port.3 -man/man3/ansible.opkg.3 -man/man3/ansible.osx_say.3 -man/man3/ansible.ovirt.3 -man/man3/ansible.pacman.3 -man/man3/ansible.pagerduty.3 -man/man3/ansible.pause.3 -man/man3/ansible.ping.3 -man/man3/ansible.pingdom.3 -man/man3/ansible.pip.3 -man/man3/ansible.pkgin.3 -man/man3/ansible.pkgng.3 -man/man3/ansible.pkgutil.3 -man/man3/ansible.portinstall.3 -man/man3/ansible.postgresql_db.3 -man/man3/ansible.postgresql_privs.3 -man/man3/ansible.postgresql_user.3 -man/man3/ansible.quantum_floating_ip.3 -man/man3/ansible.quantum_floating_ip_associate.3 -man/man3/ansible.quantum_network.3 -man/man3/ansible.quantum_router.3 -man/man3/ansible.quantum_router_gateway.3 -man/man3/ansible.quantum_router_interface.3 -man/man3/ansible.quantum_subnet.3 -man/man3/ansible.rabbitmq_parameter.3 -man/man3/ansible.rabbitmq_plugin.3 -man/man3/ansible.rabbitmq_user.3 -man/man3/ansible.rabbitmq_vhost.3 -man/man3/ansible.raw.3 -man/man3/ansible.rax.3 -man/man3/ansible.rax_clb.3 -man/man3/ansible.rax_clb_nodes.3 -man/man3/ansible.rax_facts.3 -man/man3/ansible.rax_network.3 -man/man3/ansible.rds.3 -man/man3/ansible.redhat_subscription.3 -man/man3/ansible.redis.3 -man/man3/ansible.rhn_channel.3 -man/man3/ansible.rhn_register.3 -man/man3/ansible.riak.3 -man/man3/ansible.route53.3 -man/man3/ansible.rpm_key.3 -man/man3/ansible.s3.3 -man/man3/ansible.script.3 -man/man3/ansible.seboolean.3 -man/man3/ansible.selinux.3 -man/man3/ansible.service.3 -man/man3/ansible.set_fact.3 -man/man3/ansible.setup.3 -man/man3/ansible.shell.3 -man/man3/ansible.slurp.3 -man/man3/ansible.stat.3 -man/man3/ansible.subversion.3 -man/man3/ansible.supervisorctl.3 -man/man3/ansible.svr4pkg.3 -man/man3/ansible.swdepot.3 -man/man3/ansible.synchronize.3 -man/man3/ansible.sysctl.3 -man/man3/ansible.template.3 -man/man3/ansible.unarchive.3 -man/man3/ansible.uri.3 -man/man3/ansible.urpmi.3 -man/man3/ansible.user.3 -man/man3/ansible.virt.3 -man/man3/ansible.wait_for.3 -man/man3/ansible.xattr.3 -man/man3/ansible.yum.3 -man/man3/ansible.zfs.3 -man/man3/ansible.zypper.3 -man/man3/ansible.zypper_repository.3 share/ansible/cloud/cloudformation share/ansible/cloud/digital_ocean +share/ansible/cloud/digital_ocean_domain +share/ansible/cloud/digital_ocean_sshkey share/ansible/cloud/docker +share/ansible/cloud/docker_image share/ansible/cloud/ec2 share/ansible/cloud/ec2_ami +share/ansible/cloud/ec2_ami_search +share/ansible/cloud/ec2_asg share/ansible/cloud/ec2_eip share/ansible/cloud/ec2_elb +share/ansible/cloud/ec2_elb_lb share/ansible/cloud/ec2_facts share/ansible/cloud/ec2_group +share/ansible/cloud/ec2_key +share/ansible/cloud/ec2_lc +share/ansible/cloud/ec2_metric_alarm +share/ansible/cloud/ec2_scaling_policy +share/ansible/cloud/ec2_snapshot share/ansible/cloud/ec2_tag share/ansible/cloud/ec2_vol share/ansible/cloud/ec2_vpc @@ -455,14 +356,26 @@ share/ansible/cloud/quantum_router_gateway share/ansible/cloud/quantum_router_interface share/ansible/cloud/quantum_subnet share/ansible/cloud/rax +share/ansible/cloud/rax_cbs +share/ansible/cloud/rax_cbs_attachments share/ansible/cloud/rax_clb share/ansible/cloud/rax_clb_nodes +share/ansible/cloud/rax_dns +share/ansible/cloud/rax_dns_record share/ansible/cloud/rax_facts +share/ansible/cloud/rax_files +share/ansible/cloud/rax_files_objects +share/ansible/cloud/rax_identity +share/ansible/cloud/rax_keypair share/ansible/cloud/rax_network +share/ansible/cloud/rax_queue share/ansible/cloud/rds +share/ansible/cloud/rds_param_group +share/ansible/cloud/rds_subnet_group share/ansible/cloud/route53 share/ansible/cloud/s3 share/ansible/cloud/virt +share/ansible/cloud/vsphere_guest share/ansible/commands/command share/ansible/commands/raw share/ansible/commands/script @@ -484,6 +397,7 @@ share/ansible/files/fetch share/ansible/files/file share/ansible/files/ini_file share/ansible/files/lineinfile +share/ansible/files/replace share/ansible/files/stat share/ansible/files/synchronize share/ansible/files/template @@ -495,26 +409,33 @@ share/ansible/inventory/add_host share/ansible/inventory/group_by share/ansible/messaging/rabbitmq_parameter share/ansible/messaging/rabbitmq_plugin +share/ansible/messaging/rabbitmq_policy share/ansible/messaging/rabbitmq_user share/ansible/messaging/rabbitmq_vhost share/ansible/monitoring/airbrake_deployment share/ansible/monitoring/boundary_meter share/ansible/monitoring/datadog_event +share/ansible/monitoring/librato_annotation +share/ansible/monitoring/logentries share/ansible/monitoring/monit share/ansible/monitoring/nagios share/ansible/monitoring/newrelic_deployment share/ansible/monitoring/pagerduty share/ansible/monitoring/pingdom +share/ansible/monitoring/rollbar_deployment share/ansible/net_infrastructure/arista_interface share/ansible/net_infrastructure/arista_l2interface share/ansible/net_infrastructure/arista_lag share/ansible/net_infrastructure/arista_vlan +share/ansible/net_infrastructure/bigip_facts share/ansible/net_infrastructure/bigip_monitor_http share/ansible/net_infrastructure/bigip_monitor_tcp share/ansible/net_infrastructure/bigip_node share/ansible/net_infrastructure/bigip_pool share/ansible/net_infrastructure/bigip_pool_member +share/ansible/net_infrastructure/dnsimple share/ansible/net_infrastructure/dnsmadeeasy +share/ansible/net_infrastructure/lldp share/ansible/net_infrastructure/netscaler share/ansible/net_infrastructure/openvswitch_bridge share/ansible/net_infrastructure/openvswitch_port @@ -529,13 +450,25 @@ share/ansible/notification/irc share/ansible/notification/jabber share/ansible/notification/mail share/ansible/notification/mqtt +share/ansible/notification/nexmo share/ansible/notification/osx_say +share/ansible/notification/slack +share/ansible/notification/sns +share/ansible/notification/stackdriver +share/ansible/notification/twilio +share/ansible/notification/typetalk share/ansible/packaging/apt share/ansible/packaging/apt_key share/ansible/packaging/apt_repository +share/ansible/packaging/apt_rpm +share/ansible/packaging/composer +share/ansible/packaging/cpanm share/ansible/packaging/easy_install share/ansible/packaging/gem share/ansible/packaging/homebrew +share/ansible/packaging/homebrew_cask +share/ansible/packaging/homebrew_tap +share/ansible/packaging/layman share/ansible/packaging/macports share/ansible/packaging/npm share/ansible/packaging/openbsd_pkg @@ -545,6 +478,7 @@ share/ansible/packaging/pip share/ansible/packaging/pkgin share/ansible/packaging/pkgng share/ansible/packaging/pkgutil +share/ansible/packaging/portage share/ansible/packaging/portinstall share/ansible/packaging/redhat_subscription share/ansible/packaging/rhn_channel @@ -561,14 +495,19 @@ share/ansible/source_control/git share/ansible/source_control/github_hooks share/ansible/source_control/hg share/ansible/source_control/subversion +share/ansible/system/alternatives +share/ansible/system/at share/ansible/system/authorized_key +share/ansible/system/capabilities share/ansible/system/cron +share/ansible/system/debconf share/ansible/system/facter share/ansible/system/filesystem share/ansible/system/firewalld share/ansible/system/group share/ansible/system/hostname share/ansible/system/kernel_blacklist +share/ansible/system/locale_gen share/ansible/system/lvg share/ansible/system/lvol share/ansible/system/modprobe @@ -581,9 +520,11 @@ share/ansible/system/selinux share/ansible/system/service share/ansible/system/setup share/ansible/system/sysctl +share/ansible/system/ufw share/ansible/system/user share/ansible/system/zfs share/ansible/utilities/accelerate +share/ansible/utilities/assert share/ansible/utilities/debug share/ansible/utilities/fail share/ansible/utilities/fireball @@ -591,11 +532,14 @@ share/ansible/utilities/include_vars share/ansible/utilities/pause share/ansible/utilities/set_fact share/ansible/utilities/wait_for +share/ansible/web_infrastructure/apache2_module share/ansible/web_infrastructure/django_manage share/ansible/web_infrastructure/ejabberd_user share/ansible/web_infrastructure/htpasswd share/ansible/web_infrastructure/jboss +share/ansible/web_infrastructure/jira share/ansible/web_infrastructure/supervisorctl share/examples/ansible/ansible.cfg share/examples/ansible/hosts +@pkgdir share/examples/ansible/playbooks @pkgdir etc/ansible diff --git a/sysutils/ansible/distinfo b/sysutils/ansible/distinfo index cd0b6c77f5d..9d83509ccc8 100644 --- a/sysutils/ansible/distinfo +++ b/sysutils/ansible/distinfo @@ -1,13 +1,13 @@ -$NetBSD: distinfo,v 1.5 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: distinfo,v 1.6 2014/06/15 00:15:08 rodent Exp $ -SHA1 (ansible-1.4.1.tar.gz) = 670fda6b9c4869820d80c6e873604ec759dfa03c -RMD160 (ansible-1.4.1.tar.gz) = c1d2248244d6799e8ea79e5bfb3e96579c066594 -Size (ansible-1.4.1.tar.gz) = 571296 bytes -SHA1 (patch-examples_ansible.cfg) = 2a2e3841735df3bddeb6e569e2fdc659ae305053 -SHA1 (patch-lib_ansible_callbacks.py) = bbede537853ab35f31727b72cda41835c7700074 -SHA1 (patch-lib_ansible_constants.py) = eb9379937555b28f8b0f7932d54042432197c59d -SHA1 (patch-library-system-ping) = 74f4df32948d9a52998420a01f38828dd00c31b6 -SHA1 (patch-library_database_riak) = 7efb167fd9a0e2bd9c7ac5fad3b426c1aa6d5272 -SHA1 (patch-library_monitoring_nagios) = a677946b5c83bab4c3fa3c8d078b28d8abdd7030 -SHA1 (patch-library_packaging_pkgin) = 247f583e3be5cd28462cd274d640ac44652fac50 -SHA1 (patch-library_system_setup) = d87259d0585f750b8f7baf43cc4254138bbbcf72 +SHA1 (ansible-1.6.3.tar.gz) = 9cac9de1357460a9692c015735c899519c85d0da +RMD160 (ansible-1.6.3.tar.gz) = 00f30fc21a4064c5ae1c6136443bf63aca99fce7 +Size (ansible-1.6.3.tar.gz) = 650061 bytes +SHA1 (patch-examples_ansible.cfg) = 8951c1da381130e3de5178e858edabdd919868b5 +SHA1 (patch-lib_ansible_callbacks.py) = e712d8215221ff11920039aa8ed4efd4d6e5fae6 +SHA1 (patch-lib_ansible_constants.py) = d31157e1616d4ddc4982b7ede059fcca3118763e +SHA1 (patch-library-system-ping) = 4b2c1fd8f9844f11cfbe0ba975f7bca7eb88079b +SHA1 (patch-library_database_riak) = e78fa264f03353ee25c1b358fd4daa90fe27fd44 +SHA1 (patch-library_monitoring_nagios) = 4c101d9c16d7f29a4557c29a2870cfb6bd3ab537 +SHA1 (patch-library_packaging_pkgin) = f235023fbad90c01f24cc33903b781a193611334 +SHA1 (patch-library_system_setup) = ed003c6bd067e61c696316827992f3510c6f4ed8 diff --git a/sysutils/ansible/patches/patch-examples_ansible.cfg b/sysutils/ansible/patches/patch-examples_ansible.cfg index 2fc1287a141..80cc2203193 100644 --- a/sysutils/ansible/patches/patch-examples_ansible.cfg +++ b/sysutils/ansible/patches/patch-examples_ansible.cfg @@ -1,13 +1,16 @@ -$NetBSD: patch-examples_ansible.cfg,v 1.2 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-examples_ansible.cfg,v 1.3 2014/06/15 00:15:08 rodent Exp $ ---- examples/ansible.cfg.orig 2013-11-19 19:12:32.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- examples/ansible.cfg.orig 2014-06-09 21:23:31.000000000 +0000 +++ examples/ansible.cfg -@@ -4,14 +4,14 @@ +@@ -4,15 +4,15 @@ # nearly all parameters can be overridden in ansible-playbook - # or with command line flags. ansible will read ~/.ansible.cfg, - # ansible.cfg in the current working directory or --# /etc/ansible/ansible.cfg, whichever it finds first -+# @PKG_SYSCONFDIR@/ansible/ansible.cfg, whichever it finds first + # or with command line flags. ansible will read ANSIBLE_CONFIG, + # ansible.cfg in the current working directory, .ansible.cfg in +-# the home directory or /etc/ansible/ansible.cfg, whichever it ++# the home directory or @PKG_SYSCONFDIR@/ansible/ansible.cfg, whichever it + # finds first [defaults] @@ -20,10 +23,10 @@ $NetBSD: patch-examples_ansible.cfg,v 1.2 2013/12/02 22:54:46 hubertf Exp $ remote_tmp = $HOME/.ansible/tmp pattern = * forks = 5 -@@ -87,12 +87,12 @@ ansible_managed = Ansible managed: {file - #error_on_undefined_vars = False +@@ -103,12 +103,12 @@ ansible_managed = Ansible managed: {file + #deprecation_warnings = True - # set plugin path directories here, seperate with colons + # set plugin path directories here, separate with colons -action_plugins = /usr/share/ansible_plugins/action_plugins -callback_plugins = /usr/share/ansible_plugins/callback_plugins -connection_plugins = /usr/share/ansible_plugins/connection_plugins diff --git a/sysutils/ansible/patches/patch-lib_ansible_callbacks.py b/sysutils/ansible/patches/patch-lib_ansible_callbacks.py index 221de065b1f..013541586f2 100644 --- a/sysutils/ansible/patches/patch-lib_ansible_callbacks.py +++ b/sysutils/ansible/patches/patch-lib_ansible_callbacks.py @@ -1,16 +1,18 @@ -$NetBSD: patch-lib_ansible_callbacks.py,v 1.3 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-lib_ansible_callbacks.py,v 1.4 2014/06/15 00:15:08 rodent Exp $ ---- lib/ansible/callbacks.py.orig 2013-11-19 19:12:32.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- lib/ansible/callbacks.py.orig 2014-06-09 21:23:31.000000000 +0000 +++ lib/ansible/callbacks.py @@ -55,9 +55,9 @@ def get_cowsay_info(): cowsay = "/usr/bin/cowsay" elif os.path.exists("/usr/games/cowsay"): cowsay = "/usr/games/cowsay" - elif os.path.exists("/usr/local/bin/cowsay"): -+ elif os.path.exists("@LOCALBASE@/bin/cowsay"): ++ elif os.path.exists("@PREFIX@/bin/cowsay"): # BSD path for cowsay - cowsay = "/usr/local/bin/cowsay" -+ cowsay = "@LOCALBASE@/bin/cowsay" ++ cowsay = "@PREFIX@/bin/cowsay" elif os.path.exists("/opt/local/bin/cowsay"): # MacPorts path for cowsay cowsay = "/opt/local/bin/cowsay" diff --git a/sysutils/ansible/patches/patch-lib_ansible_constants.py b/sysutils/ansible/patches/patch-lib_ansible_constants.py index 546544cf2be..d6608594f80 100644 --- a/sysutils/ansible/patches/patch-lib_ansible_constants.py +++ b/sysutils/ansible/patches/patch-lib_ansible_constants.py @@ -1,17 +1,19 @@ -$NetBSD: patch-lib_ansible_constants.py,v 1.4 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-lib_ansible_constants.py,v 1.5 2014/06/15 00:15:08 rodent Exp $ ---- lib/ansible/constants.py.orig 2013-11-19 19:12:32.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- lib/ansible/constants.py.orig 2014-06-09 21:23:31.000000000 +0000 +++ lib/ansible/constants.py -@@ -59,7 +59,7 @@ def load_config_file(): - p = ConfigParser.ConfigParser() +@@ -65,7 +65,7 @@ def load_config_file(): + path0 = os.path.expanduser(path0) path1 = os.getcwd() + "/ansible.cfg" - path2 = os.path.expanduser(os.environ.get('ANSIBLE_CONFIG', "~/.ansible.cfg")) + path2 = os.path.expanduser("~/.ansible.cfg") - path3 = "/etc/ansible/ansible.cfg" + path3 = "@PKG_SYSCONFDIR@/ansible/ansible.cfg" - if os.path.exists(path1): - p.read(path1) -@@ -88,7 +88,7 @@ if getattr(sys, "real_prefix", None): + for path in [path0, path1, path2, path3]: + if path is not None and os.path.exists(path): +@@ -90,7 +90,7 @@ if getattr(sys, "real_prefix", None): # in a virtualenv DIST_MODULE_PATH = os.path.join(sys.prefix, 'share/ansible/') else: @@ -19,19 +21,19 @@ $NetBSD: patch-lib_ansible_constants.py,v 1.4 2013/12/02 22:54:46 hubertf Exp $ + DIST_MODULE_PATH = '@PREFIX@/share/ansible/' # check all of these extensions when looking for yaml files for things like - # group variables -@@ -98,7 +98,7 @@ YAML_FILENAME_EXTENSIONS = [ "", ".yml", + # group variables -- really anything we can load +@@ -100,7 +100,7 @@ YAML_FILENAME_EXTENSIONS = [ "", ".yml", DEFAULTS='defaults' # configurable things -DEFAULT_HOST_LIST = shell_expand_path(get_config(p, DEFAULTS, 'hostfile', 'ANSIBLE_HOSTS', '/etc/ansible/hosts')) +DEFAULT_HOST_LIST = shell_expand_path(get_config(p, DEFAULTS, 'hostfile', 'ANSIBLE_HOSTS', '@PKG_SYSCONFDIR@/ansible/hosts')) DEFAULT_MODULE_PATH = get_config(p, DEFAULTS, 'library', 'ANSIBLE_LIBRARY', DIST_MODULE_PATH) - DEFAULT_ROLES_PATH = get_config(p, DEFAULTS, 'roles_path', 'ANSIBLE_ROLES_PATH', None) + DEFAULT_ROLES_PATH = get_config(p, DEFAULTS, 'roles_path', 'ANSIBLE_ROLES_PATH', '/etc/ansible/roles') DEFAULT_REMOTE_TMP = shell_expand_path(get_config(p, DEFAULTS, 'remote_tmp', 'ANSIBLE_REMOTE_TEMP', '$HOME/.ansible/tmp')) -@@ -128,12 +128,12 @@ DEFAULT_LEGACY_PLAYBOOK_VARIABLES = get_ - DEFAULT_JINJA2_EXTENSIONS = get_config(p, DEFAULTS, 'jinja2_extensions', 'ANSIBLE_JINJA2_EXTENSIONS', None) - DEFAULT_EXECUTABLE = get_config(p, DEFAULTS, 'executable', 'ANSIBLE_EXECUTABLE', '/bin/sh') +@@ -136,12 +136,12 @@ DEFAULT_SU_USER = get_config(p, DEFAULTS + DEFAULT_ASK_SU_PASS = get_config(p, DEFAULTS, 'ask_su_pass', 'ANSIBLE_ASK_SU_PASS', False, boolean=True) + DEFAULT_GATHERING = get_config(p, DEFAULTS, 'gathering', 'ANSIBLE_GATHERING', 'implicit').lower() -DEFAULT_ACTION_PLUGIN_PATH = get_config(p, DEFAULTS, 'action_plugins', 'ANSIBLE_ACTION_PLUGINS', '/usr/share/ansible_plugins/action_plugins') -DEFAULT_CALLBACK_PLUGIN_PATH = get_config(p, DEFAULTS, 'callback_plugins', 'ANSIBLE_CALLBACK_PLUGINS', '/usr/share/ansible_plugins/callback_plugins') @@ -47,4 +49,4 @@ $NetBSD: patch-lib_ansible_constants.py,v 1.4 2013/12/02 22:54:46 hubertf Exp $ +DEFAULT_FILTER_PLUGIN_PATH = get_config(p, DEFAULTS, 'filter_plugins', 'ANSIBLE_FILTER_PLUGINS', '@PREFIX@/share/ansible_plugins/filter_plugins') DEFAULT_LOG_PATH = shell_expand_path(get_config(p, DEFAULTS, 'log_path', 'ANSIBLE_LOG_PATH', '')) - ANSIBLE_NOCOLOR = get_config(p, DEFAULTS, 'nocolor', 'ANSIBLE_NOCOLOR', None, boolean=True) + ANSIBLE_FORCE_COLOR = get_config(p, DEFAULTS, 'force_color', 'ANSIBLE_FORCE_COLOR', None, boolean=True) diff --git a/sysutils/ansible/patches/patch-library-system-ping b/sysutils/ansible/patches/patch-library-system-ping index 709a10d7d9e..eadcd7a5174 100644 --- a/sysutils/ansible/patches/patch-library-system-ping +++ b/sysutils/ansible/patches/patch-library-system-ping @@ -1,6 +1,8 @@ -$NetBSD: patch-library-system-ping,v 1.1 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-library-system-ping,v 1.2 2014/06/15 00:15:08 rodent Exp $ ---- library/system/ping.orig 2013-11-19 19:12:32.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- library/system/ping.orig 2014-06-09 21:23:31.000000000 +0000 +++ library/system/ping @@ -27,7 +27,7 @@ short_description: Try to connect to hos description: diff --git a/sysutils/ansible/patches/patch-library_database_riak b/sysutils/ansible/patches/patch-library_database_riak index bc03fa3f0c2..8b1ac7ace31 100644 --- a/sysutils/ansible/patches/patch-library_database_riak +++ b/sysutils/ansible/patches/patch-library_database_riak @@ -1,8 +1,10 @@ -$NetBSD: patch-library_database_riak,v 1.1 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-library_database_riak,v 1.2 2014/06/15 00:15:08 rodent Exp $ ---- library/database/riak.orig 2013-09-13 20:37:23.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- library/database/riak.orig 2014-06-09 21:23:31.000000000 +0000 +++ library/database/riak -@@ -110,7 +110,7 @@ def main(): +@@ -118,7 +118,7 @@ def main(): argument_spec=dict( command=dict(required=False, default=None, choices=[ 'ping', 'kv_test', 'join', 'plan', 'commit']), diff --git a/sysutils/ansible/patches/patch-library_monitoring_nagios b/sysutils/ansible/patches/patch-library_monitoring_nagios index 9769b563755..b1da9279af0 100644 --- a/sysutils/ansible/patches/patch-library_monitoring_nagios +++ b/sysutils/ansible/patches/patch-library_monitoring_nagios @@ -1,6 +1,8 @@ -$NetBSD: patch-library_monitoring_nagios,v 1.1 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-library_monitoring_nagios,v 1.2 2014/06/15 00:15:08 rodent Exp $ ---- library/monitoring/nagios.orig 2013-08-22 02:50:24.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- library/monitoring/nagios.orig 2014-06-09 21:23:31.000000000 +0000 +++ library/monitoring/nagios @@ -125,6 +125,8 @@ import os.path diff --git a/sysutils/ansible/patches/patch-library_packaging_pkgin b/sysutils/ansible/patches/patch-library_packaging_pkgin index b5f5d36a5ff..907b3a15086 100644 --- a/sysutils/ansible/patches/patch-library_packaging_pkgin +++ b/sysutils/ansible/patches/patch-library_packaging_pkgin @@ -1,13 +1,15 @@ -$NetBSD: patch-library_packaging_pkgin,v 1.1 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-library_packaging_pkgin,v 1.2 2014/06/15 00:15:08 rodent Exp $ ---- library//packaging/pkgin.orig 2013-08-22 02:50:24.000000000 +0000 -+++ library//packaging/pkgin +Fix hardcoded paths to be replaced with SUBST framework. + +--- library/packaging/pkgin.orig 2014-06-09 21:23:31.000000000 +0000 ++++ library/packaging/pkgin @@ -150,7 +150,7 @@ def main(): state = dict(default="present", choices=["present","absent"]), name = dict(aliases=["pkg"], required=True))) - pkgin_path = module.get_bin_path('pkgin', True, ['/opt/local/bin']) -+ pkgin_path = module.get_bin_path('pkgin', True, ['@LOCALBASE@/bin']) ++ pkgin_path = module.get_bin_path('pkgin', True, ['@PREFIX@/bin']) p = module.params diff --git a/sysutils/ansible/patches/patch-library_system_setup b/sysutils/ansible/patches/patch-library_system_setup index b3ced979fe8..66e821f0c8d 100644 --- a/sysutils/ansible/patches/patch-library_system_setup +++ b/sysutils/ansible/patches/patch-library_system_setup @@ -1,22 +1,15 @@ -$NetBSD: patch-library_system_setup,v 1.1 2013/12/02 22:54:46 hubertf Exp $ +$NetBSD: patch-library_system_setup,v 1.2 2014/06/15 00:15:08 rodent Exp $ ---- library/system/setup.orig 2013-11-19 19:12:32.000000000 +0000 +Fix hardcoded paths to be replaced with SUBST framework. + +--- library/system/setup.orig 2014-06-09 21:23:31.000000000 +0000 +++ library/system/setup -@@ -58,7 +58,7 @@ options: +@@ -42,7 +42,7 @@ options: description: - This module is automatically called by playbooks to gather useful variables about remote hosts that can be used in playbooks. It can also be - executed directly by C(/usr/bin/ansible) to check what variables are -+ executed directly by C(@LOCALBASE@/bin/ansible) to check what variables are ++ executed directly by C(@PREFIX@/bin/ansible) to check what variables are available to a host. Ansible provides many I(facts) about the system, automatically. notes: -@@ -129,7 +129,7 @@ class Facts(object): - { 'path' : '/usr/sbin/urpmi', 'name' : 'urpmi' }, - { 'path' : '/usr/bin/pacman', 'name' : 'pacman' }, - { 'path' : '/bin/opkg', 'name' : 'opkg' }, -- { 'path' : '/opt/local/bin/pkgin', 'name' : 'pkgin' }, -+ { 'path' : '@LOCALBASE@/bin/pkgin', 'name' : 'pkgin' }, - { 'path' : '/opt/local/bin/port', 'name' : 'macports' }, - { 'path' : '/sbin/apk', 'name' : 'apk' }, - { 'path' : '/usr/sbin/pkg', 'name' : 'pkgng' }, |