Title: [opsview] [11573] Remove ref from opspacks
- Revision
- 11573
- Author
- tvoon
- Date
- 2013-02-21 17:40:51 +0000 (Thu, 21 Feb 2013)
Log Message
Remove ref from opspacks
Modified Paths
Modified: trunk/opsview-core/bin/create_opspack
===================================================================
--- trunk/opsview-core/bin/create_opspack 2013-02-21 17:33:49 UTC (rev 11572)
+++ trunk/opsview-core/bin/create_opspack 2013-02-21 17:40:51 UTC (rev 11573)
@@ -460,6 +460,8 @@
"attribute" => \@attributes,
};
+Opsview::Utils->remove_keys_from_hash( $export, ["ref"] );
+
open F, ">", "$norm_hosttemplate_dir/config.json"
or my_die( "Cannot open $norm_hosttemplate_dir/config.json for writing" );
print F $j->pretty->canonical->encode($export);
_______________________________________________
Opsview-checkins mailing list
Opsview-checkins@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-checkins