Provided a list of folders to be created and configured on the target infrastructure
Each item of the list has the following attributes:
|path||yes||The path of the folder to create|
|scope||yes||On which target does this folder be create? May be:
|owner||yes||The owner of the file|
|group||yes||The group of the file|
|mode||yes||The permission of the file. Must be an octal representation embedded in a string (ie: "0755")|
|no_remove||no||Boolean: Prevent this folder to be removed when HADeploy will be used in REMOVE mode.
|ranger_policy||no||Definition of Apache Ranger policy bound to this folder. Parameters are same as
The policy name can be explicitly defined. Otherwise, a name will be generated as "
See example below for more information
|when||no||Boolean. Allow conditional deployment of this item.
folders: - path: /var/log/myapp scope: all owner: myapp group: myapp model: "0755" - path: /apps/myapp scope: hdfs owner: myapp group: myapp model: "0755" ranger_policy: permissions: - groups: - group1 accesses: - read - execute