Created
July 6, 2016 13:34
-
-
Save ferki/2e7bfda82808be13d10e1382ff4dc847 to your computer and use it in GitHub Desktop.
rex custom cmdb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set cmdb => { | |
type => 'YAML', | |
path => sub { | |
my ( $self, $item, $server ) = @_; | |
return ( "cmdb/$server.yml", "cmdb/default.yml" ); | |
}, | |
merge_behavior => 'LEFT_PRECEDENT', | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment