salt-common/sls/tayga/init.sls
Antsiferov Grigory 0253a125d7 Squashed commit of the following:
commit c3fcfd405ec5bd654e6c7745a5df6c531736f748
Author: Antsiferov Grigory <azr@bakka.su>
Date:   Mon Jul 18 05:41:53 2016 +0300

    * sls
    ** tayga
    *** init.sls
        Services for net.nat64 and tayga were added.
    *** config.sls
        Rewritten in pydsl and augeas.
    *** pkg.sls
        Init file, netifrc module, /var/db/tayga/ directory and tayga user were added.
    *** tayga.initd
        Openrc init file for tayga
    *** tayga.sh
        netifrc module for tayga.

commit 5085b0331623de9088475d366be3d5f5b6c89931
Author: Regna <ki@bakka.su>
Date:   Sun Jul 17 22:53:19 2016 +0300

    sls/tayga: draft;
2016-07-18 05:45:15 +03:00

25 lines
525 B
Plaintext

# Make some notes/includes/grains about a nat64 unbound.
include:
- tayga.pkg
- tayga.config
net_nat64:
service.running:
- name: 'net.nat64'
- watch:
- pkg: tayga_pkg
- augeas: append-nat64-config
- file: /lib/netifrc/net/tayga.sh
- file: /etc/init.d/net.nat64
tayga:
service.running:
- enable: True
- watch:
- pkg: tayga_pkg
- user: tayga_user
- service: net_nat64
- file: /etc/init.d/tayga
- file: /etc/tayga.conf
- file: /var/db/tayga/