{"id":15013892,"url":"https://github.com/jay7x/puppet-lima","last_synced_at":"2026-01-20T13:33:53.868Z","repository":{"id":65155878,"uuid":"584780324","full_name":"jay7x/puppet-lima","owner":"jay7x","description":"Manage Lima VMs with Puppet Bolt","archived":false,"fork":false,"pushed_at":"2024-06-22T08:50:09.000Z","size":92,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T13:55:03.615Z","etag":null,"topics":["lima","lima-vm","puppet","puppet-bolt","puppet-module"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jay7x.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-01-03T13:54:06.000Z","updated_at":"2024-06-22T08:50:09.000Z","dependencies_parsed_at":"2024-03-09T15:32:55.929Z","dependency_job_id":"e3cd9675-748f-4f35-95a0-afa56566fe81","html_url":"https://github.com/jay7x/puppet-lima","commit_stats":{"total_commits":38,"total_committers":1,"mean_commits":38.0,"dds":0.0,"last_synced_commit":"79c73f87358cdb923cac81c12c6da376a25029b1"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/jay7x/puppet-lima","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-lima","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-lima/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-lima/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-lima/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jay7x","download_url":"https://codeload.github.com/jay7x/puppet-lima/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jay7x%2Fpuppet-lima/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28603791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"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":["lima","lima-vm","puppet","puppet-bolt","puppet-module"],"created_at":"2024-09-24T19:44:54.099Z","updated_at":"2026-01-20T13:33:53.853Z","avatar_url":"https://github.com/jay7x.png","language":"Ruby","readme":"# lima\n\nTable of Contents\n\n1. [Description](#description)\n2. [Requirements](#requirements)\n3. [Inventory plugin usage](#inventory-plugin-usage)\n4. [Cluster management plans usage](#cluster-management-plans-usage)\n\n## Description\n\nThe Lima module is a \"glue\" between Puppet Bolt and [`lima`](https://github.com/lima-vm/lima)\n\n## Requirements\n\nYou will need to have installed `limactl` on the system you wish to run Bolt from.\n\n## Inventory plugin usage\n\nThe `resolve_reference` task supports looking up target objects from a `limactl list` output. It accepts following parameters:\n\n- `limactl`: Location of the `limactl` binary if not in `$PATH`.\n- `only_matching_names`: Only VM with names matching this regex will be included into the inventory. This regex is passed to `Regexp.new()` as a string.\n- `except_matching_names`: VMs with names matching this regex will be excluded from the inventory. This regex is passed to `Regexp.new()` as a string.\n\n**NOTE 1:** Only **running** VMs are returned.\n\n**NOTE 2:** If both `only_matching_names` and `except_matching_names` are specified then only VMs matching `only_matching_names` and not matching `except_matching_names` are returned.\n\n### Examples\n\n```yaml\ngroups:\n  - name: lima-vms\n    targets:\n      - _plugin: lima\n        except_matching_names: '^default'\n```\n\n## Cluster management plans usage\n\nThis module provides a way to define and manage clusters of Lima VMs. It's expected to define clusters in the [plan_hierarchy of your Bolt project's Hiera](https://www.puppet.com/docs/bolt/latest/hiera.html#outside-apply-blocks).\n\nBelow is the example of a Hiera file under `plan_hierarchy`:\n\n```yaml\n---\n# Leverage YAML features to define templates required\nx-ubuntu2004: \u0026ubuntu2004\n  images:\n  - location: \"https://cloud-images.ubuntu.com/releases/20.04/release-20230117/ubuntu-20.04-server-cloudimg-amd64.img\"\n    arch: \"x86_64\"\n    digest: \"sha256:3e44e9f886eba6b91662086d24028894bbe320c1de89be5c091019fedf9c5ce6\"\n  - location: \"https://cloud-images.ubuntu.com/releases/20.04/release-20230117/ubuntu-20.04-server-cloudimg-arm64.img\"\n    arch: \"aarch64\"\n    digest: \"sha256:4ea4700f7b1de194a2f6bf760b911ea3071e0309fcea14d3a465a3323d57c60e\"\n  - location: \"https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-amd64.img\"\n    arch: \"x86_64\"\n  - location: \"https://cloud-images.ubuntu.com/releases/20.04/release/ubuntu-20.04-server-cloudimg-arm64.img\"\n    arch: \"aarch64\"\n  mounts:\n  - location: \"~\"\n\n# Cluster definitions\nlima::clusters:\n  example: # `example` cluster\n    nodes:\n      - example1\n        template: ubuntu  # Use latest ubuntu version on this VM\n      - example2\n      - example3\n    config:\n      \u003c\u003c: *ubuntu2004\n```\n\nNow when you have some clusters defined you can use cluster management plans to start/stop/delete a cluster. E.g.:\n\n```bash\n# Start the cluster (create example[123] VMs)\nbolt plan run lima::cluster::start name=example\n# Stop the cluster (stop example[123] VMs)\nbolt plan run lima::cluster::stop name=example\n# Delete the cluster (delete example[123] VMs)\nbolt plan run lima::cluster::delete name=example\n```\n\n## Reference\n\nReference documentation for the module is generated using\n[puppet-strings](https://puppet.com/docs/puppet/latest/puppet_strings.html) and available in [REFERENCE.md](REFERENCE.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay7x%2Fpuppet-lima","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjay7x%2Fpuppet-lima","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjay7x%2Fpuppet-lima/lists"}