{"id":32129808,"url":"https://github.com/onpuppet/puppet-pip","last_synced_at":"2026-02-19T07:01:18.379Z","repository":{"id":136057839,"uuid":"50994094","full_name":"onpuppet/puppet-pip","owner":"onpuppet","description":"Custom pip provider for Puppet package resource","archived":false,"fork":false,"pushed_at":"2017-02-02T13:28:44.000Z","size":70,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-02-19T04:41:12.538Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/onpuppet.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-02-03T11:02:42.000Z","updated_at":"2017-02-01T08:27:48.000Z","dependencies_parsed_at":"2023-07-12T16:46:30.629Z","dependency_job_id":null,"html_url":"https://github.com/onpuppet/puppet-pip","commit_stats":null,"previous_names":["yuav/puppet-pip"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/onpuppet/puppet-pip","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-pip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-pip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-pip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-pip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/onpuppet","download_url":"https://codeload.github.com/onpuppet/puppet-pip/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/onpuppet%2Fpuppet-pip/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29605796,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2025-10-21T01:35:22.865Z","updated_at":"2026-02-19T07:01:18.373Z","avatar_url":"https://github.com/onpuppet.png","language":"Ruby","readme":"Puppet Pip module\n=================\n\n[![Build Status](https://travis-ci.org/onpuppet/puppet-pip.svg)](https://travis-ci.org/onpuppet/puppet-pip)\n\nLess broken Puppet package provider for pip. Can also install and configure pip\n\n**NOTICE:** Features of this provider has been ported to Puppet core, and is available in Puppet 4.5.0\n\n## Module Description\n\nThe pip provider in Puppet is currently broken due to the fact that it's polling PyPI directly instead of relying on Pip from CLI\n\nInstalling this modules gives you a pip provider that works with;\n\n * Custom global PyPI repositories (since Pip 6.0)\n * Ensure latest\n * Proxies\n * Treat pip as a pip installable package\n\n## Setup\n\nIf you don't use this module to manage python pip, it assumes pip is already installed and available in $PATH\n\n### Beginning with pip\n\nJust install the module:\n\n    puppet module install onpuppet-pip\n\nand use it as a custom provider\n\n    package { 'Django':\n      ensure   =\u003e 'latest',\n      provider =\u003e 'yuavpip',\n    }\n\n*Note that pip needs to be installed prior to using the provider as in this example.\n\n## Usage\n\nTo have pip installed using this module\n\n    class { 'pip': }\n\nEnsure pip is installed with the latest version\n\n    class { 'pip':\n      package_ensure =\u003e 'latest',\n    }\n\nInstalling a global extra index\n\n    class { 'pip':\n      package_ensure =\u003e 'latest',\n      extra_index_url =\u003e 'https://repo.fury.io/yuav/',\n    }\n\n    package { 'puppet-pip-test-project':\n      ensure   =\u003e 'latest',\n      provider =\u003e 'yuavpip',\n      require  =\u003e Class['pip'], # Ensure custom repo is installed prior to my_package\n    }\n\nInstalling a custom global PyPI repo\n\n    class { 'pip':\n      package_ensure =\u003e 'latest',\n      index_url =\u003e 'http://devpi.fqdn:3141/repo/base/+simple/',\n    }\n\n    package { 'my_package':\n      ensure   =\u003e 'latest',\n      provider =\u003e 'yuavpip',\n      require  =\u003e Class['pip'], # Ensure custom repo is installed prior to my_package\n    }\n\n\n*Note: By default this module use the vendor version of pip (E.G 1.0 for Ubuntu 12.04),\nhowever global PyPI repo requires pip 6.0 or later. Since Puppet doesn't support ensure '\u003e6.0',\nuse 'latest' to ensure a recent enough version\n\n### Limitations\n\n# Acceptance testing with Beaker\n\nDue to bug: https://tickets.puppetlabs.com/browse/BKR-699 (Beaker adding /usr/bin in front of $PATH)\n\nthere's an issue using this module in an acceptance test with ensure =\u003e 'latest'.\n\nThe workaround is to override the Beaker set path in the test like so:\n\n    apply_manifest(pp, :catch_changes =\u003e true, :environment =\u003e {\n        'PATH' =\u003e '/opt/puppet-git-repos/hiera/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games'\n    })\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonpuppet%2Fpuppet-pip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fonpuppet%2Fpuppet-pip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fonpuppet%2Fpuppet-pip/lists"}