Issue #1213 has been updated by Nigel Kersten.

Status changed from Needs more information to Closed
Assignee set to Nigel Kersten

If we have more concrete examples that Puppet is doing the wrong thing here, 
I'm happy for this to get reopened.

As per the below thread, we're more aggressively closing tickets whose state is 
unsure, particularly old tickets with little to no inactivity in a long time.

You are free to reopen them.

http://groups.google.com/group/puppet-users/browse_thread/thread/a040cb9bc5c5b647

----------------------------------------
Bug #1213: debconf-set-selections cannot be called before the package is 
installed
https://projects.puppetlabs.com/issues/1213

Author: Mathieu Parent
Status: Closed
Priority: Normal
Assignee: Nigel Kersten
Category: Debian
Target version: 
Patch: None
Affected Puppet version: 
Keywords: 
Branch: 


Preseeding with dpkg doesn't work for newly installed packages.

----
Detail:

Using the following class:
<pre>
#!ruby

class glpi {
        file{'/etc/dpkg/glpi.response':
                ensure=>present,
                content=>'glpi    glpi/dbconfig-install   boolean false
glpi    glpi/dbconfig-upgrade   boolean false';
        }
        package{'glpi':
                ensure=>installed,
                responsefile=>'/etc/dpkg/glpi.response',
                require=>File['/etc/dpkg/glpi.response'];
        }
}
</pre>
I get:
<pre>
info: Package[glpi](provider=apt): Preseeding /etc/dpkg/glpi.response to 
debconf-set-selections
err: //Node[xian]/glpi/Package[glpi]/ensure: change from purged to present 
failed: Execution of '/usr/bin/debconf-set-selections /etc/dpkg/glpi.response' 
returned 256: error: Cannot find a question for glpi/dbconfig-install
error: Cannot find a question for glpi/dbconfig-upgrade
</pre>



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to