rafl / puppet-perlbrew

Artistic License 2.0
17 stars 8 forks source link

Perlbrew installation failure #20

Open mblanco0626 opened 10 years ago

mblanco0626 commented 10 years ago

Hello,

In my puppet node.pp file i have the following class { 'perlbrew': } perlbrew::build { "5.18.1": version => "perl-5.18.1", }

I see the below information when i run vagrant with --verbose --debug options set.

Debug: /Stage[main]/Perlbrew::Environment/Exec[perlbrew_init]/require: requires Group[perlbrew] Debug: /Stage[main]/Perlbrew::Environment/Exec[perlbrew_init]/require: requires User[perlbrew]

I do not see the command to run perlbrew init being ran. This I believe is causing the following: Error: /bin/sh -c 'umask 022; /usr/bin/env PERLBREW_ROOT=/usr/local/perlbrew /usr/local/bin/perlbrew install perl-5.18.1 --as 5.18.1 -Accflags=-fPIC -Dcccdlflags=-fPIC' returned 2 instead of one of [0] Error: /Stage[main]//Node[puppet.mb.test.local]/Perlbrew::Build[5.18.1]/Exec[perlbrew_build_5.18.1]/returns: change from notrun to 0 failed: /bin/sh -c 'umask 022; /usr/bin/env PERLBREW_ROOT=/usr/local/perlbrew /usr/local/bin/perlbrew install perl-5.18.1 --as 5.18.1 -Accflags=-fPIC -Dcccdlflags=-fPIC' returned 2 instead of one of [0]

Any ideas on why i don't see the init command being executed?