Hi,

On Wed, Sep 07, 2011 at 04:48:11PM +0200, Olivier Berger wrote:
> 
> Hi.
> 

> Much like in #556188, changes to nsswitch.conf should be made by
> providing a default choice to the user that is most likely to need a
> custom template for ucf with a different default.
> 
> Of course, if possible, it wouldn't harm if changes to nsswitch.conf
> could be avoided.
> 
> I heard that a possible solution would be not to use
> libnss-postgresql but I don't have a reference for this so far.

I faced this problem recently when installing from Puppet (hence,
noninteractively).

I resorted to the following work-around involving /etc/ucf.conf:

[code]
class fusionforge {
  file { '/etc/ucf.conf':
    ensure  => file,
    content => '# Make sure FusionForge can install pre-configured files from 
Puppet
case "$DPKG_MAINTSCRIPT_PACKAGE" in
    gforge-shell-postgresql|gforge-mta-exim4|gforge-mta-postfix)
        conf_force_conffnew=YES
        ;;
esac
';
  }
  File['/etc/ucf.conf'] -> Package<| |>
[/code]

If there's a better way to implement this I'm interested.

-- 
Sylvain


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to