Skip to content

Instantly share code, notes, and snippets.

@brokenthumbs
Last active August 29, 2015 13:57
Show Gist options
  • Save brokenthumbs/9693136 to your computer and use it in GitHub Desktop.
Save brokenthumbs/9693136 to your computer and use it in GitHub Desktop.
class foo {
$admin_user = "alpha"
file { "/var/foo.conf":
ensure => present,
content => template("foo/template.erb"),
}
}
# foo/templates/template.erb
admin_user: <%= @admin_user %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment