{"id":26709454,"url":"https://github.com/holms/vagrant-starter","last_synced_at":"2026-02-07T00:36:03.582Z","repository":{"id":14415144,"uuid":"17126064","full_name":"holms/vagrant-starter","owner":"holms","description":"Helps to manage vagrant vm's","archived":false,"fork":false,"pushed_at":"2015-05-25T23:14:40.000Z","size":408,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-25T01:38:55.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/holms.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":"2014-02-24T05:14:42.000Z","updated_at":"2015-05-04T21:12:56.000Z","dependencies_parsed_at":"2022-08-27T09:40:24.925Z","dependency_job_id":null,"html_url":"https://github.com/holms/vagrant-starter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/holms/vagrant-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holms%2Fvagrant-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holms%2Fvagrant-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holms%2Fvagrant-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holms%2Fvagrant-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holms","download_url":"https://codeload.github.com/holms/vagrant-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holms%2Fvagrant-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29182073,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T23:15:33.022Z","status":"ssl_error","status_checked_at":"2026-02-06T23:15:09.128Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-03-27T08:17:06.757Z","updated_at":"2026-02-07T00:36:03.554Z","avatar_url":"https://github.com/holms.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vagrant-starter\n\nAutomatization of Vagrant and Chef-solo environment.\n\n## Description\n\nThis small kit gives you a nice ability to setup vagrant and chef-solo within one command!\nAll you need to edit is located at `./repo` directory.\n\nCurrently only OSX supported on host, and only centos65 guest in Vagrant. Will fix soon\n\n## Requirements\n\n* Install Virtualbox\n* Install Vagrant\n\n## Installation\n\n### For Ubuntu\n\nDon't install vagrant from apt-get, download deb package from here https://www.vagrantup.com/downloads.html \u003cbr /\u003e\nWe need Vagrant 1.4.x, in ubuntu and even rubygems only 1.0 available\n\n```\ndeb -i vagrant_1.4.3_x86_64.deb\n```\n\n### For OSX\n\n* Install Vagrant with osx installer from https://www.vagrantup.com/downloads.html\n* Install Virtualbox with osx installer (macports build out of date, doesn't work in maverics)\n* Install bash from Macports/Homebrew\n\n\n## Bugs\n\n\nCurrently there's a bug which can be workarounded, although it's a bit annoying.\n\n* To use digital ocean provider, you need to have this line in your Vagrantfile `node.ssh.private_key_path = '~/.ssh/id_rsa'` which is currently commented out. It's commented out because you local vm provisiong will fail. Currently I'm in search how to fix this. You'll have to comment in and out this line when you want to use local vm's instead of digital ocean and vice-versa\n\n## Preparation steps\n\nJust launch make-install, it will do everything for you\n\n```\nmake install\n```\n\n\n## Local usage\n\n`./repo` folder is designed to be your repository.\n\nJust do `git init .` and add git origin with your github/bitbucket repo url\n\n* Edit your repo/boxes.rb, currently only \"web\" vm added.\n* Edit your repo/Berksfile to add cookbooks you'll use\n* Edit your repo/roles/ and add those roles to boxes.rb to your vm config.\n\n### Create VM\n\n```\nvagrant up web\n```\n\n### Reload VM\n\n```\nvagrant reload web\n```\n\n### Shutdown VM\n\n```\nvagrant halt web\n```\n### Delete VM\n\n```\nvagrant destroy web\n```\n---------------\n## Provisioning\n\n### Ansible management\n\nEdit ```.makerc``` and uncomment ```USE_ANSIBLE=1``` variable. By default it's commented out.\n\nCreate a playbook directory in ```repo/myplaybook/main.yml```, add this playbook path to your ```repo/boxes.rb``` vm configuration\n\n#### Provisioning\n\n```\nvagrant provision web\n```\n### Saltstack management\n\nEdit `.makerc` and uncomment `USE_SALT=1` variable.\nIn `repo/boxes.rb` you need to add `:salt=\u003e1` to enable salt.\nCurrently only one minion supported.\n\n#### Provisioning\n\n```\nvagrant provision web\n```\n\n\n### Chef management\n\n#### Provisioning\n\n```\nvagrant provision web\n```\n\n#### Creating new cookbook\n\n```\nmake cookbook\n```\n\n#### Berkshelf cookbook update\n\n```\nmake update\n```\n## Destroy\n\nThis will destroy all your `./repo` also as everything that's been generated with `vagrant-starter` repo\n```\nmake destroy\n```\n\n## Provisioning to DigitalOcean\n\n### Pre-configuration\n\n* You need to have private ssh key here: `~/.ssh/id_rsa`\n* You need to add api key for each droplet in `repo/boxes.rb`\n\n### Creating new droplet\n\nIn `repo/boxes.rb` you'll find commented out configuration template for digital ocean droplet. Here's how to create it\n\n```\nvagrant up myserver.mydomain.com --provider=digital_ocean\n```\n\n### Acknowledge existing droplet\n\nIf you have existing droplet on Digital Ocean, you can tell vagrant to manage it. First of all don't forget to add droplet configuration to `repo/boxes.rb`. Then you need to perform some actions:\n\n```\nvagrant up myserver.mydomain.com --provider=digital_ocean\n```\n\n### Troubles\n\n* In case you have troubles with ssl, you need curl ssl certificates to be installed.\n* If you have troubles with ssh and ansible, check if you don't have user root set in your playbook\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholms%2Fvagrant-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholms%2Fvagrant-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholms%2Fvagrant-starter/lists"}