file.directory and user.present: how to configure dependencies
Hi List, I am having trouble configuring dependencies between the existence of a user and his homedir ( a mounted lv ). If I put the user as a requirement for the chown (file.directory) I get a python error: "RecursionError: maximum recursion depth exceeded while calling a Python object". How should I do it? Here's my current code: sapinst: group.present: - gid: 200 sapsys: group.present: - gid: 201 daaadm: user.present: - require: - group: sapsys - group: sapinst - mount: /usr/sap/DAA - uid: 1112 - gid: 201 - home: /usr/sap/DAA - groups: - sapinst chown_/usr/sap/DAA_to_daaadm: file.directory: - name: /usr/sap/DAA - user: daaadm - group: sapsys - require: - user: daaadm Thanks a lot, Heiner
participants (1)
-
Heiner Wulfhorst