Skip to content

Instantly share code, notes, and snippets.

@joonas
Created August 28, 2011 16:55
Show Gist options
  • Save joonas/1176903 to your computer and use it in GitHub Desktop.
Save joonas/1176903 to your computer and use it in GitHub Desktop.
params
class postgres::params {
$service_name = $operatingsystem ? {
"Ubuntu" => $lsbdistrelease {
"10.04" => "postgresql-${version}",
"10.10", "11.04" => "postgresql",
},
default => "postgresql",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment