Message from discussion
Puppet Installation of 'Passenger Standalone'
Received: by 10.224.76.208 with SMTP id d16mr14569923qak.5.1337658765363;
Mon, 21 May 2012 20:52:45 -0700 (PDT)
X-BeenThere: phusion-passenger@googlegroups.com
Received: by 10.229.102.102 with SMTP id f38ls4207675qco.6.gmail; Mon, 21 May
2012 20:52:39 -0700 (PDT)
Received: by 10.224.181.18 with SMTP id bw18mr14595345qab.2.1337658759264;
Mon, 21 May 2012 20:52:39 -0700 (PDT)
Received: by 10.224.101.138 with SMTP id c10msqao;
Mon, 21 May 2012 20:35:18 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.236.185.39 with SMTP id t27mr1474827yhm.20.1337657718214; Mon,
21 May 2012 20:35:18 -0700 (PDT)
Authentication-Results: ls.google.com; spf=pass (google.com: domain of
jjaro...@gmail.com designates internal as permitted sender)
smtp.mail=jjaro...@gmail.com; dkim=pass
header...@gmail.com
Received: by j10g2000yqd.googlegroups.com with HTTP; Mon, 21 May 2012 20:35:18
-0700 (PDT)
Date: Mon, 21 May 2012 20:35:18 -0700 (PDT)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0,gzip(gfe)
Message-ID: <7e9831a2-22e8-4bc4-8cda-d3d7d9a3b24f@j10g2000yqd.googlegroups.com>
Subject: Puppet Installation of 'Passenger Standalone'
From: Jon Jaroker <jjaro...@gmail.com>
To: Phusion Passenger Discussions <phusion-passenger@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello, Would someone please recommend a non-interactive way to install
'passenger standalone'?
The rakefile allows 'rake nginx' and 'rake apache', but I want to run
passenger in standalone mode. The command 'passenger start' is not
well suitable for automation with puppet as it waits for user input if
a dependency is missing.
I created a puppet module for this installation, but it is
unreliable. The standalone installation is implemented as:
-------------------------------
# Passenger Standalone Completes Installation by installing Nginx
exec{'Passenger Standalone First Run':
command => "${rubygems_bindir}/passenger start && $
{rubygems_bindir}/passenger stop",
creates => "${passenger_standalone_nginx_directory}/nginx",
logoutput=> on_failure,
require => Ruby::Gem['passenger'],
timeout => 900,
}
-------------------------------
Thank you,