{"id":19034247,"url":"https://github.com/wenzel/salt-oneshot","last_synced_at":"2026-05-04T21:30:20.390Z","repository":{"id":35570488,"uuid":"39842563","full_name":"Wenzel/salt-oneshot","owner":"Wenzel","description":"A quick wrapper around SaltStack to quickly test and deploy a system configuration without having to set-up a Salt Master server.","archived":false,"fork":false,"pushed_at":"2016-04-26T23:17:31.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T05:13:11.346Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wenzel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-07-28T15:35:09.000Z","updated_at":"2023-09-08T17:00:02.000Z","dependencies_parsed_at":"2022-09-17T23:01:03.360Z","dependency_job_id":null,"html_url":"https://github.com/Wenzel/salt-oneshot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenzel%2Fsalt-oneshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenzel%2Fsalt-oneshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenzel%2Fsalt-oneshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wenzel%2Fsalt-oneshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wenzel","download_url":"https://codeload.github.com/Wenzel/salt-oneshot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240088493,"owners_count":19746098,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T21:44:00.357Z","updated_at":"2026-05-04T21:30:18.228Z","avatar_url":"https://github.com/Wenzel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"salt-oneshot\n============\n\nThis little project is just a bootstrap to easily try and deploy \na `SaltStack` configuration, without requiring to set up a salt master server.\n\nRequirements\n------------\n\n- `Python \u003e= 2.7`\n- `virtualenv`\n\nSetup\n-----\n\n    git clone https://github.com/Wenzel/salt-oneshot\n    cd salt-oneshot\n    virtualenv venv\n    source venv/bin/activate\n    pip install docopt\n    ./run.py --setup\n\nConfigure\n---------\n\n### Add your modules\n\n- add your modules in the `salt` directory\n- configure your pillars in the `pillar` directory\n\n### Add a salt-formula\n\n`salt-formulas` are ready to use salt modules maintained by the SaltStack community.\n\nSince GitPython should have been installed in the virtualenv, you can make \nuse of `gitfs_remotes` to add some formulas in the `config/master`\nconfiguration file, and let salt automatically download them :\n\n    gitfs_remotes:\n      - https://github.com/saltstack-formulas/openssh-formula\n\nApply\n-----\n\nTo apply the configuration on your machine, just run :\n\n    ./run.py localhost state.highstate\n\nTo apply it on a server :\n\n    ./run.py example.com --user=foobar state.highstate\n\n\nUsage\n-----\n\n    \"\"\"\n    Usage:\n        run.py [options] -s\n        run.py [options] \u003chost\u003e [\u003cargn\u003e...]\n\n    Options:\n        -s --setup                              Init salt submodule and install it into the current virtualenv\n        -u=USER --user=USER                     Connect to the host as USER (Only on remote host) [Default: root]\n        --pillar=PATH                           Set PATH as pillar root (Only on localhost)\n        --salt=PATH                             Set PATH as salt modules root (Only on localhost)\n        --config=PATH                           Set PATH as config directory\n        -v=LEVEL --verbosity=LEVEL              Log verbosity (all | garbage | trace | debug | info | warning | error | critical | quiet) [Default: info]\n        -h --help                               Show this screen.\n    \"\"\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenzel%2Fsalt-oneshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwenzel%2Fsalt-oneshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwenzel%2Fsalt-oneshot/lists"}