Advertisement
Guest User

Untitled

a guest
Mar 6th, 2018
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Puppet 0.66 KB | None | 0 0
  1.  
  2. # List of all pip3
  3.   $pip3_modules = [ 'autopep8', 'beautifulsoup4', 'bs4', 'coverage', 'flake8',
  4.                     'tox', 'virtualenv', 'xmlrunner' ]
  5.                      
  6.   $pip3_modules.each |String $pip3| {
  7.     package { "${pip3}-pip3":
  8.       name     => $pip3,
  9.       provider => pip3,
  10.     }                
  11.   }                  
  12.                      
  13. #-------------------------------
  14. # Installed pip2 default modules
  15. #-------------------------------
  16.   $pip2_modules = [ 'requests', ]
  17.                      
  18.   $pip2_modules.each |String $pip2| {
  19.     package { "${pip2}-pip2":
  20.       name     => $pip2,
  21.       provider => pip,
  22.     }                
  23.   }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement