Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix #3

  • Loading branch information...
commit 88b0d8d6edd7c3b2c1ae0a3f4c433a51e522a4f7 1 parent 856295f
@kirs authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 manifests/server.pp
View
7 manifests/server.pp
@@ -8,11 +8,6 @@
Class['postgresql::server'] -> Class['postgresql::client']
- $service_name = $::operatingsystem ? {
- 'Ubuntu' => "postgresql-${version}",
- default => 'postgresql',
- }
-
$pkgname = $::operatingsystem ? {
default => "postgresql-${version}",
}
@@ -39,7 +34,7 @@
require => Package[$pkgname],
}
- service { $service_name:
+ service { "postgresql":
ensure => running,
enable => true,
hasstatus => true,
Please sign in to comment.
Something went wrong with that request. Please try again.