diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-10-15 11:40:37 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2014-10-15 11:40:37 -0700 |
commit | b04f582abe201e414905008d93b94fafb7ae707d (patch) | |
tree | 48a12f6fe363d04deaac2f168db68e51bede5e25 | |
parent | 9974012c8640b731a0e91826fc64e1f5ff5d1096 (diff) | |
download | vyos-cloud-init-b04f582abe201e414905008d93b94fafb7ae707d.tar.gz vyos-cloud-init-b04f582abe201e414905008d93b94fafb7ae707d.zip |
Prefer immutable structures
-rw-r--r-- | cloudinit/config/cc_chef.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cloudinit/config/cc_chef.py b/cloudinit/config/cc_chef.py index f6f07bce..aa82cb0a 100644 --- a/cloudinit/config/cc_chef.py +++ b/cloudinit/config/cc_chef.py @@ -28,17 +28,17 @@ from cloudinit import util RUBY_VERSION_DEFAULT = "1.8" -CHEF_DIRS = [ +CHEF_DIRS = tuple([ '/etc/chef', '/var/log/chef', '/var/lib/chef', '/var/cache/chef', '/var/backups/chef', '/var/run/chef', -] -REQUIRED_CHEF_DIRS = [ +]) +REQUIRED_CHEF_DIRS = tuple([ '/etc/chef', -] +]) OMNIBUS_URL = "https://www.opscode.com/chef/install.sh" OMNIBUS_URL_RETRIES = 5 |