Merge pull request #317 from hubspotdevops/validate_db_connection_float

Prevent float of defined resource.
This commit is contained in:
Ashley Penney 2014-01-21 14:32:19 -08:00
commit 0bb214d1be

View file

@ -13,6 +13,8 @@ class postgresql::server::service {
default => $ensure
}
anchor { 'postgresql::server::service::begin': }
service { 'postgresqld':
ensure => $service_ensure,
name => $service_name,
@ -35,6 +37,9 @@ class postgresql::server::service {
tries => 60,
create_db_first => false,
require => Service['postgresqld'],
before => Anchor['postgresql::server::service::end']
}
}
anchor { 'postgresql::server::service::end': }
}