Skip to content

Commit 6497404

Browse files
author
Ashley Penney
committed
Revert "Support changing PGDATA on RedHat"
1 parent 02265df commit 6497404

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

manifests/server/config_entry.pp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,6 @@
7373
before => Class['postgresql::server::reload'],
7474
}
7575
}
76-
77-
if $name == 'data_directory' {
78-
augeas { 'override PGDATA in /etc/sysconfig/pgsql/postgresql':
79-
lens => 'Shellvars.lns',
80-
incl => '/etc/sysconfig/pgsql/*',
81-
context => '/files/etc/sysconfig/pgsql/postgresql',
82-
changes => "set PGDATA ${value}",
83-
require => File['/etc/sysconfig/pgsql/postgresql'],
84-
notify => Class['postgresql::server::service'],
85-
before => Class['postgresql::server::reload'],
86-
}
87-
}
8876
}
8977
}
9078

spec/acceptance/alternative_pgdata_spec.rb

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)