{"id":15685094,"url":"https://github.com/sergk/vagrant-fuel-puppet-workshop","last_synced_at":"2025-03-30T11:11:47.829Z","repository":{"id":22126468,"uuid":"25457220","full_name":"SergK/vagrant-fuel-puppet-workshop","owner":"SergK","description":"Provide vagrant-way cluster deployment for developing fuel-ci puppet manifest","archived":false,"fork":false,"pushed_at":"2016-06-22T11:27:38.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T12:46:15.813Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://review.fuel-infra.org/","language":"Ruby","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/SergK.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":"2014-10-20T08:21:49.000Z","updated_at":"2016-06-22T11:27:39.000Z","dependencies_parsed_at":"2022-08-19T16:20:08.343Z","dependency_job_id":null,"html_url":"https://github.com/SergK/vagrant-fuel-puppet-workshop","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fvagrant-fuel-puppet-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fvagrant-fuel-puppet-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fvagrant-fuel-puppet-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SergK%2Fvagrant-fuel-puppet-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SergK","download_url":"https://codeload.github.com/SergK/vagrant-fuel-puppet-workshop/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246308051,"owners_count":20756482,"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-10-03T17:23:31.210Z","updated_at":"2025-03-30T11:11:47.802Z","avatar_url":"https://github.com/SergK.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"vagrant-fuel-puppet-workshop\n============================\n\nDescription:\n* Provides Vagrant cluster deployment (using Virtualbox, LXC, libvirt+KVM/QEMU provisioners);\n* Configures environment for working with puppet manifests for Fuel CI environment.\n\n## Tested environment\n```\nDistributor ID: LinuxMint\nDescription:  Linux Mint 17 Qiana\nRelease:  17\nCodename: qiana\n```\n\n```\nDistributor ID: Ubuntu\nDescription:  Ubuntu 14.04.1 LTS\nRelease:  14.04\nCodename: trusty\n```\n\n## Orchestration\n* vagrant ( \u003e 1.6.5);\n\n## Virtualization\nYou can choose any virtualization approach for deploying cluster:\n* virtualbox ( \u003e 4.2)\n* lxc ( \u003e 1.0.6) + vagrant-lxc plugin (1.0.1)\n* libvirt (1.2.2) + qemu-kvm (2.0.0) + vagrant-libvirt plugin (0.0.24) + NFS server (allows to modify code on puppet master directly)\n\n## HowTo:\n\n1. Clone the environment ``git clone https://github.com/SergK/vagrant-fuel-puppet-workshop``\n2. ``cd vagrant-fuel-puppet-workshop`` and put manifests in ``puppet-manifests`` directory\n3. create ``./puppet-manifests/hiera/common.yaml`` file, you can use ``./puppet-manifests/hiera/example-common.yaml`` as example\n4. Choose the virtualization type: virtualbox, lxc or libvirt\n * `cd virtualbox/`\n * `cd lxc/`\n * `cd libvirt/` [recomended]\n\nEach of the above folders contain Vagrantfile and bootstrap.sh\n\n   \u003e For customization, please check documentation for each vagrant plugin (sync folders, vms, network, etc)\n\n5. Start pxetool node ``vagrant up pxetool`` (by default virtualbox), this will install puppet master and pxetool\n\n \u003e use `--provider=lxc` or `--provider=libvirt`, if you are going to start other types of vm\n\n6. You can define \"roles\" (check hiera/roles) for each node from environment variable ``FACTER_ROLE=jenkins_slave vagrant up NODE_NAME  --provider=libvirt``\n7. ``vagrant ssh`` (by default you will enter _pxetool.test.local_), or ``vagrant ssh NODE_NAME``\n\n## Limitations/Notes\nPlease keep in mind, that there might be some limitations while working with virtual machines (technologies):\n\n1. in case on `--provider=libvirt`, rsync method was replaced by NFS server, for now manifests appear inside pxetool.test.local over nfs. If you still want to use rsync method, please check [vagrant-libvirt plugin](https://github.com/pradels/vagrant-libvirt) documentation\n\n2. in case on `--provider=libvirt`, dnsmasq should be correctly configured, at least you need to add the domain `test.local` (`virsh net-edit default`), for example:\n\n```\n\u003cnetwork ipv6='yes'\u003e\n  \u003cname\u003evagrant-libvirt\u003c/name\u003e\n  \u003cuuid\u003e3b74c6db-8134-47a0-8d01-c9d56a10d560\u003c/uuid\u003e\n  \u003cforward mode='nat'/\u003e\n  \u003cbridge name='virbr1' stp='on' delay='0'/\u003e\n  \u003cmac address='52:54:00:ed:f2:06'/\u003e\n  \u003cdomain name='test.local'/\u003e\n  \u003cip address='192.168.122.1' netmask='255.255.255.0'\u003e\n    \u003cdhcp\u003e\n      \u003crange start='192.168.122.2' end='192.168.122.254'/\u003e\n    \u003c/dhcp\u003e\n  \u003c/ip\u003e\n\u003c/network\u003e\n```\n\n### Project tree structure\n\n\n```\n.\n├── libvirt\n│   ├── bootstrap.sh\n│   └── Vagrantfile\n├── lxc\n│   ├── bootstrap.sh\n│   └── Vagrantfile\n├── puppet-manifests\n│   ├── bin\n│   │   ├── install_modules.sh\n│   │   └── install_puppet_master.sh\n│   ├── hiera\n│   │   ├── common-example.yaml\n│   │   └── common.yaml -\u003e common-example.yaml\n│   ├── LICENSE\n│   ├── manifests\n│   │   └── site.pp\n│   ├── modules\n│   │   ├── apt\n│   │   ├── ...\n│   │   ├── ...\n│   │   ├── ...\n│   │   ├── ...\n│   │   ├── ...\n│   │   └── zypprepo\n│   └── tests\n│       ├── helpers\n│       ├── rc.local\n│       ├── run_tests.py\n│       ├── run_tests.sh\n│       └── tests\n├── README.md\n└── virtualbox\n    ├── bootstrap.sh\n    └── Vagrantfile\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergk%2Fvagrant-fuel-puppet-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergk%2Fvagrant-fuel-puppet-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergk%2Fvagrant-fuel-puppet-workshop/lists"}