summaryrefslogtreecommitdiff
path: root/lib/chef/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/node.rb')
-rw-r--r--lib/chef/node.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/node.rb b/lib/chef/node.rb
index b04e607624..0c13e5474a 100644
--- a/lib/chef/node.rb
+++ b/lib/chef/node.rb
@@ -1,9 +1,8 @@
-#
# Author:: Adam Jacob (<adam@opscode.com>)
# Author:: Christopher Brown (<cb@opscode.com>)
# Author:: Christopher Walters (<cw@opscode.com>)
# Author:: Tim Hinderliter (<tim@opscode.com>)
-# Copyright:: Copyright (c) 2008-2011 Opscode, Inc.
+# Copyright:: Copyright (c) 2008-2015 Chef Software, Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -372,7 +371,7 @@ class Chef
# Lazy initializer for tags attribute
def tags
- normal[:tags] = [] unless attribute?(:tags)
+ normal[:tags] = Array(normal[:tags])
normal[:tags]
end