From d4e782c1f8eca94cc92743926d0df48cd3c4d458 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 21 Sep 2017 10:09:53 +0200 Subject: Fixed classify.inputs warning in messages log files --- promises.cf | 1 - services/main.cf | 16 ++++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/promises.cf b/promises.cf index b082c27..3721c62 100644 --- a/promises.cf +++ b/promises.cf @@ -15,7 +15,6 @@ body common control "cfengine/core_policies.cf", @(core_policies.inputs), "services/main.cf", - @(classify.inputs), }; } diff --git a/services/main.cf b/services/main.cf index c948457..6d25f3e 100644 --- a/services/main.cf +++ b/services/main.cf @@ -1,3 +1,13 @@ +body file control +{ + inputs => { + "services/common.cf", + "services/applications.cf", + "services/os.cf", + "services/julien.cf", + }; +} + bundle agent classify { vars: @@ -10,12 +20,6 @@ bundle agent classify "check_mk", "sshd", }; - "inputs" slist => { - "services/common.cf", - "services/applications.cf", - "services/os.cf", - "services/julien.cf", - }; classes: any:: "containers" or => { -- cgit v1.2.3