On 04/18/2014 01:40, aminos wrote:

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.


Did you install Puppet from FreeBSD ports or did you build and install it yourself?

I manage packages with Puppet quite often, but using 10.0-RELEASE and -CURRENT with the puppet-pkgng provider (available from Forge)


I've cc'd the puppet-bsd group just in case anybody there has seen it

--
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/5351A916.1070800%40monkeypox.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to