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 intended way to do this. On Wed, Jul 15, 2015 at 8:09 AM <[email protected]> wrote: > 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_entry { 'max_standby_streaming_delay': value > => '-1'} > ... > > A value of -1 indicates to wait forever, but using the module does not > allow this negative value. When it is in single quotes like above it will > be in the config file as well. I did not figure out a way to obtain a plain > -1 without quotes. > > Any idea is appreciated. > > Regards > Ralf > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/d8481070-ed3d-4989-b0c9-733998432b17%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/d8481070-ed3d-4989-b0c9-733998432b17%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAJaQvGAw-mDZRAJi5vH3zaJxZX635LZ_5pr3Jq1JmBTL3zXa8w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
