{"id":21493376,"url":"https://github.com/microdevops-com/salt-project-template","last_synced_at":"2025-07-15T19:30:49.122Z","repository":{"id":37397368,"uuid":"203856114","full_name":"microdevops-com/salt-project-template","owner":"microdevops-com","description":"Salt Project Template","archived":false,"fork":false,"pushed_at":"2024-11-13T05:27:53.000Z","size":100055,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-13T06:21:44.942Z","etag":null,"topics":["saltstack"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/microdevops-com.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-08-22T19:02:58.000Z","updated_at":"2024-11-13T05:27:56.000Z","dependencies_parsed_at":"2023-02-18T08:45:36.807Z","dependency_job_id":"f967de02-beff-4988-8fe3-7babe5dd2d07","html_url":"https://github.com/microdevops-com/salt-project-template","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/microdevops-com%2Fsalt-project-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microdevops-com%2Fsalt-project-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microdevops-com%2Fsalt-project-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microdevops-com%2Fsalt-project-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microdevops-com","download_url":"https://codeload.github.com/microdevops-com/salt-project-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226064562,"owners_count":17568033,"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":["saltstack"],"created_at":"2024-11-23T15:42:17.460Z","updated_at":"2024-11-23T15:42:19.341Z","avatar_url":"https://github.com/microdevops-com.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\nProject Template for Salt Masters /srv.\n\n# Prepare the repository\nCreate empty Git repo:\n```\nmkdir example-salt\ncd example-salt\ngit init \n```\n\nAdd this repo as Git Submodule to a project:\n```\ngit submodule add --name .salt-project-template -b master -- https://github.com/microdevops-com/salt-project-template .salt-project-template\n```\n\nCopy example `template_install.sh` from template to the repo:\n```\ncp .salt-project-template/template_install.sh.example template_install.sh\n```\n\nEdit `template_install.sh` depending on your needs.\n\nRun template install:\n```\n./template_install.sh\n```\n\nFill the repo with some additional data:\n- `README.md`\n- `pillar/top_sls` files (see pillar/top_sls/srv1.example.com.example)\n- `pillar/bootstrap` files (see pillar/bootstrap/.../srv1_example_com.example)\n- `pillar/users/example/admins.sls`\n- `pillar/ip/example/example.sls` (see pillar/ip/example/example.sls.example)\n- `pillar/ufw_simple/vars.jinja` (see pillar/ufw_simple/vars.jinja.example) or `pillar/ufw/vars.jinja` (see pillar/ufw/vars.jinja.example)\n- `pillar/hosts/example.sls` (see https://github.com/microdevops-com/microdevops-formula/blob/master/hosts/pillar.example - static hosts file, recommended to distribute heartbeat_receivers, alerta hosts here)\n\nFor Salt-SSH:\n- `etc/salt/roster` (see roster.example in `.salt-project-template`)\n\n# Use the repository\nEither push to GitLab and pipeline should deploy depo code to Salt Masters or build the docker image\nThen use [Gitlab Pipelines](https://github.com/microdevops-com/gitlab-server-job) to run salt/salt-ssh.\n\nOr build and run locally for Salt-SSH with SSH Agent:\n```\ndocker build --pull -t example-salt:latest .\ndocker run -it --rm -v $SSH_AUTH_SOCK:/root/.ssh-agent -e SSH_AUTH_SOCK=/root/.ssh-agent example-salt:latest\nsalt-ssh srv1.example.com test.ping\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrodevops-com%2Fsalt-project-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrodevops-com%2Fsalt-project-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrodevops-com%2Fsalt-project-template/lists"}