{ "info": { "author": "Max Fischer", "author_email": "maxfischer2781@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: System :: Monitoring" ], "description": "##################\ncondor-config-hook\n##################\n\nHook to dynamically configure an HTCondor node from a ``git`` repository.\n\nHook Overview\n#############\n\nThe hook is integrated into a Condor config file to perform the following workflow:\n\n* Fetch a *git repository* to a *local cache*\n* Use patterns to *select configuration files*\n* Dynamically *include configuration* in condor\n\nTo integrate the hook, use the ``include command`` syntax in any HTCondor config file:\n\n.. code:: python\n\n include command : condor-git-config https://git.mydomain.com/condor-repos/condor-configs.git\n\nUsage Notes\n###########\n\nThe hook requires at least Python 3.3 to run.\n\nInstallation\n------------\n\nInstallation provides the ``condor-git-config`` executable.\nAll other dependencies are installed automatically.\n\nStable release version\n\n.. code:: bash\n\n pip3 install condor_git_config\n\nCurrent development version\n\n.. code:: bash\n\n git clone https://github.com/maxfischer2781/condor-git-config.git\n ./condor-git-config/setup.py install\n\nArgument Files\n--------------\n\nThe ``condor-git-config`` executable can use the ``@`` [prefix character](https://docs.python.org/3/library/argparse.html#fromfile-prefix-chars)\nto read arguments from files.\nThis allows you to prepare options externally\n\n.. code::\n\n echo $(hostname -d) >> /etc/mycloud/domain\n\nand have them used dynamically to adjust configuration\n\n.. code::\n\n include command : condor-git-config --branch @/etc/mycloud/domain -- https://git.mydomain.com/condor-repos/condor-configs.git\n\nConfiguration Recursion\n-----------------------\n\nBy default, ``condor-git-config`` will not recurse into sub-directories.\nThis allows you to have additional configuration, which is conditionally integrated.\nFor example, consider the following git repository tree:\n\n.. code::\n\n |- commong.cfg\n |- security.cfg\n |- aaaron-cloud.cfg\n |- aaaron-cloud/\n | |- overwrites.cfg\n | |- proxy.cfg\n |- beebee-cloud.cfg\n\nThe ``aaaron-cloud`` folder will be ignored by default.\nYou can conditionally include the ``*-cloud.cfg`` files like this:\n\n.. code::\n\n --blacklist '.-cloud\\.cfg' --whitelist @/etc/mycloud/flavour\n\nThis allows you to further include the files in ``aaaron-cloud`` by using ``include`` in ``aaaron-cloud.cfg``:\n\n.. code::\n\n # aaaron-cloud.cfg\n include : $(GIT_CONFIG_CACHE_PATH)/overwrites.cfg\n include : $(GIT_CONFIG_CACHE_PATH)/proxy.cfg", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/maxfischer2781/condor-git-config", "keywords": "htcondor condor configuration", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "condor_git_config", "package_url": "https://pypi.org/project/condor_git_config/", "platform": "", "project_url": "https://pypi.org/project/condor_git_config/", "project_urls": { "Homepage": "https://github.com/maxfischer2781/condor-git-config" }, "release_url": "https://pypi.org/project/condor_git_config/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "dynamically configure an HTCondor node from a git repository", "version": "0.1.0" }, "last_serial": 3173605, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "e9e82e6ec36c14443d4651db46f0122a", "sha256": "b6a8106a93aa3002daf4a7d2720c7aa3668c8e14469e7324869efb948e39e63a" }, "downloads": -1, "filename": "condor_git_config-0.0.1.tar.gz", "has_sig": false, "md5_digest": "e9e82e6ec36c14443d4651db46f0122a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4777, "upload_time": "2017-09-12T22:24:19", "url": "https://files.pythonhosted.org/packages/10/92/6f671c7a4fe6aa13d391fa58e599a2fc46b41d2ed8ea0b24052b6144c7c8/condor_git_config-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "72d04a10156bc118cbf290d055b348c4", "sha256": "8d700cc344306c5ba39ce1080772d7ae609fdc7cc841045a3a136d33877861a9" }, "downloads": -1, "filename": "condor_git_config-0.0.2.tar.gz", "has_sig": false, "md5_digest": "72d04a10156bc118cbf290d055b348c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4826, "upload_time": "2017-09-13T15:10:30", "url": "https://files.pythonhosted.org/packages/b3/e4/6ca9214ffd0afa2319a93d3d8833b0b9a1656ce51abe21efa5ddd9154448/condor_git_config-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "dbc8c53213672409677f5663cc5eae3f", "sha256": "c197da291142fbd4b848a7b64f213b973bf5ace8da25742adf0eb86fcad5927d" }, "downloads": -1, "filename": "condor_git_config-0.0.3.tar.gz", "has_sig": false, "md5_digest": "dbc8c53213672409677f5663cc5eae3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4839, "upload_time": "2017-09-14T11:44:24", "url": "https://files.pythonhosted.org/packages/2f/0b/e2a2928fafb9e01a8f20fe3d1909171e81ea9e6ddc54d5bcb7ded86a9048/condor_git_config-0.0.3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "e2235733ae4b075594d7900b0e016abb", "sha256": "0f4e4f0663b5aaf41f72c1ab93e9969150139d16e426c3b2b40819242e712a05" }, "downloads": -1, "filename": "condor_git_config-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e2235733ae4b075594d7900b0e016abb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4862, "upload_time": "2017-09-14T12:16:39", "url": "https://files.pythonhosted.org/packages/23/03/c1410da6cd82432ce4f2d37b6a1aa2f662e10d7dc48e18f2e788d8b046ca/condor_git_config-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2235733ae4b075594d7900b0e016abb", "sha256": "0f4e4f0663b5aaf41f72c1ab93e9969150139d16e426c3b2b40819242e712a05" }, "downloads": -1, "filename": "condor_git_config-0.1.0.tar.gz", "has_sig": false, "md5_digest": "e2235733ae4b075594d7900b0e016abb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4862, "upload_time": "2017-09-14T12:16:39", "url": "https://files.pythonhosted.org/packages/23/03/c1410da6cd82432ce4f2d37b6a1aa2f662e10d7dc48e18f2e788d8b046ca/condor_git_config-0.1.0.tar.gz" } ] }