From 3da39c49e24b064af5fdd754da787e95dc2e1c06 Mon Sep 17 00:00:00 2001 From: Robert Drake Date: Wed, 9 Nov 2016 23:43:54 -0500 Subject: renamed alvarion -> alvarion.rb I believe from this: require File.join dir, file+'.rb' That the only way this model would work is if it has a .rb extension. I don't have any of these devices to test if this works. --- lib/oxidized/model/alvarion | 13 ------------- lib/oxidized/model/alvarion.rb | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) delete mode 100644 lib/oxidized/model/alvarion create mode 100644 lib/oxidized/model/alvarion.rb (limited to 'lib/oxidized/model') diff --git a/lib/oxidized/model/alvarion b/lib/oxidized/model/alvarion deleted file mode 100644 index 3c762de..0000000 --- a/lib/oxidized/model/alvarion +++ /dev/null @@ -1,13 +0,0 @@ -class Alvarion < Oxidized::Model - - # Used in Alvarion wisp equipment - - # Run this command as an instance of Model so we can access node - pre do - cmd "#{node.auth[:password]}.cfg" - end - - - cfg :tftp {} - -end diff --git a/lib/oxidized/model/alvarion.rb b/lib/oxidized/model/alvarion.rb new file mode 100644 index 0000000..3c762de --- /dev/null +++ b/lib/oxidized/model/alvarion.rb @@ -0,0 +1,13 @@ +class Alvarion < Oxidized::Model + + # Used in Alvarion wisp equipment + + # Run this command as an instance of Model so we can access node + pre do + cmd "#{node.auth[:password]}.cfg" + end + + + cfg :tftp {} + +end -- cgit v1.2.1