Skip to content

Instantly share code, notes, and snippets.

@haani-niyaz
Created August 23, 2016 02:16
Show Gist options
  • Select an option

  • Save haani-niyaz/cec040c0bd17d6d64334357ef572d3a4 to your computer and use it in GitHub Desktop.

Select an option

Save haani-niyaz/cec040c0bd17d6d64334357ef572d3a4 to your computer and use it in GitHub Desktop.
<%= @name %> # variable visible in current scope
<%= scope.lookupvar('name') %> # search in all scopes
<%= scope['somewhere::name'] %> # Puppet 3 scope access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment