We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0 parents commit 81f7b27Copy full SHA for 81f7b27
3 files changed
Modulefile
@@ -0,0 +1,7 @@
1
+name 'tracywebtech-pip'
2
+version '1.0.0'
3
+source 'https://github.com/TracyWebTech/puppet-pip'
4
+author 'Tracy Web Technologies'
5
+summary 'Install pip using get-pip.py script'
6
+description 'Downloads get-pip.py and run it in order to install pip.'
7
+project_page 'https://github.com/TracyWebTech/puppet-pip'
README.md
@@ -0,0 +1,6 @@
+puppet-pip
+----------
+
+```
+include pip
manifests/init.pp
@@ -0,0 +1,14 @@
+class pip {
+ if ! defined(Package['curl']) {
+ package { 'curl': }
+ }
+ $get_pip_url = 'https://raw.github.com/pypa/pip/1.5.4/contrib/get-pip.py'
8
9
+ exec { 'install-pip':
10
+ command => "curl $get_pip_url | python",
11
+ path => ['/usr/bin', '/usr/local/bin'],
12
+ unless => 'which pip',
13
14
+}
0 commit comments