vendored/puppet/lib/puppet/node.rb in bolt-0.11.0 vs vendored/puppet/lib/puppet/node.rb in bolt-0.12.0

- old
+ new

@@ -28,10 +28,10 @@ @classes = data['classes'] || [] @parameters = data['parameters'] || {} env_name = data['environment'] env_name = env_name.intern unless env_name.nil? @environment_name = env_name - environment = env_name + environment = env_name # rubocop:disable Lint/UselessAssignment end def self.from_data_hash(data) node = new(name) node.initialize_from_hash(data)