Commit 796e9aba by John Donnal

fixed bugs

parent 363aba4e
...@@ -36,14 +36,14 @@ class python { ...@@ -36,14 +36,14 @@ class python {
source => 'puppet:///modules/python/get-pip.py' source => 'puppet:///modules/python/get-pip.py'
} }
package{['python-pip', 'python3-pip']: package{['python-pip', 'python3-pip']:
ensure => absent, ensure => absent
} }
exec{'install_pip3': exec{'install_pip3':
command => 'python3 /tmp/get-pip.py', command => 'python3 /tmp/get-pip.py',
path => ['/usr/local/bin','/usr/bin'], path => ['/usr/local/bin','/usr/bin'],
require => Package[$deps] require => Package[$deps]
} }
exec{'upgrade_pip2': exec{'install_pip2':
command => 'python2 /tmp/get-pip.py', command => 'python2 /tmp/get-pip.py',
path => ['/usr/local/bin','/usr/bin'], path => ['/usr/local/bin','/usr/bin'],
require => Package[$deps] require => Package[$deps]
......
...@@ -63,6 +63,7 @@ class static_sites { ...@@ -63,6 +63,7 @@ class static_sites {
exec{ 'InstallDocs': exec{ 'InstallDocs':
command => $docs_cmd, command => $docs_cmd,
timeout => 0,
path => ['/bin', '/usr/sbin', '/usr/bin'], path => ['/bin', '/usr/sbin', '/usr/bin'],
require => File['/var/www/frontend'] require => File['/var/www/frontend']
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment