From ec6ea521b604155707312d94a8a62e0043ed710c Mon Sep 17 00:00:00 2001 From: Alexander Weidinger Date: Wed, 31 Mar 2021 10:37:04 +0200 Subject: [PATCH] feat(subcomponent): drop subcomponent, unbound does not have any. --- docs/README.rst | 22 --------------- pillar.example | 2 -- test/integration/default/controls/config.rb | 4 +-- .../default/controls/subcomponent_config.rb | 25 ----------------- .../default/files/_mapdata/amazonlinux-1.yaml | 4 --- .../default/files/_mapdata/amazonlinux-2.yaml | 4 --- .../files/_mapdata/arch-base-latest.yaml | 4 --- .../default/files/_mapdata/centos-6.yaml | 4 --- .../default/files/_mapdata/centos-7.yaml | 4 --- .../default/files/_mapdata/centos-8.yaml | 4 --- .../default/files/_mapdata/debian-10.yaml | 4 --- .../default/files/_mapdata/debian-9.yaml | 4 --- .../default/files/_mapdata/fedora-31.yaml | 4 --- .../default/files/_mapdata/fedora-32.yaml | 4 --- .../default/files/_mapdata/fedora-33.yaml | 4 --- .../default/files/_mapdata/gentoo-2-sysd.yaml | 4 --- .../default/files/_mapdata/gentoo-2-sysv.yaml | 4 --- .../default/files/_mapdata/opensuse-15.yaml | 4 --- .../files/_mapdata/opensuse-tumbleweed.yaml | 4 --- .../default/files/_mapdata/oraclelinux-7.yaml | 4 --- .../default/files/_mapdata/oraclelinux-8.yaml | 4 --- .../default/files/_mapdata/ubuntu-16.yaml | 4 --- .../default/files/_mapdata/ubuntu-18.yaml | 4 --- .../default/files/_mapdata/ubuntu-20.yaml | 4 --- test/salt/pillar/upstart.sls | 2 -- unbound/clean.sls | 1 - unbound/init.sls | 1 - unbound/parameters/defaults.yaml | 2 -- unbound/subcomponent/clean.sls | 5 ---- unbound/subcomponent/config/clean.sls | 16 ----------- unbound/subcomponent/config/file.sls | 27 ------------------- .../files/default/subcomponent-example.tmpl | 6 ----- .../default/subcomponent-example.tmpl.jinja | 6 ----- unbound/subcomponent/config/init.sls | 5 ---- unbound/subcomponent/init.sls | 5 ---- 35 files changed, 1 insertion(+), 208 deletions(-) delete mode 100644 test/integration/default/controls/subcomponent_config.rb delete mode 100644 unbound/subcomponent/clean.sls delete mode 100644 unbound/subcomponent/config/clean.sls delete mode 100644 unbound/subcomponent/config/file.sls delete mode 100644 unbound/subcomponent/config/files/default/subcomponent-example.tmpl delete mode 100644 unbound/subcomponent/config/files/default/subcomponent-example.tmpl.jinja delete mode 100644 unbound/subcomponent/config/init.sls delete mode 100644 unbound/subcomponent/init.sls diff --git a/docs/README.rst b/docs/README.rst index f3dfc4e..24fca94 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -129,28 +129,6 @@ dependency on ``unbound.service.clean`` via include list. This state will remove the unbound package and has a depency on ``unbound.config.clean`` via include list. -``unbound.subcomponent`` -^^^^^^^^^^^^^^^^^^^^^^^^^ - -*Meta-state (This is a state that includes other states)*. - -This state installs a subcomponent configuration file before -configuring and starting the unbound service. - -``unbound.subcomponent.config`` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -This state will configure the unbound subcomponent and has a -dependency on ``unbound.config`` via include list. - -``unbound.subcomponent.config.clean`` -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - -This state will remove the configuration of the unbound subcomponent -and reload the unbound service by a dependency on -``unbound.service.running`` via include list and ``watch_in`` -requisite. - Testing ------- diff --git a/pillar.example b/pillar.example index d573d86..ca49814 100644 --- a/pillar.example +++ b/pillar.example @@ -49,8 +49,6 @@ unbound: source_files: unbound-config-file-file-managed: - 'example.tmpl.jinja' - unbound-subcomponent-config-file-file-managed: - - 'subcomponent-example.tmpl.jinja' # Just for testing purposes winner: pillar diff --git a/test/integration/default/controls/config.rb b/test/integration/default/controls/config.rb index dd0864b..f3e17a5 100644 --- a/test/integration/default/controls/config.rb +++ b/test/integration/default/controls/config.rb @@ -26,9 +26,7 @@ control 'unbound.config.file' do should include( '"tofs": {"files_switch": ["any/path/can/be/used/here", "id", '\ '"roles", "osfinger", "os", "os_family"], "source_files": '\ - '{"unbound-config-file-file-managed": ["example.tmpl.jinja"], '\ - '"unbound-subcomponent-config-file-file-managed": '\ - '["subcomponent-example.tmpl.jinja"]}' + '{"unbound-config-file-file-managed": ["example.tmpl.jinja"]}' ) # rubocop:enable Layout/LineLength # rubocop:enable Lint/RedundantCopDisableDirective diff --git a/test/integration/default/controls/subcomponent_config.rb b/test/integration/default/controls/subcomponent_config.rb deleted file mode 100644 index 4325ec6..0000000 --- a/test/integration/default/controls/subcomponent_config.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -control 'unbound.subcomponent.config.file' do - title 'Verify the subcomponent configuration file' - - describe file('/etc/unbound-subcomponent-formula.conf') do - it { should be_file } - it { should be_owned_by 'root' } - it { should be_grouped_into 'root' } - its('mode') { should cmp '0644' } - its('content') do - should include( - '# File managed by Salt at '\ - '.' - ) - end - its('content') do - should include( - 'This is another subcomponent example file from SaltStack '\ - 'template-formula.' - ) - end - end -end diff --git a/test/integration/default/files/_mapdata/amazonlinux-1.yaml b/test/integration/default/files/_mapdata/amazonlinux-1.yaml index c4c4443..f4cd0e0 100644 --- a/test/integration/default/files/_mapdata/amazonlinux-1.yaml +++ b/test/integration/default/files/_mapdata/amazonlinux-1.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: crond - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/amazonlinux-2.yaml b/test/integration/default/files/_mapdata/amazonlinux-2.yaml index b6fa323..830ded6 100644 --- a/test/integration/default/files/_mapdata/amazonlinux-2.yaml +++ b/test/integration/default/files/_mapdata/amazonlinux-2.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/arch-base-latest.yaml b/test/integration/default/files/_mapdata/arch-base-latest.yaml index 35ae089..ef4538f 100644 --- a/test/integration/default/files/_mapdata/arch-base-latest.yaml +++ b/test/integration/default/files/_mapdata/arch-base-latest.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/centos-6.yaml b/test/integration/default/files/_mapdata/centos-6.yaml index 9599add..fc4805e 100644 --- a/test/integration/default/files/_mapdata/centos-6.yaml +++ b/test/integration/default/files/_mapdata/centos-6.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: crond - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/centos-7.yaml b/test/integration/default/files/_mapdata/centos-7.yaml index 6f780b4..8d677b4 100644 --- a/test/integration/default/files/_mapdata/centos-7.yaml +++ b/test/integration/default/files/_mapdata/centos-7.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/centos-8.yaml b/test/integration/default/files/_mapdata/centos-8.yaml index 71c0a2e..fa20ac6 100644 --- a/test/integration/default/files/_mapdata/centos-8.yaml +++ b/test/integration/default/files/_mapdata/centos-8.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/debian-10.yaml b/test/integration/default/files/_mapdata/debian-10.yaml index 893ac7c..c64e444 100644 --- a/test/integration/default/files/_mapdata/debian-10.yaml +++ b/test/integration/default/files/_mapdata/debian-10.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/debian-9.yaml b/test/integration/default/files/_mapdata/debian-9.yaml index 47166e1..3042fbd 100644 --- a/test/integration/default/files/_mapdata/debian-9.yaml +++ b/test/integration/default/files/_mapdata/debian-9.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/fedora-31.yaml b/test/integration/default/files/_mapdata/fedora-31.yaml index 9360ec6..db5b893 100644 --- a/test/integration/default/files/_mapdata/fedora-31.yaml +++ b/test/integration/default/files/_mapdata/fedora-31.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/fedora-32.yaml b/test/integration/default/files/_mapdata/fedora-32.yaml index a6f624c..506eb70 100644 --- a/test/integration/default/files/_mapdata/fedora-32.yaml +++ b/test/integration/default/files/_mapdata/fedora-32.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/fedora-33.yaml b/test/integration/default/files/_mapdata/fedora-33.yaml index b1cb253..8180a2a 100644 --- a/test/integration/default/files/_mapdata/fedora-33.yaml +++ b/test/integration/default/files/_mapdata/fedora-33.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/gentoo-2-sysd.yaml b/test/integration/default/files/_mapdata/gentoo-2-sysd.yaml index 10e5594..289ed9b 100644 --- a/test/integration/default/files/_mapdata/gentoo-2-sysd.yaml +++ b/test/integration/default/files/_mapdata/gentoo-2-sysd.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/gentoo-2-sysv.yaml b/test/integration/default/files/_mapdata/gentoo-2-sysv.yaml index 40a58e8..e442389 100644 --- a/test/integration/default/files/_mapdata/gentoo-2-sysv.yaml +++ b/test/integration/default/files/_mapdata/gentoo-2-sysv.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: mtab - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/opensuse-15.yaml b/test/integration/default/files/_mapdata/opensuse-15.yaml index aad1fda..bcd230d 100644 --- a/test/integration/default/files/_mapdata/opensuse-15.yaml +++ b/test/integration/default/files/_mapdata/opensuse-15.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/opensuse-tumbleweed.yaml b/test/integration/default/files/_mapdata/opensuse-tumbleweed.yaml index 358e686..e40b348 100644 --- a/test/integration/default/files/_mapdata/opensuse-tumbleweed.yaml +++ b/test/integration/default/files/_mapdata/opensuse-tumbleweed.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/oraclelinux-7.yaml b/test/integration/default/files/_mapdata/oraclelinux-7.yaml index 08ea58c..a4b8c59 100644 --- a/test/integration/default/files/_mapdata/oraclelinux-7.yaml +++ b/test/integration/default/files/_mapdata/oraclelinux-7.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/oraclelinux-8.yaml b/test/integration/default/files/_mapdata/oraclelinux-8.yaml index a8d8a62..45717fb 100644 --- a/test/integration/default/files/_mapdata/oraclelinux-8.yaml +++ b/test/integration/default/files/_mapdata/oraclelinux-8.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/ubuntu-16.yaml b/test/integration/default/files/_mapdata/ubuntu-16.yaml index 1269502..722314e 100644 --- a/test/integration/default/files/_mapdata/ubuntu-16.yaml +++ b/test/integration/default/files/_mapdata/ubuntu-16.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/ubuntu-18.yaml b/test/integration/default/files/_mapdata/ubuntu-18.yaml index b60634a..ed62a18 100644 --- a/test/integration/default/files/_mapdata/ubuntu-18.yaml +++ b/test/integration/default/files/_mapdata/ubuntu-18.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/integration/default/files/_mapdata/ubuntu-20.yaml b/test/integration/default/files/_mapdata/ubuntu-20.yaml index b9421a8..9a9ca7d 100644 --- a/test/integration/default/files/_mapdata/ubuntu-20.yaml +++ b/test/integration/default/files/_mapdata/ubuntu-20.yaml @@ -26,8 +26,6 @@ values: rootgroup: root service: name: systemd-journald - subcomponent: - config: /etc/unbound-subcomponent-formula.conf tofs: files_switch: - any/path/can/be/used/here @@ -39,6 +37,4 @@ values: source_files: unbound-config-file-file-managed: - example.tmpl.jinja - unbound-subcomponent-config-file-file-managed: - - subcomponent-example.tmpl.jinja winner: pillar diff --git a/test/salt/pillar/upstart.sls b/test/salt/pillar/upstart.sls index 14b6b7d..b7ea064 100644 --- a/test/salt/pillar/upstart.sls +++ b/test/salt/pillar/upstart.sls @@ -44,8 +44,6 @@ unbound: source_files: unbound-config-file-file-managed: - 'example.tmpl.jinja' - unbound-subcomponent-config-file-file-managed: - - 'subcomponent-example.tmpl.jinja' # Just for testing purposes winner: pillar diff --git a/unbound/clean.sls b/unbound/clean.sls index 9e45fb4..2cefe7d 100644 --- a/unbound/clean.sls +++ b/unbound/clean.sls @@ -2,7 +2,6 @@ # vim: ft=sls include: - - .subcomponent.clean - .service.clean - .config.clean - .package.clean diff --git a/unbound/init.sls b/unbound/init.sls index 275d1fc..858a8e6 100644 --- a/unbound/init.sls +++ b/unbound/init.sls @@ -5,4 +5,3 @@ include: - .package - .config - .service - - .subcomponent diff --git a/unbound/parameters/defaults.yaml b/unbound/parameters/defaults.yaml index 5cc2395..c359246 100644 --- a/unbound/parameters/defaults.yaml +++ b/unbound/parameters/defaults.yaml @@ -10,8 +10,6 @@ values: config: '/etc/unbound' service: name: unbound - subcomponent: - config: '/etc/unbound-subcomponent-formula.conf' # Just here for testing added_in_defaults: defaults_value winner: defaults diff --git a/unbound/subcomponent/clean.sls b/unbound/subcomponent/clean.sls deleted file mode 100644 index 564769d..0000000 --- a/unbound/subcomponent/clean.sls +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=sls - -include: - - .config.clean diff --git a/unbound/subcomponent/config/clean.sls b/unbound/subcomponent/config/clean.sls deleted file mode 100644 index 700d40f..0000000 --- a/unbound/subcomponent/config/clean.sls +++ /dev/null @@ -1,16 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=sls - -{#- Get the `tplroot` from `tpldir` #} -{%- set tplroot = tpldir.split('/')[0] %} -{%- set sls_service_clean = tplroot ~ '.service.clean' %} -{%- from tplroot ~ "/map.jinja" import mapdata as unbound with context %} - -include: - - {{ sls_service_clean }} - -unbound-subcomponent-config-clean-file-absent: - file.absent: - - name: {{ unbound.subcomponent.config }} - - watch_in: - - sls: {{ sls_service_clean }} diff --git a/unbound/subcomponent/config/file.sls b/unbound/subcomponent/config/file.sls deleted file mode 100644 index 8e4fead..0000000 --- a/unbound/subcomponent/config/file.sls +++ /dev/null @@ -1,27 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=sls - -{#- Get the `tplroot` from `tpldir` #} -{%- set tplroot = tpldir.split('/')[0] %} -{%- set sls_config_file = tplroot ~ '.config.file' %} -{%- from tplroot ~ "/map.jinja" import mapdata as unbound with context %} -{%- from tplroot ~ "/libtofs.jinja" import files_switch with context %} - -include: - - {{ sls_config_file }} - -unbound-subcomponent-config-file-file-managed: - file.managed: - - name: {{ unbound.subcomponent.config }} - - source: {{ files_switch(['subcomponent-example.tmpl'], - lookup='unbound-subcomponent-config-file-file-managed', - use_subpath=True - ) - }} - - mode: 644 - - user: root - - group: {{ unbound.rootgroup }} - - makedirs: True - - template: jinja - - require_in: - - sls: {{ sls_config_file }} diff --git a/unbound/subcomponent/config/files/default/subcomponent-example.tmpl b/unbound/subcomponent/config/files/default/subcomponent-example.tmpl deleted file mode 100644 index 522de00..0000000 --- a/unbound/subcomponent/config/files/default/subcomponent-example.tmpl +++ /dev/null @@ -1,6 +0,0 @@ -######################################################################## -# File managed by Salt at <{{ source }}>. -# Your changes will be overwritten. -######################################################################## - -This is a subcomponent example file from SaltStack template-formula. diff --git a/unbound/subcomponent/config/files/default/subcomponent-example.tmpl.jinja b/unbound/subcomponent/config/files/default/subcomponent-example.tmpl.jinja deleted file mode 100644 index cbfd51d..0000000 --- a/unbound/subcomponent/config/files/default/subcomponent-example.tmpl.jinja +++ /dev/null @@ -1,6 +0,0 @@ -######################################################################## -# File managed by Salt at <{{ source }}>. -# Your changes will be overwritten. -######################################################################## - -This is another subcomponent example file from SaltStack template-formula. diff --git a/unbound/subcomponent/config/init.sls b/unbound/subcomponent/config/init.sls deleted file mode 100644 index 465ddfe..0000000 --- a/unbound/subcomponent/config/init.sls +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=sls - -include: - - .file diff --git a/unbound/subcomponent/init.sls b/unbound/subcomponent/init.sls deleted file mode 100644 index 6003be1..0000000 --- a/unbound/subcomponent/init.sls +++ /dev/null @@ -1,5 +0,0 @@ -# -*- coding: utf-8 -*- -# vim: ft=sls - -include: - - .config