On Fri, Apr 15, 2011 at 3:26 PM, fafaforza <fafafo...@gmail.com> wrote: > New user trying to get a port to compile: I tried searching but all I > get are links to the FreeBSD port of puppet. Easier to find a needle > in a haystack. > > A class has: > > exec { "port-sudo": > cwd => "/usr/ports/security/sudo", > environment => "BATCH=yes", > command => '/bin/sh -c "/usr/bin/make install"', > path => ["/bin/, /usr/bin/, /usr/local/bin/, /sbin/, / > usr/sbin/, /usr/local/sbin/"], > returns => "1", > }
Shouldn't you be using the ports package provider instead? package { "sudo": provider => ports, ensure => installed, } I haven't touched Puppet on FreeBSD personally, it may auto-detect the provider automatically for you correctly. -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.