Hello,
I am a novice with chef and just started to get a feel of this wonderful
platform called chef. I think like many others I have started with chef-solo
and got some roles and chef cookbooks done. basically played with it.
I now am faced with a situation. How to handle the question posed via a dialog
box during installation of a package using apt-get. Examples could be when you
install rsyslog-mysql on ubuntu 10.04, it wil ask if the database required by
rsyslog-mysql should be configured using db-config and if you press yes, it
will ask for the root password and then will ask for a new password and confirm
password for a new mysql user called rsyslog.
How to handle the question posed via a dialog
box during installation of a package using apt-get.
You need to "preseed" the answers to these dialogs via
"debconf-set-selections" so apt-get doesn't need to open up a dialog
box in the first place. See the mysql cookbook for an example.
How to handle the question posed via a dialog
box during installation of a package using apt-get.
You need to "preseed" the answers to these dialogs via
"debconf-set-selections" so apt-get doesn't need to open up a dialog
box in the first place. See the mysql cookbook for an example.