From 65d226a925f003e4be6077d60da4c99eb1049a9e Mon Sep 17 00:00:00 2001 From: Keith Schincke Date: Sat, 16 Dec 2017 21:39:00 -0500 Subject: [PATCH] Correct typo in manila/share.pp resource chaining A typo error resulted in an attempted resource chaining of Ceph::Key[client.manila] to Exec[exec-setfacl-manila-manila]. The actual exec resource is Exec[exec-setfacl-manila] Change-Id: I78eec6022211b0e82c06599dea300961a2309f0c --- manifests/profile/base/manila/share.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifests/profile/base/manila/share.pp b/manifests/profile/base/manila/share.pp index e40a666bc..998d6512b 100644 --- a/manifests/profile/base/manila/share.pp +++ b/manifests/profile/base/manila/share.pp @@ -142,12 +142,12 @@ class tripleo::profile::base::manila::share ( "client.${cephfs_auth_id}/client mount gid": value => 0; } - exec{ "exec-setfacl-${cephfs_auth_id}}": + exec{ "exec-setfacl-${cephfs_auth_id}": path => ['/bin', '/usr/bin' ], command => "setfacl -m u:manila:r-- ${keyring_path}", unless => "getfacl ${keyring_path} | grep -q user:manila:r--", } - Ceph::Key<| title == "client.${cephfs_auth_id}" |> -> Exec["exec-setfacl-${cephfs_auth_id}-manila"] + Ceph::Key<| title == "client.${cephfs_auth_id}" |> -> Exec["exec-setfacl-${cephfs_auth_id}"] } # manila netapp: