Re: [Puppet Users] Re: brew and macosx and puppet

2013-10-03 Thread David Portabella
https://github.com/kelseyhightower/puppet-homebrew -- 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 post to this

[Puppet Users] Re: brew and macosx and puppet

2012-08-17 Thread Daniele Sluijters
Hello, The problem is that you're running 'brew install nginx' as root, since Puppet runs as root. If you run that command as root on a console it will tell you: 9:35:11 r...@chell.portal.daenney.net ~ brew install nginx Cowardly refusing to `sudo brew install' And it exists with an exitcode

Re: [Puppet Users] Re: brew and macosx and puppet

2012-08-17 Thread kegstand
I figured out how to get puppet to install nginx through the puppet provider without running it as root. someone on IRC suggested I add logoutput = on_failure exec { brew_install_nginx: command = /usr/local/bin/brew install nginx, creates = /usr/local/sbin/nginx,