Hi everyone ,

I’m trying to install package via puppet with this basic node on a Freebsd 
9.1

My manifest "nano.pp" : 

Node default {

                Package { nano:

                               Name=> “nano”,

                               Ensure => installed,

                               }

}

And when I do a puppet apply of this code I get the error:

Could not autoload puppet/provider/package/freebsd : undefined method 
‘intern’ for puppet ::util ::package :Module

Could not autoload puppet/provider/package/ports:  could not autoload 
puppet/provider/package/freebsd: undefined method ‘intern’ for 
puppet::util::package:module

Could not autoload puppet/type/package:  could not autoload 
puppet/provider/package/freebsd: : could not autoload 
puppet/provider/package/freebsd : undefined method ‘intern’ for 
puppet::util::package:module

Manual installation works and if I use an puppet exec type (command => 
“/usr/sbin/pkg_add –r nano”) it works too but it’s not optimized.

On the freebsd I have Puppet-3.0.1_1.

I tried 

 provider => freebsd  and provider =>  pkg 

ensure => present

but I have the same error message

Furthermore my puppet.conf is empty because i'm only using a puppet apply 
in my local machine.

Did someone ever managed to install packages via puppet on a FreeBSD 
machine?

Thank you.


-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/3377dcc4-1dba-4aa5-af89-81a1388cf994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to