Issue #1213 has been updated by btm.

<pre>
10:54 < cjwatson> that's odd, seems like a bug
</pre>

What's the exact debian package version of the glpi deb?
----------------------------------------
Bug #1213: debconf-set-selections cannot be called before the package is 
installed
http://reductivelabs.com/redmine/issues/show/1213

Author: mathieu.parent
Status: Unreviewed
Priority: Normal
Assigned to: community
Category: Debian
Target version: 
Keywords: 
Complexity: Unknown
Patch: None
Affected version: 


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://reductivelabs.com/redmine/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