Debugging ACE Recipes
The ACE Recipe language is actually Puppet. To ease the build process, the best practice is to attempt to remove all puppet errors before running the script.
The engine uses the following environment variable to control lookup at runtime:
- ACEHOME
- Path to the directory holding the main ACE modules, templates, and lenses are located
- ACEPATH
- Colon seperated list of directories containing modules and appliances
- RUBYLIB
- Colon seperate list of directories containing ruby code
To debug your recipe, do the following:
1) Following the Running Locally
2) Define the environemnt variable ACEPATH with each directory that contains an appliances subdirectory
3) If you execute ace list appliances you should see your appliances listed
# ace list appliances
# ace parse [APPLIANCE_NAME]
