From bc63b498ad6ba5bfa3d6d10c976d25e4a6380444 Mon Sep 17 00:00:00 2001 From: Ivan Date: Sun, 17 Nov 2019 00:35:44 +0300 Subject: [PATCH] (maint) Finish removing node check based on aio_agent_version --- manifests/devices.pp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/manifests/devices.pp b/manifests/devices.pp index e4b2353..e397973 100644 --- a/manifests/devices.pp +++ b/manifests/devices.pp @@ -14,12 +14,6 @@ Hash $defaults = {}, ) { - # Validate node. - - unless has_key($facts, 'aio_agent_version') { - fail("Classification Error: 'device_manager::devices' declared on a device instead of an agent.") - } - # Initialize the concat resources used by conf and fact. # This allows an empty device_manager::devices hash to clear undeclared devices from conf and facts. # Note that concat is not used by run, resulting in orphaned Cron (or Scheduled Task) resources.