{"id":19028398,"url":"https://github.com/zinovyev/workbox","last_synced_at":"2026-05-02T00:30:29.728Z","repository":{"id":149386144,"uuid":"48593817","full_name":"zinovyev/workbox","owner":"zinovyev","description":"This the sample workbox for development based on vagrant and puppet","archived":false,"fork":false,"pushed_at":"2016-03-02T20:17:23.000Z","size":262,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-02T03:23:02.227Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/zinovyev.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":"2015-12-25T23:25:48.000Z","updated_at":"2016-01-27T21:44:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"869efeb6-60d3-4f9c-96f6-c883ac36c85a","html_url":"https://github.com/zinovyev/workbox","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/zinovyev%2Fworkbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zinovyev%2Fworkbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zinovyev%2Fworkbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zinovyev%2Fworkbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zinovyev","download_url":"https://codeload.github.com/zinovyev/workbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079610,"owners_count":19744720,"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:10:59.208Z","updated_at":"2026-05-02T00:30:29.668Z","avatar_url":"https://github.com/zinovyev.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Workbox\nThis the sample workbox for development based on vagrant and puppet (puppet apply provisioner).\n\n## About\nThis box provides a bunch of puppet modules that I use by myself in my projects. It's not fully complete yet.\nIn production the modules should be installed via the puppet master node used together with child nodes.\nThe list of already built modules:\n* [toolbox](https://github.com/zinovyev/workbox/tree/master/provision/puppet/environments/testing/modules/toolbox): provides base packages (some of them are used for building other packages)\n* [mariadb](https://github.com/zinovyev/workbox/tree/master/provision/puppet/environments/testing/modules/mariadb): MariaDB package installation\n* [nginx](https://github.com/zinovyev/workbox/tree/master/provision/puppet/environments/testing/modules/nginx): compiles Nginx server from sources\n* [nginx_ssl](https://github.com/zinovyev/workbox/tree/master/provision/puppet/environments/testing/modules/nginx): exanple of an nginx config with self-signed certificate on board\n* [openssl](https://github.com/zinovyev/workbox/tree/master/provision/puppet/environments/testing/modules/openssl): OpenSSL packages installation\n* [ss_ssl](https://github.com/zinovyev/workbox/tree/master/provision/puppet/environments/testing/modules/ss_ssl): generation of an self-signed certificate\n\n## Preparations\nTo launch the project you'll need several packages to be installed on your system:\n* The Vagrant by it self (https://docs.vagrantup.com/v2/installation/);\n* The VirtualBox (the provider) (https://www.virtualbox.org/wiki/Downloads);\n* Nfsd service (for the shared folders). It is highly recommended to use the ntp daemon too;\n* Add the debian/jessie64 box by running `vagrant box add debian/jessie64`;\n\n## Configuration\nOne more step to configure the vagrant box:\n\n1. Download the proper version of the VBoxGuestAdditions.iso image and put it to the `/opt/virtualbox/` directory;\n2. Open `/path-to-workbox/provision/puppet/environments/testing/manifests/init.pp` in your favorite editor and select modules you whant to use.\n\n## Installation\nThe installation is very simple:\n\n1. Just clone the repo: `git clone git@github.com:zinovyev/workbox`;\n2. Switch to the directory: `cd workbox`;\n3. Run simple command to build and launch the box: `vagrant up`;\n4. That's it! The box is up and running. Type `vagrant ssh` to ssh to the system.\n5. Use folder called `shared` on your host to work with files on the guest virtual machine (the path will be `/vagrant`).\n\n## Testing your environment\nTo test the modules locally (no need to run `vagrant reload --provision`):\n\n1. Add path to the puppet executable to your root's pathes:\n```bash\nsudo su\necho \"export PATH=$PATH:/opt/puppetlabs/bin\" \u003e\u003e ~/.bashrc\n```\n\n2. Reload root's profile config:\n```bash\nsource ~/.bashrc\n```\n\n3. And run `puppet apply` command with specific options:\n```bash\npuppet apply /tmp/vagrant-puppet/environments/testing/manifests/init.pp \\\n--modulepath /tmp/vagrant-puppet/environments/testing/modules \\\n--verbose\n```\n\n## Troubleshooting\n### NFS shared folders error\nIf you're stacked with the issue when `vagrant up` command hangs with the message \"Mounting NFS shared folders...\" for a while, try to perform those steps:\n* Try either to restart nfs service (`sudo systemctl restart nfs-server.service` for me in Arch);\n* Or to remove Vagrant entries from /etc/exports\n(they are surrounded with #VAGRANT-BEGIN: ... #VAGRANT-END: comments)\nand then to restart the service and the vagrant instance (run `vagrant reload` from your projects folder).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzinovyev%2Fworkbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzinovyev%2Fworkbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzinovyev%2Fworkbox/lists"}