melezhik / cookbooks

perl chef cookbooks
https://github.com/melezhik/cookbooks
21 stars 27 forks source link

Prompt for intervention when chef-client run #1

Closed laradji closed 11 years ago

laradji commented 11 years ago

Hi melezhik ,

Chef-client prompt me to enter text when installing cpan :

hu, 11 Oct 2012 11:54:49 +0200] INFO: execute[rm /tmp/local-lib/Term::ReadLine::Perl-install.log] ran successfully [Thu, 11 Oct 2012 11:54:49 +0200] INFO: Processing bash[checking if module exists at CPAN] action run (/var/chef/cache/cookbooks/cpan/providers/client.rb line 387) Reading '/root/.cpan/Metadata' Database was generated on Thu, 11 Oct 2012 05:07:03 GMT [Thu, 11 Oct 2012 11:54:52 +0200] INFO: bash[checking if module exists at CPAN] ran successfully [Thu, 11 Oct 2012 11:54:52 +0200] INFO: Processing bash[installing cpan module] action run (/var/chef/cache/cookbooks/cpan/providers/client.rb line 419) Features present: preput 1 getHistory 1 addHistory 1 attribs 1 ornaments 1 appname 1 minline 1 autohistory 1 newTTY 1 tkRunning 1 setHistory 1

Flipping rl_default_selected each line.

Hint: Entering the word
    exit
would exit the test. ;-)  (If feature 'preput' is present,
this word should be already entered.)

Enter arithmetic or Perl expression: exit
[Thu, 11 Oct 2012 11:55:44 +0200] INFO: bash[installing cpan module] ran successfully [Thu, 11 Oct 2012 11:55:44 +0200] INFO: Processing ruby_block[install-log] action create (/var/chef/cache/cookbooks/cpan/providers/client.rb line 88)

Term::ReadLine::Perl install summary <<< /usr/bin/make -- OK [ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz] /usr/bin/make test -- OK [ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz] /usr/bin/make install -- OK [ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz]

melezhik commented 11 years ago

fixed in version 0.21

laradji commented 11 years ago

Thank you Melezhik !