def task_enable_docker_head_repository(distribution):
 if is_centos_or_rhel(distribution):
  return sequence([put(content=dedent('                [virt7-testing]\n                name=virt7-testing\n                baseurl=http://cbs.centos.org/repos/virt7-testing/x86_64/os/\n                enabled=1\n                gpgcheck=0\n                '), path='/etc/yum.repos.d/virt7-testing.repo')])
 else:
  raise DistributionNotSupported(distribution=distribution)

def task_enable_docker_head_repository ( distribution ) : if is_centos_or_rhel ( distribution ) : return sequence ( [ put ( content = dedent ( '                [virt7-testing]\n                name=virt7-testing\n                baseurl=http://cbs.centos.org/repos/virt7-testing/x86_64/os/\n                enabled=1\n                gpgcheck=0\n                ' ) , path = '/etc/yum.repos.d/virt7-testing.repo' ) ] ) else : raise DistributionNotSupported ( distribution = distribution )
enable the distributions repository containing in-development docker builds .