I cannot get this *&^%$ thing to work (on Mac OS X)!
http://reductivelabs.com/trac/puppet/ticket/718 using cpan2.rb with some
very minor modifications.
Can anyone confess to having used it successfully or otherwise?
The module (and it''s dependencies) I need to install are Net::LDAP
I''ve tried these names
"G/GB/GBARR/perl-ldap-0.36.tar.gz"
"Net::LDAP"
"Bundle::Net::LDAP"
My package def:
package { "Bundle::Net::LDAP":
name => "Bundle::Net::LDAP",
ensure => installed,
provider => "cpan"
}
The client hits the package def. and acts like it''s working but
ultimately the modules aren''t installed.
I don''t know where to find more/better output from the CPAN command it
is running.
debug: Prefetching cpan resources for package
debug: Puppet::Type::Package::ProviderCpan: Executing ''/usr/bin/perl
-MCPAN -e
for $mod (CPAN::Shell->expand("Module","/./")){
$mod->inst_file ? printf("%s %s\n", $mod->id,
$mod->inst_version||"none") : next;
}''
...(here there is about 10-12s delay)...
debug: Calling fileserver.describe
debug: Calling fileserver.describe
debug: Calling fileserver.describe
debug: Calling fileserver.describe
debug: Puppet::Type::Package::ProviderCpan: Executing ''/usr/bin/perl
-MCPAN -e
''CPAN::Shell->i("Bundle::Net::LDAP")''''
debug:
//Node[default]/baseclass/darwin/ldapup/Package[Bundle::Net::LDAP]:
Changing ensure
debug:
//Node[default]/baseclass/darwin/ldapup/Package[Bundle::Net::LDAP]: 1
change(s)
debug: Package[Bundle::Net::LDAP](provider=cpan): Executing
''/usr/bin/perl -MCPAN -e
''CPAN::Shell->install("Bundle::Net::LDAP")''''
notice:
//Node[default]/baseclass/darwin/ldapup/Package[Bundle::Net::LDAP]/ensure:
created
Any hints or ideas appreciated.
Thanks.
--
Mark Foster - Sr. Systems Engineer - BitPusher, LLC
We push your bits so you don''t have to! http://www.bitpusher.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to
puppet-users-unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---