Alexandros Kosiaris has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/344348 )

Change subject: Add an os parameter to netops::check
......................................................................

Add an os parameter to netops::check

Add an os parameter to netops::check that defaults to undef and is
passed as is to monitoring::host. This should allow us to define the
operating system for a networking device

Change-Id: I918289114bc5ababb76fb7665ed46eddd07f242b
---
M modules/netops/manifests/check.pp
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/48/344348/1

diff --git a/modules/netops/manifests/check.pp 
b/modules/netops/manifests/check.pp
index 900c324..d975e7b 100644
--- a/modules/netops/manifests/check.pp
+++ b/modules/netops/manifests/check.pp
@@ -42,6 +42,7 @@
     $bgp=false,
     $interfaces=false,
     $parents=undef,
+    $os=undef,
 ) {
 
     # If we get an array convert it to a comma separated string
@@ -56,6 +57,7 @@
         ip_address => $ipv4,
         group      => $group,
         parents    => $real_parents,
+        os         => $os,
     }
 
     if $ipv6 {

-- 
To view, visit https://gerrit.wikimedia.org/r/344348
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I918289114bc5ababb76fb7665ed46eddd07f242b
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to