X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=common%2Fpuppet-opnfv%2Fmanifests%2Ftemplates%2Fdockerfile%2Fcontainer_scripts%2Fcheck_feature.sh;fp=fuel%2Fbuild%2Ff_jre%2Ftesting%2Ffake_init.pp;h=5062a46ea3c2bb9cdb38b4af7138eb68c1ce0c35;hb=a5a094a199226f312e795c3019c5793094e5378e;hp=83c7adb20f17428406f048dc0240549e1fa8d5d6;hpb=97e758182bf69a616db216a43636d96f2c776770;p=genesis.git diff --git a/fuel/build/f_jre/testing/fake_init.pp b/common/puppet-opnfv/manifests/templates/dockerfile/container_scripts/check_feature.sh similarity index 72% rename from fuel/build/f_jre/testing/fake_init.pp rename to common/puppet-opnfv/manifests/templates/dockerfile/container_scripts/check_feature.sh index 83c7adb..5062a46 100644 --- a/fuel/build/f_jre/testing/fake_init.pp +++ b/common/puppet-opnfv/manifests/templates/dockerfile/container_scripts/check_feature.sh @@ -7,7 +7,12 @@ # http://www.apache.org/licenses/LICENSE-2.0 ############################################################################## -$fuel_settings = parseyaml($astute_settings_yaml) +#!/usr/bin/expect +spawn /opt/odl/distribution-karaf-0.2.2-Helium-SR2/bin/client +expect "root>" +send "feature:list | grep -i odl-restconf\r" +send "\r\r\r" +expect "root>" +send "logout\r" -include opnfv::jre