2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-12-01 14:52:20 +00:00
Files
confluent/confluent_osdeploy/el7-diskless/profiles/default/syncfiles
T
Markus Hilger 64470862f9 Document include syntax for package lists and syncfiles
A <file> entry in an imgutil package list or a syncfiles file includes
another file, relative to the including file unless absolute. Describe
this in the imgutil and nodeapply man pages and add commented examples
to the default pkglist and syncfiles files.
2026-11-25 16:46:00 +01:00

34 lines
1.8 KiB
Plaintext

# It is advised to avoid /var/lib/confluent/public as a source for syncing. /var/lib/confluent/public
# is served without authentication and thus any sensitive content would be a risk. If wanting to host
# syncfiles on a common share, it is suggested to have /var/lib/confluent be the share and use some other
# subdirectory other than public.
#
# Syncing is performed as the 'confluent' user, so all source files must be accessible by the confluent user.
#
# This file lists files to synchronize or merge to the deployed systems from the deployment server
# To specify taking /some/path/hosts on the deployment server and duplicating it to /etc/hosts:
# Note particularly the use of '->' to delineate source from target.
# /some/path/hosts -> /etc/hosts
# If wanting to simply use the same path for source and destinaiton, the -> may be skipped:
# /etc/hosts
# More function is available, for example to limit the entry to run only on n1 through n8, and to set
# owner, group, and permissions in octal notation:
# /example/source -> n1-n8:/etc/target (owner=root,group=root,permissions=600)
# Entries under APPENDONCE: will be added to specified target, only if the target does not already
# contain the data in the source already in its entirety. This allows append in a fashion that
# is friendly to being run repeatedly
# Entries under MERGE: will attempt to be intelligently merged. This supports /etc/group and /etc/passwd
# Any supporting entries in /etc/shadow or /etc/gshadow are added automatically, with password disabled
# It also will not inject 'system' ids (under 1,000 usually) as those tend to be local and rpm managed.
# MERGE:
# /etc/passwd
# /etc/group
# Include entries from another file, relative to this file unless absolute. They go
# to the current section, and the section in effect before the include is restored after it:
# <common.syncfiles>