Sha256: dec108277d4d5a6c0a75a0a0b243a929b5ec68d9751afa9e0783f2c9de986a05

Contents?: true

Size: 1.69 KB

Versions: 20

Compression:

Stored size: 1.69 KB

Contents

#===============================================================================
# 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:

  include_steps:
    - $${distrib}

  ## 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

  uuid: $${kameleon_uuid}

  appliance_filename: $${kameleon_recipe_name}_$${kameleon_short_uuid}

#== 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

  - test_uuid_step:
    - my_uuid: $${kameleon_uuid}_$${kameleon_recipe_name}

export:
  - save_appliance:
    - save_as_raw
    # - save_as_vmdk

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
kameleon-builder-2.10.11 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.10 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.9 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.8 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.7 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.6 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.5 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.4 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.3 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.2 tests/recipes/test_recipe.yaml
kameleon-builder-2.10.1 tests/recipes/test_recipe.yaml
kameleon-builder-2.9.4 tests/recipes/test_recipe.yaml
kameleon-builder-2.9.2 tests/recipes/test_recipe.yaml
kameleon-builder-2.9.1 tests/recipes/test_recipe.yaml
kameleon-builder-2.9.0 tests/recipes/test_recipe.yaml
kameleon-builder-2.8.3 tests/recipes/test_recipe.yaml
kameleon-builder-2.8.2 tests/recipes/test_recipe.yaml
kameleon-builder-2.8.1 tests/recipes/test_recipe.yaml
kameleon-builder-2.7.8 tests/recipes/test_recipe.yaml
kameleon-builder-2.7.7 tests/recipes/test_recipe.yaml