{"id":15014019,"url":"https://github.com/bolterrific/puppet-gitlab_inventory","last_synced_at":"2026-02-07T13:03:13.054Z","repository":{"id":57666992,"uuid":"325883942","full_name":"bolterrific/puppet-gitlab_inventory","owner":"bolterrific","description":"Bolt inventory plugin to generate local Targets from a GitLab group's projects","archived":false,"fork":false,"pushed_at":"2023-04-26T20:21:08.000Z","size":31,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-15T05:27:28.282Z","etag":null,"topics":["bolt","bolt-inventory","bolt-plans","devops","gitlab-api","inventory-plugin","orchestration","puppet","puppet-bolt"],"latest_commit_sha":null,"homepage":"","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/bolterrific.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"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":"2020-12-31T22:43:14.000Z","updated_at":"2022-07-14T04:17:28.000Z","dependencies_parsed_at":"2024-09-12T00:21:55.581Z","dependency_job_id":null,"html_url":"https://github.com/bolterrific/puppet-gitlab_inventory","commit_stats":{"total_commits":16,"total_committers":1,"mean_commits":16.0,"dds":0.0,"last_synced_commit":"a436a2b51b6df3595e33fd9b4c27326f3fbbc3cb"},"previous_names":["op-ct/puppet-gitlab_inventory"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/bolterrific/puppet-gitlab_inventory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolterrific%2Fpuppet-gitlab_inventory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolterrific%2Fpuppet-gitlab_inventory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolterrific%2Fpuppet-gitlab_inventory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolterrific%2Fpuppet-gitlab_inventory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bolterrific","download_url":"https://codeload.github.com/bolterrific/puppet-gitlab_inventory/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolterrific%2Fpuppet-gitlab_inventory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29194437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T12:38:28.597Z","status":"ssl_error","status_checked_at":"2026-02-07T12:38:23.888Z","response_time":63,"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":["bolt","bolt-inventory","bolt-plans","devops","gitlab-api","inventory-plugin","orchestration","puppet","puppet-bolt"],"created_at":"2024-09-24T19:45:04.093Z","updated_at":"2026-02-07T13:03:13.031Z","avatar_url":"https://github.com/bolterrific.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab_inventory\n\n#### Table of Contents\n\n\u003c!-- vim-markdown-toc GFM --\u003e\n\n* [Description](#description)\n* [Setup](#setup)\n  * [Setup Requirements](#setup-requirements)\n* [Usage](#usage)\n  * [Using the plugin in a Bolt inventory file](#using-the-plugin-in-a-bolt-inventory-file)\n* [Reference](#reference)\n* [Limitations](#limitations)\n* [Development](#development)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n## Description\n\n**gitlab_inventory** is an [inventory reference plugin] for [Puppet\nBolt]. It uses the GitLab API to dynamically provide a list of [`local`\ntransport] Targets that represent each project under a GitLab group.\n\nThis module also contains an example Bolt project with a working\n`inventory.yaml` and several Bolt plans.\n\n## Setup\n\n### Setup Requirements\n\n* [Puppet Bolt][bolt]\n  * Preferred version: Bolt 3.17+\n  * Strict minimum is Bolt 2.15+ (untested)\n  * Bolt must be installed from an [OS package][bolt-install] (don't use the `bolt` RubyGem)\n  * **Note:** The example `inventory.yaml` assumes Bolt 2.37+ (see comments)\n* A GitLab API personal auth token with sufficient scope\n\n## Usage\n\nTo use this plugin in your own Bolt project, configure it to provide `targets`\nin the [inventory file].\n\n### Using the plugin in a Bolt inventory file\n\nAn example `inventory.yaml` file:\n\n```yaml\nversion: 2\n\ngroups:\n  - name: gitlab_projects\n    targets:\n      - _plugin: gitlab_inventory  # \u003c- Plugin provides `local` Targets\n        group:                     # \u003c- GitLab group with Target repos\n          _plugin: env_var\n          var: GITLAB_GROUP\n          default: simp\n        # some optional parameters:\n        gitlab_api_token:          # \u003c- API token with scope that can get repos\n          _plugin: env_var         # \u003c- (provided by another Bolt plugin)\n          var: GITLAB_API_PRIVATE_TOKEN\n        gitlab_api_endpoint: https://gitlab.com/api/v4\n        archived_repos: true\n        allow_list:\n          - '/^pupmod-simp/'\n          - 'simp-core'\n        block_list:\n          - '/gitlab-oss/'\nconfig:\n  transport: local\n  local:\n    bundled-ruby: true\n    tmpdir:\n     _plugin: env_var\n     var: PWD\n\n```\n\n## Reference\n\nSee [REFERENCE.md](./REFERENCE.md)\n\n## Limitations\n\nIn order to provide an example Bolt project in the same module as the inventory\nplugin, the example `bolt-project.yaml` adds `..` to the `modulepath`.  This\nmeans that (when using the example Bolt project) the folder containing this repo\n_must_ be named `gitlab_inventory`.  There may be other weirdness, depending on\nwhether neighboring directories contain Bolt projects or Puppet modules.\n\nThis quirk only affects the example Bolt project; it will not affect the\ninventory plugin or Bolt plans from your own Bolt projects.\n\n## Development\n\nSubmit PRs at the project's GitHub repository.\n\n[bolt]: https://puppet.com/docs/bolt/latest/bolt.html\n[bolt-install]: https://puppet.com/docs/bolt/latest/bolt_installing.html\n[inventory file]: https://puppet.com/docs/bolt/latest/inventory_file_v2.html\n[inventory reference plugin]: https://puppet.com/docs/bolt/latest/using_plugins.html#reference-plugins\n[`local` transport]: https://puppet.com/docs/bolt/latest/bolt_transports_reference.html#local\n[gitlab-rb]: https://rubygems.org/gems/gitlab\n[Puppet Bolt]: https://puppet.com/docs/bolt/latest/bolt.html\n[rvm]: https://rvm.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolterrific%2Fpuppet-gitlab_inventory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbolterrific%2Fpuppet-gitlab_inventory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolterrific%2Fpuppet-gitlab_inventory/lists"}