{ "info": { "author": "Maximilien Cuony", "author_email": "maximilien.cuony@arcanite.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: System Administrators", "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)", "Operating System :: Other OS", "Programming Language :: Python", "Topic :: System :: Networking" ], "description": "# salt-cumulus\n\nSalt-cumulus is a small salt state, providing a easy way to configure the configuration of a cumulus switch.\n\nIt provides a simple interface to apply `net` commands from a template.\n\nIt does not provide anything else for the moment. Most of others changes can be done via usual salt states.\n\nThis is a **beta version**. Use it at your own risk!\n\n## Installation\n\nSimply run the following command on your switch:\n\n`pip install salt-cumulus`\n\n## Usage\n\nYou can use in your sls files the following state:\n\n```\ntest_config:\n cumulus.managed:\n - source: salt://config\n```\n\nAssuming the config file look like:\n\n```\nnet add time ntp server ch.pool.ntp.org\n```\n\nThe state will parse the lines in your templated file and run each command starting with `net add` or `net del`. Others elements are ignored, so you may add comments or other data as you like, but we suggest you starts comments with `# `.\n\n**Warning**\n\nRunning this state will abort any pending configuration first: you should avoid using the `net` command at the same time!\n\n## Parameters\n\n### source\n\nSource file. Behave as the `source` argument of `file.managed`.\n\n### hash\n\nHash of the file. Behave as the `hash` argument of `file.managed`.\n\n### hash_name\n\nType of hash. Behave as the `hash_name` argument of `file.managed`.\n\n### skip_verify\n\nSkip hash verification. Behave as the `skip_verify` argument of `file.managed`.\n\n### engine\n\nTemplate format. Default to `jinja`. Behave as the `template` argument of `file.managed`.\n\n### context\n\nData pased to the template. Behave as the as the `context` argument of `file.managed`.\n\n### defaults\n\nDefault values for the context. Behave as the `defaults` argument of `file.managed`.\n\n### commit\n\nCommit changes when the state is applied. Default to `True`, setting it to `False` will revert changes (but will try to run them).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ArcaniteSolutions/salt-cumulus", "keywords": "", "license": "MPL", "maintainer": "", "maintainer_email": "", "name": "salt-cumulus", "package_url": "https://pypi.org/project/salt-cumulus/", "platform": "", "project_url": "https://pypi.org/project/salt-cumulus/", "project_urls": { "Homepage": "https://github.com/ArcaniteSolutions/salt-cumulus" }, "release_url": "https://pypi.org/project/salt-cumulus/0.0.1/", "requires_dist": [ "sh" ], "requires_python": "", "summary": "Small salt module providing cumulus.managed, to apply basic config on cumulus switches", "version": "0.0.1" }, "last_serial": 5252049, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5e651c9e513691d7e1b31dd6b9ff71f0", "sha256": "a157abfef1847d5b4bd589e332fe97e36bf037d14babe497316b201d8c62755f" }, "downloads": -1, "filename": "salt_cumulus-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5e651c9e513691d7e1b31dd6b9ff71f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9646, "upload_time": "2019-05-10T09:40:26", "url": "https://files.pythonhosted.org/packages/e9/3b/7f5025d2d0ece39584be99f81774303cc25eb851c2941e11e2c8db02bae1/salt_cumulus-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80ed0e0841325e0b71ad4741f00d3f8a", "sha256": "a932b744269b5c2f7445a421194dd7d856d3e9c55a19da6d4c94f3491862148c" }, "downloads": -1, "filename": "salt-cumulus-0.0.1.tar.gz", "has_sig": false, "md5_digest": "80ed0e0841325e0b71ad4741f00d3f8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3013, "upload_time": "2019-05-10T09:40:27", "url": "https://files.pythonhosted.org/packages/6f/d3/822ee1e7bfbb5be9942eb2bc0f1d4d5e5efe6e1adf58e2afa07dbd223dc4/salt-cumulus-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5e651c9e513691d7e1b31dd6b9ff71f0", "sha256": "a157abfef1847d5b4bd589e332fe97e36bf037d14babe497316b201d8c62755f" }, "downloads": -1, "filename": "salt_cumulus-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5e651c9e513691d7e1b31dd6b9ff71f0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9646, "upload_time": "2019-05-10T09:40:26", "url": "https://files.pythonhosted.org/packages/e9/3b/7f5025d2d0ece39584be99f81774303cc25eb851c2941e11e2c8db02bae1/salt_cumulus-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80ed0e0841325e0b71ad4741f00d3f8a", "sha256": "a932b744269b5c2f7445a421194dd7d856d3e9c55a19da6d4c94f3491862148c" }, "downloads": -1, "filename": "salt-cumulus-0.0.1.tar.gz", "has_sig": false, "md5_digest": "80ed0e0841325e0b71ad4741f00d3f8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3013, "upload_time": "2019-05-10T09:40:27", "url": "https://files.pythonhosted.org/packages/6f/d3/822ee1e7bfbb5be9942eb2bc0f1d4d5e5efe6e1adf58e2afa07dbd223dc4/salt-cumulus-0.0.1.tar.gz" } ] }