Hi,
The installation code does not support the require command.
Is there an alternative way i can suggest to puppet that the perl module is already in place ?
Following is the snippet of puppet client run in debug mode.
Please suggest if the execution steps below are by design or is there something at my end ?
########
Debug: Exec[configure_cpan](provider=posix): Executing 'cpan <<EOF
yes
yes
no
no
http://www.perl.com/CPAN/yes
quit
EOF'
Debug: Executing 'cpan <<EOF
yes
yes
no
no
http://www.perl.com/CPAN/yes
quit
EOF'
Notice: /Stage[main]/Perl::Cpan/Exec[configure_cpan]/returns: executed successfully
Debug: /Stage[main]/Perl::Cpan/Exec[configure_cpan]: The container Class[Perl::Cpan] will propagate my refresh event
Debug: Exec[cpan-App::cpanminus-present](provider=posix): Executing check 'perldoc -l App::cpanminus'
Debug: Executing 'perldoc -l App::cpanminus'
Debug: /Stage[main]/Cloudwatch_monitor/Perl::Cpan::Module[App::cpanminus]/Exec[cpan-App::cpanminus-present]/unless: /usr/local/share/perl5/App/
cpanminus.pm##################