cpan: avoid `sudo'

refs #6842
This commit is contained in:
Alexander Klimov 2014-09-11 15:59:00 +02:00
parent 8ad9c7f10a
commit b0b18d02c2
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ define cpan(
} }
exec { "cpan-${name}": exec { "cpan-${name}":
command => "sudo perl -MCPAN -e 'install ${name}'", command => "perl -MCPAN -e 'install ${name}'",
creates => $creates, creates => $creates,
require => File['/root/.cpan/CPAN/MyConfig.pm'], require => File['/root/.cpan/CPAN/MyConfig.pm'],
timeout => $timeout timeout => $timeout