1 2 3 4 5 6 7 8 9
class dovecot::sql::pgsql { if $version == 2 { package { 'dovecot-pgsql': ensure => installed, before => File['/etc/dovecot-sql.conf'], } } }