Line 62:
Line 62:
===templates.metadata===
===templates.metadata===
−
Template output, ownership, and other metadata can also be controlled by configuration settings stored under /etc/e-smith/templates.metadata.
+
Template output file location, ownership, and other metadata can also be controlled by configuration settings stored under /etc/e-smith/templates.metadata.
While the default output location for most templated config files matches the path to the collection of template fragements, it is also possible to specify a different output filename using an entry within the /etc/e-smith/templates.metadata folder.
While the default output location for most templated config files matches the path to the collection of template fragements, it is also possible to specify a different output filename using an entry within the /etc/e-smith/templates.metadata folder.
−
Specifically, the qpsmtpd 'plugins' directives in /etc/e-smith/templates/var/service/qpsmtpd/plugins do NOT affect the content of /var/service/qpsmtpd/plugins as expected.
+
====/var/service/qpsmtpd/config/peers/0====
+
The qpsmtpd 'plugins' directives in /etc/e-smith/templates/var/service/qpsmtpd/config/plugins do NOT affect the content of /var/service/qpsmtpd/plugins as expected.
Instead, due to this line in /etc/e-smith/'''templates.metadata'''/var/service/qpsmtpd/config/plugins:
Instead, due to this line in /etc/e-smith/'''templates.metadata'''/var/service/qpsmtpd/config/plugins:
Line 76:
Line 77:
Will actually updates the contents of /var/service/qpsmtpd/config/peers/0.
Will actually updates the contents of /var/service/qpsmtpd/config/peers/0.
+
Note: /var/service/qpsmtpd/config/plugins is not templated at this time.
+
+
====/etc/samba/smb.cnf====
+
/etc/samba/smb.cnf is updated based on the template fragments in /etc/e-smith/templates/etc/smb.cnf
===Specific practical examples===
===Specific practical examples===