File tree Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Expand file tree Collapse file tree 3 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 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'
Original file line number Diff line number Diff line change 1+ puppet-pip
2+ ----------
3+
4+ ```
5+ include pip
6+ ```
Original file line number Diff line number Diff line change 1+
2+ class pip {
3+ if ! defined (Package[' curl' ]) {
4+ package { 'curl' : }
5+ }
6+
7+ $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+ }
You can’t perform that action at this time.
0 commit comments