Fix argument passing to pipeline-library for ruby-env

Change-Id: I9892ddd3c9bbfd11fec6443b2aa78684c86a8e31
diff --git a/test-salt-formulas-env.groovy b/test-salt-formulas-env.groovy
index 967d563..0bf1607 100644
--- a/test-salt-formulas-env.groovy
+++ b/test-salt-formulas-env.groovy
@@ -66,7 +66,7 @@
                 } else {
                   common.infoMsg("Docker Kitchen test configuration found, running Docker kitchen tests.")
                 }
-                ruby.ensureRubyEnv(host_to_lock=env.NODE_NAME)
+                ruby.ensureRubyEnv('2.6.6', "${env.NODE_NAME}")
                 if (fileExists(".travis.yml")) {
                   common.infoMsg(".travis.yml found, running custom kitchen init")
                   def kitchenConfigYML = readYaml(file: ".travis.yml")
@@ -141,7 +141,7 @@
                 kitchenFileName = ".kitchen.yml"
               }
               if (kitchenFileName) {
-                ruby.ensureRubyEnv(host_to_lock=env.NODE_NAME)
+                ruby.ensureRubyEnv('2.6.6', "${env.NODE_NAME}")
                 if (!fileExists("Gemfile")) {
                   sh("curl -s 'https://gerrit.mcp.mirantis.com/projects/salt-formulas%2Fsalt-formulas-scripts/branches/master/files/Gemfile/content' | base64 -d > ./Gemfile")
                   ruby.installKitchen()
diff --git a/test-salt-formulas-pipeline.groovy b/test-salt-formulas-pipeline.groovy
index 2216e8a..2e3dbc9 100644
--- a/test-salt-formulas-pipeline.groovy
+++ b/test-salt-formulas-pipeline.groovy
@@ -194,7 +194,7 @@
             }
             if (kitchenFileName) {
               def kitchenEnvs = []
-              ruby.ensureRubyEnv(host_to_lock=env.NODE_NAME)
+              ruby.ensureRubyEnv('2.6.6', "${env.NODE_NAME}")
               if (!fileExists("Gemfile")) {
                 sh("curl -s 'https://gerrit.mcp.mirantis.com/projects/salt-formulas%2Fsalt-formulas-scripts/branches/master/files/Gemfile/content' | base64 -d > ./Gemfile")
                 ruby.installKitchen()