You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2019. It is now read-only.
The use case for this is files like /etc/hosts or /etc/ssh/ssh_known_hosts: files where just creating or removing a file in a foo.d directory isn't sufficient. The set of requirements are:
Must be able to add lines to a file that don't have a keyed identifier.
Must be able to idempotently remove lines from a file that contains a keyed identifier.
The keyed identifier may be at the beginning or end of a line. At the moment, the particular use cases have non-whitespace characters as identifiers, but the rest of the desired line may contain whitespace.
If at all possible, I would like to not add new catalog schema to support this feature. I'm hoping that the combination of luacat plus being able to execute arbitrary bash is powerful enough to support this feature. It may also be interesting to try to develop a means for testing luacat scripts as part of feature development on this, but not a must-have.
The text was updated successfully, but these errors were encountered:
The use case for this is files like /etc/hosts or /etc/ssh/ssh_known_hosts: files where just creating or removing a file in a foo.d directory isn't sufficient. The set of requirements are:
If at all possible, I would like to not add new catalog schema to support this feature. I'm hoping that the combination of luacat plus being able to execute arbitrary bash is powerful enough to support this feature. It may also be interesting to try to develop a means for testing luacat scripts as part of feature development on this, but not a must-have.
The text was updated successfully, but these errors were encountered: