From 7e797ac45bcffe2a0c79aef8f7388a0178db9959 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Tue, 23 Jun 2015 16:17:31 +0000 Subject: [PATCH] There is no enabled column here. --- .../manual/staging-sync/templates/koji-reset-staging.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql index a05e3e1303..e293f2dba9 100644 --- a/playbooks/manual/staging-sync/templates/koji-reset-staging.sql +++ b/playbooks/manual/staging-sync/templates/koji-reset-staging.sql @@ -72,8 +72,8 @@ BEGIN; -- add our staging builders, dynamically pulled from ansible inventory select now() as time, 'adding extra host(s)' as msg; -{% for host in groups['buildvm-stg'] %} -insert into users (name, usertype, status, enabled) values ('{{ host }}', 1, 0, True); +{% for host in groups['buildvm-stg'] + groups['koji-stg'] %} +insert into users (name, usertype, status) values ('{{ host }}', 1, 0); insert into host (user_id, name, arches) values ( (select id from users where name='{{host}}'), '{{host}}', 'i386 x86_64'); insert into host_channels (host_id, channel_id) values (