diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-03-13 15:18:03 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-08-18 12:03:21 -0700 |
commit | 63a2d95003bc062d251d453d63ab1c5d91cbdb06 (patch) | |
tree | 5f50177a3cd8c66242030e198e2c1387ab4d56f6 /spec/data | |
parent | 74e6bd6b50af383829f4bfc47ca18a4e089b1428 (diff) | |
download | chef-63a2d95003bc062d251d453d63ab1c5d91cbdb06.tar.gz |
CHEF-5012: add methods for template breadcrumbs
adds:
- cookbook_name
- recipe_name
- recipe_line_string
- recipe_path
- recipe_line
- template_name
- template_path
accessible both as instance var (@-) and method (bare), like @node/node.
Diffstat (limited to 'spec/data')
-rw-r--r-- | spec/data/cookbooks/openldap/templates/default/helpers.erb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/data/cookbooks/openldap/templates/default/helpers.erb b/spec/data/cookbooks/openldap/templates/default/helpers.erb new file mode 100644 index 0000000000..b973a5287c --- /dev/null +++ b/spec/data/cookbooks/openldap/templates/default/helpers.erb @@ -0,0 +1,14 @@ +<%= @cookbook_name %> +<%= @recipe_name %> +<%= @recipe_line_string %> +<%= @recipe_path %> +<%= @recipe_line %> +<%= @template_name %> +<%= @template_path %> +<%= cookbook_name %> +<%= recipe_name %> +<%= recipe_line_string %> +<%= recipe_path %> +<%= recipe_line %> +<%= template_name %> +<%= template_path %> |