I think hack is an unnecessarily strong term.

In the Cassandra snap, the config is copied into $SNAP_DATA at runtime
(if not already present) [1]. Helper programs are provided for getting,
setting, and environment variable lookup (for templating) [2].

Having native support for config will bring consistency with other
snapped applications, but otherwise this works quite well.

1: https://github.com/evandandrea/cassandra-snap/blob/master/wrapper-cassandra
2: https://lists.ubuntu.com/archives/snapcraft/2016-July/000362.html

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611287

Title:
  provide canonical way to install templates and configuration files
  into $SNAP_* dirs

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1611287/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to