Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #66 from fizmat/no_agent_check
Browse files Browse the repository at this point in the history
Do not require aio_agent_version to be present
  • Loading branch information
DavidS committed Nov 20, 2019
2 parents 899b6bb + bc63b49 commit 57533eb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions manifests/devices.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 57533eb

Please sign in to comment.