create file - davidcarver/losf-cookbook GitHub Wiki
All files in LosF reside inside a node type's directory. For example
/admin/losf/config/const_files/clustername/nodetypename/filename
To add a file for the node type "master", create the file here.
# vim /admin/losf/config/const_files/clustername/master/hosts
The location of the file in the node type directory is unrelated to where it will be put into the node. That information is set here /admin/losf/config/config.clustername
[ConfigFiles]
/etc/hosts = yes
Next, run the update utility and the file will be applied
[root@master]# update
** Config dir -> /admin/losf/config
** Checking on OS packages to remove (clustername:master)
** Checking on Custom packages to remove (clustername:master)
** Syncing OS packages (discovery:master)
--> OK: OS packages in sync (3 rpms checked)
** Syncing Custom packages (discoveryclustername:mastermaster)
** Syncing configuration files (clustername:master)
--> UPDATING: [hosts] Differences found: requires syncing
--> [hosts] Sync successful
** Syncing partial file contents (clustername:master)
** Syncing non-existence of configuration files (clustername:master)
** Syncing soft links (clustername:master)
** Syncing runlevel services (clustername:master)
** Syncing file/directory permissions (clustername:master)
UPDATED: [RPMs: OS 0/3 Custom 0/0] [Files: 1/1] [Links: 0/0] [Services: 0/0] [Perms: 0/0] -> master