I am using alup/puppet-rbenv and I am installing Passenger with nginx with this statement:
rbenv::gem { "passenger":
user => "vagrant",
ruby => "1.9.3-p327",
ensure => "4.0.8",
}
However I need to add the following options to compile nginx:
--with-http_ssl_module --with-cc-opt=-Wno-error --with-http_realip_module
I do not know how to do it
You will likely need to use an exec statement
Unfortunately you loose your idempotence by using exec.