{"id":20570044,"url":"https://github.com/digibib/saltdeploy","last_synced_at":"2025-05-09T19:30:38.397Z","repository":{"id":11345121,"uuid":"13774196","full_name":"digibib/saltdeploy","owner":"digibib","description":"deploy states for SaltStacks","archived":false,"fork":false,"pushed_at":"2014-08-13T22:37:09.000Z","size":3084,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-04-14T18:14:10.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/digibib.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":"2013-10-22T13:32:50.000Z","updated_at":"2014-12-10T02:11:10.000Z","dependencies_parsed_at":"2022-09-01T10:51:08.616Z","dependency_job_id":null,"html_url":"https://github.com/digibib/saltdeploy","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/digibib%2Fsaltdeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fsaltdeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fsaltdeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digibib%2Fsaltdeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digibib","download_url":"https://codeload.github.com/digibib/saltdeploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224876862,"owners_count":17384703,"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-16T05:11:10.855Z","updated_at":"2024-11-16T05:11:11.526Z","avatar_url":"https://github.com/digibib.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"saltdeploy\n==========\n\ndeploy states for SaltStacks\n\nfor more info on SaltStack: [http://saltstack.com/community.html](http://saltstack.com/community.html)\nSalt is a master-minion system to setup servers and workstations to specified states, defined in yaml files.\n\nIncredibly handy for setting up once for testing, development and production.\n\n## Install (ubuntu)\n\n    sudo add-apt-repository ppa:saltstack/salt\n\n(if using Saucy 13.10):\n\n    sudo add-apt-repository ppa:saltstack/salt-daily\n\nvagrant\n=======\n\nVagrant is a virtual deploy and setup tool that can use Salt as provisioner to setup a machine in Virtualbox.\nAll you need is a Vagrantfile and the salt config files. You don't need to install salt to use, it will be installed on virtual image.\n\n## Install\n\n* download from [http://downloads.vagrantup.com/](http://downloads.vagrantup.com/) and install.\n\nTypical structure:\n\n```\n── koha                             ( root dir, often shared dir in Vagrant and including Vagrantfile )\n   ├── pillar\n   │   ├── koha\n   │   │   └── init.sls\n   │   └── top.sls\n   ├── salt\n   │   ├── koha\n   │   │   ├── files                ( files exposed to salt, accessible by salt://koha/files)\n   │   │   │   ├── sample_template.tmpl\n   │   │   │   ├── any_file_really.sh\n   │   │   │   ├── ...\n   │   │   ├── init.sls\n   │   │   ├── examplestate.sls     ( example state - can be loaded on start or manually )\n   │   │   ├── ...\n   │   ├── minion                   ( minion settings, can include variables, etc. )\n   │   └── top.sls                  ( top state file - loads when booting image)\n   └── Vagrantfile                  ( Vagrant setup file, virtualbox image, provisioner, forwarded ports, etc.)\n```\n\nVagrantfile\n===========\n\nThe core config file for Vagrant. Any commands to Vagrant must be run from dir with Vagrantfile.\n\nNB! For running 64bit virtual images, the processor needs to support virtualization:\n\ncheck with:\n\n    grep --color vmx /proc/cpuinfo\n\nif there is output with `vmx` it's Yay!\n\nUsually, the commands are:\n\n    vagrant up        ( builds virtualbox from net image or uses previous one located in .vagrant, \n                        boots virtualbox and runs state.highstate (=top.sls) if given in Vagrantfile)\n\n    vagrant halt/reload  (stops/reboots virtualbox)\n\n    vagrant destroy      ( deletes virtualbox entirely )\n\n    vagrant provision    ( forces running state.highstate )\n\n    vagrant ssh          ( log into virtualbox and do whatever as sudo! )\n\nTo run individual states, run e.g.:\n\n    echo \"sudo salt-call state.sls examplestate\" | vagrant ssh\n\nOr do it from within the Virtualbox","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigibib%2Fsaltdeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigibib%2Fsaltdeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigibib%2Fsaltdeploy/lists"}