Skip to content
Snippets Groups Projects
Commit abde3ecb authored by Nicolas Dandrimont's avatar Nicolas Dandrimont
Browse files

sort .gitignore in bin/import-puppet-module

parent 6852b9df
No related branches found
No related tags found
No related merge requests found
/private/swh-private-data/
/swh-dar/
/swh-gunicorn/
/swh-mediawiki/
/swh-postfix/
/swh-profile/
/swh-role/
/swh-site/
/swh-systemd/
/swh-uwsgi/
/camptocamp-systemd/
/claranet-varnish/
/icinga-icinga2/
......@@ -15,8 +5,10 @@
/inkblot-bind/
/mosen-cups/
/openstack-ceph/
/private/swh-private-data/
/puppet-extlib/
/puppet-nginx/
/puppet-php/
/puppet-unattended_upgrades/
/puppetlabs-apache/
/puppetlabs-apt/
......@@ -39,8 +31,16 @@
/ssm-hitch/
/ssm-munin/
/stm-debconf/
/swh-dar/
/swh-gunicorn/
/swh-mediawiki/
/swh-postfix/
/swh-profile/
/swh-role/
/swh-site/
/swh-systemd/
/swh-uwsgi/
/theforeman-puppet/
/trepasi-debnet/
/wikimedia-kafka/
/wikimedia-zookeeper/
/puppet-php/
......@@ -171,7 +171,7 @@ def update_mrconfig(module_name, phabricator_repo, upstream_repo):
def update_gitignore(modules):
with tempfile.NamedTemporaryFile(mode='w+', dir='.', delete=False) as f:
for module in modules:
for module in sorted(modules):
if module == 'DEFAULT':
continue
print('/%s/' % module, file=f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment