summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2014-10-15 11:40:37 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2014-10-15 11:40:37 -0700
commitb04f582abe201e414905008d93b94fafb7ae707d (patch)
tree48a12f6fe363d04deaac2f168db68e51bede5e25 /cloudinit
parent9974012c8640b731a0e91826fc64e1f5ff5d1096 (diff)
downloadvyos-cloud-init-b04f582abe201e414905008d93b94fafb7ae707d.tar.gz
vyos-cloud-init-b04f582abe201e414905008d93b94fafb7ae707d.zip
Prefer immutable structures
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/config/cc_chef.py8
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