{"id":15567917,"url":"https://github.com/circa10a/local-puppet-dev","last_synced_at":"2025-10-02T23:34:32.170Z","repository":{"id":80278518,"uuid":"286151846","full_name":"circa10a/local-puppet-dev","owner":"circa10a","description":"Docker setup for testing puppet manifests","archived":false,"fork":false,"pushed_at":"2024-11-15T18:32:07.000Z","size":23,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-10T22:38:45.675Z","etag":null,"topics":["configuration-management","docker","docker-compose","hacktoberfest","puppet","puppet-modules"],"latest_commit_sha":null,"homepage":"","language":"Puppet","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/circa10a.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":"2020-08-09T02:19:25.000Z","updated_at":"2024-10-18T03:53:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"50b464d3-305d-4eed-9869-8ea63ad222fc","html_url":"https://github.com/circa10a/local-puppet-dev","commit_stats":{"total_commits":18,"total_committers":2,"mean_commits":9.0,"dds":"0.16666666666666663","last_synced_commit":"d46353fe6bfaeb0e111da5d7bd7599a04cf12ba5"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Flocal-puppet-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Flocal-puppet-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Flocal-puppet-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circa10a%2Flocal-puppet-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circa10a","download_url":"https://codeload.github.com/circa10a/local-puppet-dev/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235048997,"owners_count":18927715,"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":["configuration-management","docker","docker-compose","hacktoberfest","puppet","puppet-modules"],"created_at":"2024-10-02T17:13:53.250Z","updated_at":"2025-10-02T23:34:32.158Z","avatar_url":"https://github.com/circa10a.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# local-puppet-dev \u003cimg src=\"https://i.imgur.com/grQyxwI.png\" width=\"5%\" align=\"left\"/\u003e\n\nSimple docker setup for testing puppet modules\n\n- [local-puppet-dev](#local-puppet-dev)\n  * [Usage](#usage)\n    + [Start standalone puppet server](#start-standalone-puppet-server)\n    + [Execute puppet agent](#execute-puppet-agent)\n    + [Puppetfile](#puppetfile)\n    + [Modules](#modules)\n    + [Manifests](#manifests)\n\n## Usage\n\n### Start standalone puppet server\n\n```bash\ndocker compose up -d\n```\n\n### Execute puppet agent\n\n```bash\n# Daemon that executes the agent every 15s\n./run_puppet_agent.sh\n```\n\n### Puppetfile\n\nPuppet module dependencies should be added to the `Puppetfile`. Modules will be installed when you launch the `./run_puppet_agent.sh` daemon.\n\n### Modules\n\nSee [module structure docs](https://puppet.com/docs/puppet/latest/modules_fundamentals.html)\n\n- The `./modules` directory is the source for all custom puppet modules.\n  - These are mapped into `/etc/puppetlabs/code/modules` in the puppet container.\n  - Modules installed via the `Puppetfile` are installed in `/etc/puppetlabs/code/environments/production/modules`\n- Changes made are reflected instantly.\n\n```text\nmodules\n└── my_module\n    ├── data\n    │   └── common.yaml\n    ├── files\n    │   └── sample.json\n    ├── hiera.yaml\n    ├── lib\n    │   ├── facter\n    │   └── puppet\n    ├── manifests\n    │   ├── file_loop.pp\n    │   └── init.pp\n    └── templates\n        └── sample_template.json.epp\n```\n\n### Manifests\n\nThe entrypoint(`site.pp`) `contains` our custom modules, therefore executing them.\n\n- The `manifests` directory is mapped into `/etc/puppetlabs/code/environments/production/manifests` in the puppet container.\n\n```text\nmanifests\n└── site.pp\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirca10a%2Flocal-puppet-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcirca10a%2Flocal-puppet-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcirca10a%2Flocal-puppet-dev/lists"}