Re: [Puppet Users] Modul postgresql cannot handle negative value when writing config files

2015-07-16 Thread Hunter Haugen
On Wed, Jul 15, 2015 at 11:36 PM wrote: > Hi, > > thanks for your feedback. I provided some more information, unfortunately > the suggested quoting did not work. > Oh, I wouldn't recommend quoting numbers; just strings. > > installed software > ## > facter

Re: [Puppet Users] Modul postgresql cannot handle negative value when writing config files

2015-07-15 Thread rbrinkmann
Hi, thanks for your feedback. I provided some more information, unfortunately the suggested quoting did not work. installed software ## facter 2.4.1-1 hiera 1.3.4-1 puppet 3.7.5-1 puppet-common

Re: [Puppet Users] Modul postgresql cannot handle negative value when writing config files

2015-07-15 Thread Hunter Haugen
The provider does appear to try and handle fixnums to not be quoted https://github.com/puppetlabs/puppetlabs-postgresql/blob/master/lib/puppet/provider/postgresql_conf/parsed.rb#L20 What version of puppet is this? What errors are you getting with unquoted -1 values? `value => -1` appears to be the

[Puppet Users] Modul postgresql cannot handle negative value when writing config files

2015-07-15 Thread rbrinkmann
Hi, I try to setup streaming replication using puppet. I installed the official module postgresql and I succeed writing postgresql.conf and pg_hba.conf. My problem is I cannot put negtive values in the config files although it does make sense, e.g: example == ... postgresql::server::config