Merge "Correct typo in manila/share.pp resource chaining"

This commit is contained in:
Zuul 2017-12-18 18:46:16 +00:00 committed by Gerrit Code Review
commit 6f2616faf8

View File

@ -142,12 +142,12 @@ class tripleo::profile::base::manila::share (
"client.${cephfs_auth_id}/client mount gid": value => 0; "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' ], path => ['/bin', '/usr/bin' ],
command => "setfacl -m u:manila:r-- ${keyring_path}", command => "setfacl -m u:manila:r-- ${keyring_path}",
unless => "getfacl ${keyring_path} | grep -q user:manila:r--", 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: # manila netapp: