From e2af381b815cb3122a2dac5432c0565af72e16bd Mon Sep 17 00:00:00 2001 From: Olivier Date: Sat, 2 Jan 2021 19:00:32 +0000 Subject: [PATCH] Make os-user provide home directories --- scone/default/recipes/linux.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scone/default/recipes/linux.py b/scone/default/recipes/linux.py index f166d84..1a6ee85 100644 --- a/scone/default/recipes/linux.py +++ b/scone/default/recipes/linux.py @@ -47,6 +47,9 @@ class LinuxUser(Recipe): if self.make_group: preparation.provides("os-group", self.user_name) + if self.home: + preparation.provides("directory", self.home) + async def cook(self, kitchen: Kitchen) -> None: # TODO(documentation): note this does not update users # acknowledge tracking