{"id":20842826,"url":"https://github.com/mudge/puppet-pkgin","last_synced_at":"2025-05-08T22:41:46.451Z","repository":{"id":1798382,"uuid":"2722365","full_name":"mudge/puppet-pkgin","owner":"mudge","description":"A Puppet package provider for pkgin, a binary package manager for pkgsrc.","archived":false,"fork":false,"pushed_at":"2012-03-11T18:14:39.000Z","size":277,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-08T18:53:39.737Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://forge.puppetlabs.com/mudge/pkgin","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"acoomans/ACCodeSnippetRepositoryPlugin","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mudge.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":"2011-11-06T21:09:30.000Z","updated_at":"2013-12-12T00:49:12.000Z","dependencies_parsed_at":"2022-09-01T03:11:43.432Z","dependency_job_id":null,"html_url":"https://github.com/mudge/puppet-pkgin","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/mudge%2Fpuppet-pkgin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fpuppet-pkgin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fpuppet-pkgin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mudge%2Fpuppet-pkgin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mudge","download_url":"https://codeload.github.com/mudge/puppet-pkgin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160727,"owners_count":21863624,"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-18T01:25:38.363Z","updated_at":"2025-05-08T22:41:46.430Z","avatar_url":"https://github.com/mudge.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Puppet pkgin Module [![Build Status](https://secure.travis-ci.org/mudge/puppet-pkgin.png?branch=master)](http://travis-ci.org/mudge/puppet-pkgin)\n===================\n\nThis is a Puppet module to install and uninstall packages using [`pkgin`][0], a\nbinary package manager for `pkgsrc` as used by [Joyent SmartMachines][1] by\nenabling a provider for the standard [`package` resource type][2].\n\nInstallation\n------------\n\nThe latest stable release can be downloaded from the Puppet Module Forge: [mudge/pkgin][3]\n\nUsing the `puppet-module` gem, this is as simple as:\n\n```console\n$ cd /opt/local/etc/puppet/modules\n# puppet-module install mudge/pkgin\nInstalled \"mudge-pkgin-0.0.1\" into directory: pkgin\n```\n\n(Assuming `/opt/local/etc/puppet/modules` is in your `modulepath`.)\n\nUsage\n-----\n\n```puppet\npackage { 'vim':\n  ensure   =\u003e present,\n  provider =\u003e pkgin,\n}\n\npackage { 'emacs':\n  ensure   =\u003e absent,\n  provider =\u003e pkgin,\n}\n```\n\nIf using the Service Management Facility (SMF) to run `puppet agent` (or `puppetd`),\nensure that the `pkgin` binary is in your `PATH` with something like the following:\n\n```xml\n\u003cexec_method name='start' type='method'\n    exec='/opt/local/bin/puppet agent --config %{config_file}' timeout_seconds='60'\u003e\n  \u003cmethod_context\u003e\n    \u003cmethod_environment\u003e\n      \u003cenvvar name='PATH' value='/opt/local/bin:/opt/local/sbin:/usr/bin:/usr/sbin'/\u003e\n    \u003c/method_environment\u003e\n  \u003c/method_context\u003e\n\u003c/exec_method\u003e\n\u003cproperty_group name='application' type='application'\u003e\n  \u003cpropval name='config_file' type='astring' value='/opt/local/etc/puppet/puppet.conf'/\u003e\n\u003c/property_group\u003e\n```\n\nFeatures\n--------\n\nAt the moment, this provider only has two of the standard Puppet package provider\nfeatures:\n\n* *installable*: The provider can install packages.\n* *uninstallable*: The provider can uninstall packages.\n\nAuthor\n------\n\nPaul Mucur (http://mudge.name), 2011.\n\n  [0]: http://pkgin.net/\n  [1]: http://www.joyent.com/products/smartmachines/\n  [2]: http://docs.puppetlabs.com/references/stable/type.html#package\n  [3]: http://forge.puppetlabs.com/mudge/pkgin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudge%2Fpuppet-pkgin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmudge%2Fpuppet-pkgin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmudge%2Fpuppet-pkgin/lists"}