diff options
author | Joshua Harlow <jxharlow@godaddy.com> | 2016-07-25 12:43:32 -0700 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-08-10 15:04:53 -0600 |
commit | db72092b65ecc57bafe1ac6e81c99115f6bd1936 (patch) | |
tree | 3083dd47fa973d906396443f7615f524cea9785f /cloudinit/config/cc_yum_add_repo.py | |
parent | 4a1c0df6bc42d47b4e510b55c929419628ff9990 (diff) | |
download | vyos-cloud-init-db72092b65ecc57bafe1ac6e81c99115f6bd1936.tar.gz vyos-cloud-init-db72092b65ecc57bafe1ac6e81c99115f6bd1936.zip |
Add distro tags on config modules that should have it
Some of these really won't work to well on non-supporting
distros so to avoid further user pain tag this with the
supported distros where they should work.
Diffstat (limited to 'cloudinit/config/cc_yum_add_repo.py')
-rw-r--r-- | cloudinit/config/cc_yum_add_repo.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cloudinit/config/cc_yum_add_repo.py b/cloudinit/config/cc_yum_add_repo.py index 64fba869..22549e62 100644 --- a/cloudinit/config/cc_yum_add_repo.py +++ b/cloudinit/config/cc_yum_add_repo.py @@ -23,6 +23,8 @@ import six from cloudinit import util +distros = ['fedora', 'rhel'] + def _canonicalize_id(repo_id): repo_id = repo_id.lower().replace("-", "_") |