Fix two typos.

Change-Id: I6b02a28b8dd658425b39bf7f5fb858efbb9023d7
Reviewed-on: https://review.openstack.org/11146
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
This commit is contained in:
Monty Taylor 2012-08-10 10:44:16 -04:00 committed by Jenkins
parent 42dc2ac848
commit 6c763db08e
2 changed files with 11 additions and 2 deletions

View File

@ -45,7 +45,7 @@ class pypimirror ( $base_url,
owner => "root", owner => "root",
} }
file { '/home/gerrit2/projects.yaml': file { '/etc/openstackci/projects.yaml':
owner => 'root', owner => 'root',
group => 'root', group => 'root',
mode => 444, mode => 444,
@ -63,6 +63,15 @@ class pypimirror ( $base_url,
require => File['/usr/local/mirror_scripts'], require => File['/usr/local/mirror_scripts'],
} }
file { '/usr/local/mirror_scripts/run_mirror.py':
ensure => present,
mode => 755,
owner => 'root',
group => 'root',
source => "puppet:///modules/pypimirror/run_mirror.py",
require => File['/usr/local/mirror_scripts'],
}
file { '/usr/local/mirror_scripts/pull-repo.sh': file { '/usr/local/mirror_scripts/pull-repo.sh':
ensure => present, ensure => present,
mode => 755, mode => 755,

View File

@ -6,5 +6,5 @@ export PIP_DOWNLOAD_CACHE=<%= pip_cache %>
export PIP_TEMP_DOWNLOAD=<%= pip_download %> export PIP_TEMP_DOWNLOAD=<%= pip_download %>
export MIRROR_FILE_PATH=<%= mirror_file_path %> export MIRROR_FILE_PATH=<%= mirror_file_path %>
export LOG_FILENAME=<%= log_filename %> export LOG_FILENAME=<%= log_filename %>
python /usr/local/mirror_scripts/run-mirror.py <%= git_source %> >>$LOG_FILENAME python /usr/local/mirror_scripts/run_mirror.py <%= git_source %> >>$LOG_FILENAME
python /usr/local/mirror_scripts/process_cache.py ${PIP_DOWNLOAD_CACHE} ${MIRROR_FILE_PATH} python /usr/local/mirror_scripts/process_cache.py ${PIP_DOWNLOAD_CACHE} ${MIRROR_FILE_PATH}