From b04f582abe201e414905008d93b94fafb7ae707d Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 15 Oct 2014 11:40:37 -0700 Subject: Prefer immutable structures --- cloudinit/config/cc_chef.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cloudinit') 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 -- cgit v1.2.3