Skip to content

Instantly share code, notes, and snippets.

@WhatsARanjit
Created June 10, 2014 10:38
Show Gist options
  • Save WhatsARanjit/539eab812e1b171e31f4 to your computer and use it in GitHub Desktop.
Save WhatsARanjit/539eab812e1b171e31f4 to your computer and use it in GitHub Desktop.
# Define
class my_mysql (
$param1 = 'default1',
$param2 = 'default2'
) {
$myhash = {
'param1' => $param1,
'param2' => $param2,
}
}
# Declare
class { 'my_mysql':
param2 => 'override_value',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment