Use the new #node_properties method.
authorMahlon E. Smith <mahlon@martini.nu>
Wed, 30 Aug 2017 13:18:26 -0700
changeset 1 69f2ba4d4d93
parent 0 d99e1dffbc72
child 2 1d4b6d1449ed
Use the new #node_properties method.
lib/arborist/monitor/fping.rb
--- a/lib/arborist/monitor/fping.rb	Wed Aug 24 15:28:08 2016 -0700
+++ b/lib/arborist/monitor/fping.rb	Wed Aug 30 13:18:26 2017 -0700
@@ -28,7 +28,15 @@
 	log_to :arborist
 
 	# The version of this library.
-	VERSION = '0.1.0'
+	VERSION = '0.1.1'
+
+	# Always request the node addresses.
+	USED_PROPERTIES = [ :addresses ].freeze
+
+	### Return the properties used by this monitor.
+	def self::node_properties
+		return USED_PROPERTIES
+	end
 
 	attr_accessor :identifiers