def _is_master():
 return (__salt__['config.option']('solr.type') == 'master')

def _is_master ( ) : return ( __salt__ [ 'config.option' ] ( 'solr.type' ) == 'master' )
private method simple method to determine if the minion is configured as master or slave return: boolean:: true if __opts__[solr .