예제 #1
0
def ipaservers(request, xmlrpc_setup):
    # Track the ipaservers hostgroup
    # Since the hostgroup is protected, we cannot use 'make_fixture()' because
    # it will try to delete the object when scope is destroyed and that will
    # fail. Thus, we only create it here.
    tracker = HostGroupTracker(name=u'ipaservers',
                               description=u'IPA server hosts')
    tracker.exists = True
    tracker.track_create()
    return tracker
예제 #2
0
def hostgroup4(request):
    tracker = HostGroupTracker(name=u'thostgroup4',
                               description=u'Automember test hostgroup4')
    return tracker.make_fixture(request)
예제 #3
0
def defaulthostgroup1(request):
    tracker = HostGroupTracker(name=u'defaulthostgroup1',
                               description=u'Automember test'
                                           'defaulthostgroup1')
    return tracker.make_fixture(request)
예제 #4
0
def hostgroup_single(request):
    tracker = HostGroupTracker(name=u'a')
    return tracker.make_fixture(request)
예제 #5
0
def hostgroup_invalid(request):
    tracker = HostGroupTracker(name=u'@invalid')
    return tracker.make_fixture(request)
예제 #6
0
def hostgroup(request):
    tracker = HostGroupTracker(name=u'hostgroup')
    return tracker.make_fixture(request)
예제 #7
0
def hostgroup2(request, xmlrpc_setup):
    tracker = HostGroupTracker(name=u'hostgroup2')
    return tracker.make_fixture(request)
예제 #8
0
def hostgroup2(request):
    tracker = HostGroupTracker(name=u"hostgroup2")
    return tracker.make_fixture(request)
def hostgroup2(request):
    tracker = HostGroupTracker(name=u'thostgroup2',
                               description=u'Automember test hostgroup2')
    return tracker.make_fixture(request)
def defaulthostgroup1(request):
    tracker = HostGroupTracker(name=u'defaulthostgroup1',
                               description=u'Automember test'
                               'defaulthostgroup1')
    return tracker.make_fixture(request)
예제 #11
0
def hostgroup_invalid(request, xmlrpc_setup):
    tracker = HostGroupTracker(name=u'@invalid')
    return tracker.make_fixture(request)
예제 #12
0
def hostgroup_single(request):
    tracker = HostGroupTracker(name=u'a')
    return tracker.make_fixture(request)
예제 #13
0
def hostgroup(request):
    tracker = HostGroupTracker(name=u'hostgroup')
    return tracker.make_fixture(request)
예제 #14
0
def hostgroup1(request, xmlrpc_setup):
    tracker = HostGroupTracker(name=u'thostgroup1',
                               description=u'Automember test hostgroup1')
    return tracker.make_fixture(request)