Added postgres textsearch dictionarys

Added wait function for database
This commit is contained in:
Alexander Trost
2015-10-11 19:53:16 +02:00
parent e3f0c3767d
commit 98f67bba76
6 changed files with 62640 additions and 18 deletions

View File

@@ -27,20 +27,4 @@ class zulip::postgres_appdb {
mode => 644,
source => "puppet:///modules/zulip/supervisor/conf.d/zulip_db.conf",
}
file { '/usr/share/postgresql/9.3/tsearch_data/en_us.dict':
ensure => 'link',
target => '/var/cache/postgresql/dicts/en_us.dict',
}
file { '/usr/share/postgresql/9.3/tsearch_data/en_us.affix':
ensure => 'link',
target => '/var/cache/postgresql/dicts/en_us.affix',
}
file { "/usr/share/postgresql/9.3/tsearch_data/zulip_english.stop":
require => Package["postgresql-9.3"],
ensure => file,
owner => "root",
group => "root",
mode => 644,
source => "puppet:///modules/zulip/postgresql/zulip_english.stop",
}
}