Open vincentbernat opened 10 years ago
I would be careful to add everything in /etc/
as config file by default. What about this?
config_files '/etc'
If an argument to config_files
is a directory, everything in that directory will be marked as config file.
What do you think?
Yes, that would ne nice.
would also be nice if config_files
supported globs:
config_files '/etc/*.conf'
Note that I pushed a change in FPM recently to ensure that, by default, everything in /etc
is a configuration file. This is effective since v1.4.0.
can you spare details (commit link, ticket link) to answer my %config attribute questions here: #118
also is there way to invert your "everything is config" behaviour for some specific files?
ah, it's debian specific then?
Yes, it is. Didn't know the convention for RPM.
There's no such global convention in RPM so this is probably fine.
The configuration files need to be declared with:
When doing "real" Debian packages, everything in
/etc
is automatically declared as a configuration file (unless otherwise specified). It would be convenient to have the same thing.I am still pretty new at fpm/fpm-cookery, so maybe this is a "problem" in fpm instead. Tell me.