From 430b34414d19d49141ae54c5d442393e557a8765 Mon Sep 17 00:00:00 2001 From: Sean OMeara Date: Thu, 19 Dec 2013 10:23:37 -0500 Subject: [PATCH] FIX - Assign to runit_attrs rather than compare --- .kitchen.yml | 2 +- libraries/resource_runit_service.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index c6b7bdd..6ea66d1 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -56,7 +56,7 @@ platforms: - name: ubuntu-1204 driver_plugin: digitalocean driver_config: - image_id: 284203 + image_id: 1505447 flavor_id: 63 region_id: 1 ssh_key_ids: <%= ENV['DIGITAL_OCEAN_SSH_KEY_IDS'] %> diff --git a/libraries/resource_runit_service.rb b/libraries/resource_runit_service.rb index 82ba049..8931ec4 100644 --- a/libraries/resource_runit_service.rb +++ b/libraries/resource_runit_service.rb @@ -240,7 +240,7 @@ def runit_attributes_from_node(run_context) if run_context && run_context.node runit_attr = run_context.node[:runit] else - runit_attr == {} + runit_attr = {} end end end