Changeset 3040 for trunk/packages/invirt-dev/invirt-build-conf
- Timestamp:
- Jul 6, 2010, 12:28:10 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-dev/invirt-build-conf
r3039 r3040 54 54 print >>f, 'build %s %s %s' % (pocket, build_handler, acl_path(pocket)) 55 55 56 os.rename(conf_name, '/etc/remctl/conf.d/build') 56 with atomic_write('/etc/remctl/acl/repo_admin') as f: 57 acl = authz.expandAdmin(config.build.repo_admin, None) 58 print >>f, '\n'.join(userToPrinc(a) for a in acl) 57 59 58 k5login_fd, k5login_name = tempfile.mkstemp() 59 k5login = os.fdopen(k5login_fd, 'r+') 60 print >>k5login, '\n'.join(all_devs) 60 with atomic_write('/etc/remctl/conf.d/repo_admin') as f: 61 print >>f, 'create repo /usr/bin/invirt-add-repo /etc/remctl/acl/repo_admin' 61 62 62 63 with atomic_write(os.path.join(builder._REPO_DIR, '.k5login')) as f:
Note: See TracChangeset
for help on using the changeset viewer.