WMDE-leszek has uploaded a new change for review. https://gerrit.wikimedia.org/r/264745
Change subject: Phragile: Ensure clone before creating storage dir ...................................................................... Phragile: Ensure clone before creating storage dir Unless explicitly told Puppet could create a storage directory (a subdir of the directory where Phragile repository is cloned to) before git clone has been called. In that case git clone fails due to directory being non-empty. Change-Id: I35a114b02fd8330144a62685be9f626b484dec5e --- M modules/phragile/manifests/init.pp 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/45/264745/1 diff --git a/modules/phragile/manifests/init.pp b/modules/phragile/manifests/init.pp index b78f791..1114007 100644 --- a/modules/phragile/manifests/init.pp +++ b/modules/phragile/manifests/init.pp @@ -117,6 +117,7 @@ group => 'www-data', mode => '0775', recurse => true, + require => Git::Clone['phragile'], } exec { '/usr/bin/php artisan migrate': -- To view, visit https://gerrit.wikimedia.org/r/264745 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I35a114b02fd8330144a62685be9f626b484dec5e Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: WMDE-leszek <leszek.mani...@wikimedia.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits