From eb89cf98cc7f16edadbefa053f33afc51b44375c Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Fri, 22 Jul 2016 10:05:00 -0400 Subject: [PATCH] Always create fact cleanup job --- awx/main/migrations/0010_v300_create_system_job_templates.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/awx/main/migrations/0010_v300_create_system_job_templates.py b/awx/main/migrations/0010_v300_create_system_job_templates.py index abf336efaa..e8b227a11d 100644 --- a/awx/main/migrations/0010_v300_create_system_job_templates.py +++ b/awx/main/migrations/0010_v300_create_system_job_templates.py @@ -4,9 +4,6 @@ from __future__ import unicode_literals from django.db import migrations, models from django.utils.timezone import now -from awx.api.license import feature_enabled - - def create_system_job_templates(apps, schema_editor): ''' Create default system job templates if not present. Create default schedules @@ -80,7 +77,7 @@ def create_system_job_templates(apps, schema_editor): polymorphic_ctype=sjt_ct, ), ) - if created and feature_enabled('system_tracking', bypass_database=True): + if created: sched = Schedule( name='Cleanup Fact Schedule', rrule='DTSTART:%s RRULE:FREQ=MONTHLY;INTERVAL=1;BYMONTHDAY=1' % now_str,