{"id":18445903,"url":"https://github.com/voronenko/chef-developer_bootstrap","last_synced_at":"2025-04-15T01:49:40.517Z","repository":{"id":12388085,"uuid":"15040402","full_name":"Voronenko/chef-developer_bootstrap","owner":"Voronenko","description":"Helper for unattended installing of development environments (LAMP, Mean, Java) [DevOps, Chef, Vagrant]","archived":false,"fork":false,"pushed_at":"2015-04-03T19:00:34.000Z","size":294,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T01:49:37.728Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Voronenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-09T06:59:49.000Z","updated_at":"2015-06-18T20:30:34.000Z","dependencies_parsed_at":"2022-08-20T19:50:49.219Z","dependency_job_id":null,"html_url":"https://github.com/Voronenko/chef-developer_bootstrap","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/Voronenko%2Fchef-developer_bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fchef-developer_bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fchef-developer_bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Voronenko%2Fchef-developer_bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Voronenko","download_url":"https://codeload.github.com/Voronenko/chef-developer_bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991539,"owners_count":21194894,"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-06T07:07:50.843Z","updated_at":"2025-04-15T01:49:40.502Z","avatar_url":"https://github.com/Voronenko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Summary \nBootstrap project used to setup environments during my R\u0026D activities and 'pet' projects\n\n## OS\nI usually use ubuntu neither 12.04.3 LTS (Precise Pangolin), Ubuntu 12.10 (Quantal Quetzal).\nI am also adapting 13.10 (Saucy Salamander), but it still has some incompatibilities on packages.\n\n## Usage scenario\n\n* Configure development boxes on your ESX server \n* Configure development boxes with Vagrant on your virtual box\n* Configure your bare metal development workstation\n\n## Software installed\n\n### Standalone usage\nOnce you cloned repository on a target box, run init.sh;\nFor ubuntu 13.10 recommended way is to run init_1310.sh\n\nBy default, it will install bootstrap software packages listed below:\n \n- Git\n- Ruby 1.9.3 (dev)\n- OpsCode CHEF [https://wiki.opscode.com/display/chef/Home](https://wiki.opscode.com/display/chef/Home)\n- Librarian-chef [https://github.com/applicationsonline/librarian-chef](https://github.com/applicationsonline/librarian-chef)\n- Berkshelf (for Vagrant based provisioning) [http://berkshelf.com/](http://berkshelf.com/)\n\n### Vagrant usage\n\nInstall Oracle VirtualBox [http://www.virtualbox.org/], Vagrant [http://vagrantup.com/], \n* vagrant berkshelf plugin [vagrant plugin install vagrant-berkshelf]\n* vagrant vbguest plugin [vagrant plugin install vagrant-vbguest]\n\nNote: for Vagrant \u003e 1.5.3 syntax for installing berkshelf plugin is different:\n* vagrant plugin install vagrant-berkshelf --plugin-version '\u003e= 2.0.1'\n\nWindows: You also will need to have either tar in a path, or  patch your ruby devkit with http://gnuwin32.sourceforge.net/packages/gtar.htm\n\n*vagrant-berkshelf* is a Vagrant plugin to add Berkshelf integration to the Chef provisioners\n\n*vagrant-vbguest* is a Vagrant plugin which automatically installs the host's VirtualBox Guest Additions on the guest system. \n\n\nClone developer bootstrap repository. Using *Vagrantfile* as an example choose necessary roles for your box. Use *vagrant* environment file to adjust your software settings and versions.\n\nUse *vagrant up* to boot up the box.\n\nNote: Vagrantfile is based on official Vagrant Ubuntu 12.04 Precise 32bit image. At present moment it has outdated ruby \u0026 chef version installed. By default during provision custom init_vagrant.sh script is executed. In a result, virtuaд server is upgraded with ruby 1.9.3 and more recent chef-solo version.\n\n## Directories purpose\n\n### cookbooks\nOfficial cookbooks for widely used software\n\n\n### cookbook-project\nI use this directory to checkout cookbooks that are not available for the public, and are specifically related to project specific environment configuration\n\n### databags\nDirectory contains optional project specific file artifacts for cookbooks.\n\n### environments\nContains preferences to package versions, vendors and machine wide configuraiton for packages installed\n\n\n### nodes\nContains instructions to configure predefined set of the software on specific workstation basing on it's role (lamp box, java box, big data box, MEAN box, etc.\n\n### roles\nContains combination of recipes (roles) to configure workstation for predefined needs.\nBy default roles are:\n\n- gui - installs set of handy tools, so that workstation can be used for GUI development\n- sql - installs set of tools for efficient work with MySQL (Percona, MariaDB) box\n- lamp_debug - configures workstation for lamp development\n\n## How to use \n\nManual steps are:\n\n*sudo chef-solo -c solo.rb -j nodes/nodename.json*\n\nVagrant steps are:\n*vagrant up*\n\n### Vagrant debugging configuration\n\nSuggested recipe requires minimum configuration to run (PHPStorm)\n\n* in project settings/server register vagrant server\n (You can use some wildcard domain like PROJECT.lvh.me to map test domain name to vagrant box)\n* in phpstorm set XDEBUG_SESSION_START variable (PHPSTORM or whatever)\n* Put breakpoint, launch debugging session (for example using handy chrome helper [https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc] \n\n\n\n\n## Read more\n\n[http://docs.opscode.com/](http://docs.opscode.com/)\n[http://docs.vagrantup.com/v2/] (http://docs.vagrantup.com/v2/)\n\n\n\n#Linked projects: #\n\nInterested in using developer box Chef recipes in your own cookbooks?\nSee [https://github.com/Voronenko/chef-developer_recipes](https://github.com/Voronenko/chef-developer_recipes)\n\nInterested in building your devbox on top of Vagrant + vagrant-berkshelf plugin?\nSee [https://github.com/Voronenko/vagrant-wrap](https://github.com/Voronenko/vagrant-wrap)\n\n\nNote: see following article about future of the vagrant-berkshelf plugin [https://sethvargo.com/the-future-of-vagrant-berkshelf/](https://sethvargo.com/the-future-of-vagrant-berkshelf/)\n\nInterested in building your devbox on top of Vagrant + test-kitchen?\nSee [https://github.com/Voronenko/lamp-kitchen](https://github.com/Voronenko/lamp-kitchen) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fchef-developer_bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoronenko%2Fchef-developer_bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoronenko%2Fchef-developer_bootstrap/lists"}