From d8ad7c08738aa447a2e68323e34e3c8fe60f3d25 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Tue, 13 May 2014 17:00:32 -0700 Subject: [PATCH] When adding an apt repo, run "apt-get update" unconditionally Signed-off-by: Dan Mick --- ceph_deploy/hosts/debian/install.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ceph_deploy/hosts/debian/install.py b/ceph_deploy/hosts/debian/install.py index eb8a0d7..f8d1b9b 100644 --- a/ceph_deploy/hosts/debian/install.py +++ b/ceph_deploy/hosts/debian/install.py @@ -171,9 +171,11 @@ def repo_install(distro, repo_name, baseurl, gpgkey, **kw): safe_filename ) + # repo is not operable until an update + pkg_managers.apt_update(distro.conn) + if install_ceph: # Before any install, make sure we have `wget` - pkg_managers.apt_update(distro.conn) packages = ( 'ceph', 'ceph-mds', -- 2.47.3