From 6c763db08e43eddff3aa1c387c8be1c56278a6fd Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 10 Aug 2012 10:44:16 -0400 Subject: [PATCH] Fix two typos. Change-Id: I6b02a28b8dd658425b39bf7f5fb858efbb9023d7 Reviewed-on: https://review.openstack.org/11146 Approved: Monty Taylor Reviewed-by: Monty Taylor Tested-by: Jenkins --- modules/pypimirror/manifests/init.pp | 11 ++++++++++- modules/pypimirror/templates/run-mirror.sh.erb | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/modules/pypimirror/manifests/init.pp b/modules/pypimirror/manifests/init.pp index 783c447712..0ec673984c 100644 --- a/modules/pypimirror/manifests/init.pp +++ b/modules/pypimirror/manifests/init.pp @@ -45,7 +45,7 @@ class pypimirror ( $base_url, owner => "root", } - file { '/home/gerrit2/projects.yaml': + file { '/etc/openstackci/projects.yaml': owner => 'root', group => 'root', mode => 444, @@ -63,6 +63,15 @@ class pypimirror ( $base_url, 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': ensure => present, mode => 755, diff --git a/modules/pypimirror/templates/run-mirror.sh.erb b/modules/pypimirror/templates/run-mirror.sh.erb index 2fdce0e180..0c2b25bbcb 100644 --- a/modules/pypimirror/templates/run-mirror.sh.erb +++ b/modules/pypimirror/templates/run-mirror.sh.erb @@ -6,5 +6,5 @@ export PIP_DOWNLOAD_CACHE=<%= pip_cache %> export PIP_TEMP_DOWNLOAD=<%= pip_download %> export MIRROR_FILE_PATH=<%= mirror_file_path %> 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}