#=============================================================================== # vim: softtabstop=2 shiftwidth=2 expandtab fenc=utf-8 cc=81 tw=80 #=============================================================================== # # DESCRIPTION: This is a test recipe made for unit testing # #=============================================================================== --- # Loads some helpful aliases extend: ../test2/test2.yaml aliases: defaults.yaml checkpoint: test.yaml #== Global variables use by Kameleon engine and the steps global: ## User varibales : used by the recipe user_name: kameleon_user user_password: $$user_name # test overload toto: $$toto tata # Distribution distrib: linux ## System variables. Required by kameleon engine # Include specific steps include_steps: - $$distrib bootstrap_packages: > less vim python sl sudo version: 12.2 variant: toto-tata #== Bootstrap the new system and create the 'in_context' bootstrap: - enable_something - bootstrap: - include_pkg: $$bootstrap_packages setup: - software_install - inline_step: - do_something: - exec_local: > echo $${toto} ;\ echo titi - do_something_else: - exec_local: | echo $$toto $$user_name - test_data: - exec_local: cat $${kameleon_data_dir}/mydata.txt - exec_local: cat $$kameleon_data_dir/mydata.txt - local_variables export: - save_appliance: - save_as_raw # - save_as_vmdk