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", } With the command being "make install" I got: Exec[port-sudo]/returns) change from notrun to 1 failed: make: not found So I added the full path (with and without right angle brackets), which I don't think I should need since the path is defined. With full path I get: Exec[port-sudo]/returns) change from notrun to 0 failed: /bin/sh -c "/ usr/bin/make install" returned 1 instead of one of [0] So I added the 'returns => "1" ' part. Now I get: Exec[port-sudo]/returns) executed successfully But no port installed. What am I doing wrong? Any tips on troubleshooting? Already running puppetmaster with "-d -v -- logdest=" and only seeing what I'm posting above. And does anyone have any FreeBSD-centric pages on puppet? The one on puppetlabs.com is useful but quite short. -- Darek -- 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.