if ret['changes'] or not definition:
            if __opts__['test']:
                if not template:
                    ret['comment'] = 'Search template {0} does not exist and will be created'.format(name)
                else: