similar to: Execute some steps if a file isn't present

Displaying 20 results from an estimated 4000 matches similar to: "Execute some steps if a file isn't present"

2010 Mar 04
3
Dependency cycles, please help.
Hi, I''m having trouble writing a recipe to handle apache/passenger. First, here is my apache2 class, found here : http://www.reductivelabs.com/trac/puppet/wiki/Recipes/DebianApache2Recipe --------------------------------------------- $apache2_sites = "/etc/apache2/sites" $apache2_mods = "/etc/apache2/mods" class apache2 { [...] define module ( $ensure =
2011 Dec 14
30
How can I get RVM/Passenger/Apache2 to play nicely together
Hello all, Can anyone point me to any solid documentation on how to set up a production server using RVM, Passenger, and Apache2? I have been at this for a week with absolutely no luck at all so I thought I would post here to see if anyone has managed to get this to work and written down the steps they used. Right now with my current implementation, I am getting a 404 error when I attempt to
2011 Jun 14
5
puppet dashboard
I am using Ubuntu 10.04 and ruby-enterprise (not ubuntu ruby) and installed puppet via gem. How can I install puppet-dashboard if I don''t see a gem available and if I use the ubuntu package, i get the whole slop of ruby packages sucked in (which i am trying to avoid)? # dpkg -i puppet-dashboard_1.1.0-1_all.deb Selecting previously deselected package puppet-dashboard. (Reading database
2010 Dec 28
3
mod_passenger failed installation from puppetlab yum repo
Just tried to install mod_passenger from puppetlabs yum repo, and it is failing with the following error: ---> Package mod_passenger.i686 0:2.2.5-1 set to be updated --> Processing Dependency: rubygem-passenger = 2.2.5-1 for package: mod_passenger ---> Package mod_passenger.x86_64 0:2.2.5-1 set to be updated --> Processing Dependency: rubygem-passenger = 2.2.5-1 for package:
2010 Mar 17
4
passenger errors
Has anyone seen this come up, I am using 0.24.8 version of puppet. I followed the directions on the wiki and installed passenger correctly from what I can tell. [Wed Mar 17 09:07:56 2010] [notice] Apache/2.2.14 (Unix) DAV/2 Phusion_Passenger/2.2.5 mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.14 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations
2014 Apr 03
2
ruby193 SCL and mod_passenger
? I'm interested in ruby and I try the ruby193 SCL and I want to run Ruby on Rails with Apache, so I'm searching mod_passenger for this ruby SCL version, but I found, that this package is not in this SCL. Are any other possibilities to run Ruby on Rails with Apache or why is mod_passenger not in this SCL? ? Thanks, Filip Bartmann
2013 Aug 27
2
passenger installation file passenger-install-apache2-module missing
Dear all, I have installed yum install rubygem-passenger Installed: rubygem-passenger.x86_64 0:4.0.5-3.el6 Dependency Installed: rubygem-daemon_controller.noarch 0:1.1.4-3.el6 rubygem-fastthread.x86_64 0:1.0.7-1.el6 rubygem-rack.noarch 0:1.0.1-2.el6 rubygem-rake.noarch 0:0.8.7-2.1.el6
2009 Sep 10
2
passenger with ruby enterprise edition
Hi I am failing to start apache2 with ruby enterprise edition and passenger 2.2.5 [Wed Sep 09 17:38:20 2009] [notice] Apache/2.2.11 (Ubuntu) mod_ssl/2.2.11 OpenSSL/0.9.8g Phusion_Passenger/2.2.5 configured -- resuming normal operations *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (no such file to load -- puppet) (process 16544): from
2012 Mar 09
6
Puppet Dashboard - Directory Index Forbidden
Hello all Puppet, puppetmaster, ruby, etc installed from standard Ubuntu 11.10 x86_64 APT repos Dashboard 1.26 from .deb pulled from http://apt.puppetlabs.com/pool/oneiric/main/p/puppet-dashboard/ Apache config pulled from /usr/share/puppet-dashboard/ext/passenger/dashboard-vhost.conf My simple test with webbrick worked a treat. So I installed Apache and passenger mod (from Ubuntu APT
2012 Jul 10
19
problem using apache & passenger to run dashboard
Hi, My puppetmaster is running through apache, and now I am setting up dashboard to be run by apache too. I followed docs in http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#starting-and-managing-delayed-job-workers, but after I restarted httpd, I see a apache welcome page. I set documentroot to be: DocumentRoot /usr/share/puppet-dashboard/public/
2005 Jul 26
1
last access file for 1.0-stable?
Hi, I am almost ready to convert from UW-imap to dovecot 1.0 stable for my imap use. I hacked UW-imap to touch a file in the user's home directory so I can always tell the last time they used imap. My hack looks something like this: if(authenticated) { touchfile = (char *) malloc((strlen (home) + 15); sprintf(touchfile,"%s/.imapd.last",homedir); fd =
2010 Apr 24
5
About your application's environment URL not found
Hi I am a newbie (which you probably guessed from the subject) and have just installed ruby 1.8.7, rails 2.3.5 and apache 2.2.12 on ubuntu 9.10. I have created a rails app and edited my apache config as shown below. The Rails "Welcome aboard" page displays, but when I click on "About your application''s environment" I get "Not Found The requested URL
2010 Aug 20
5
puppet dashboard gui looks odd from apache2
I downloaded the puppet-dashboard.git from http://github.com/puppetlabs/puppet-dashboard and did the installation in my ubuntu lucid puppet server following the steps in "Installation". Now I can run it fine using the WEBrick like this root@sys-ubuntu { ~/git/puppet-dashboard }$ ./script/server -e production => Booting WEBrick => Rails 2.3.5 application starting on
2004 Apr 03
1
rsync is slowing down
The cause is, of course, that the tree being syncronized ie getting larger, so of course rsync is slowing down. But in the case of my particular file tree, there is a way it could be speeded up, but this would obviously also need a change in the rsync protocol to accomplish it. Any tree that has major unchanged subbranches would benefit from this. The file tree I'm syncronizing in this case
2009 Aug 13
5
First hit on app takes a long time
So, I''ve deployed my first rails app, however I''m the only one hitting it for now. I''ve noticed that the first time I hit the app after some long period, it takes a really long time to respond (2-3 seconds). After that, it''s very fast. At first, I thought it might be my VPS "waking up" from some sleep state, but Rails does log the long load time
2009 Oct 19
7
Passenger Woes
Hello, I really didn''t expect this to be difficult, but I''ve been struggling with this all day :( I''m running CentOS 5.3, with rubygems, rack and fastthread, from EPEL. I''m running puppet-0.25.0-1 built from the spec file in the latest stable tarball. I''m using mod_passenger-2.2.5-2.el5 from Jeroen van Meeuwen (kanarip), which is effectively EPEL
2011 Jul 22
9
Random error in the recovery catalog
Hello, I randomly errors like this: Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not retrieve catalog from remote server: end of file reached Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (notice): Using cached catalog Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not retrieve catalog; skipping run Here are the versions: puppetmaster
2012 Sep 07
7
passenger-install-apache2-module fails
Hi I have installed passenger on many machine and this is my 3rd puppet master on CentOS 6. This one is giving me problems and I have been trying with different gem versions and still no go. When I run passenger-install-apache2-module I get this error: Sorry its really long so I copied to a text doc attached to this post. Any Idea on whats going wrong. I have not had a problem with this before
2009 Oct 18
2
Passenger Best Practice
I want to move from running puppet under it's own web brick server, to using passenger. I'd like to get an idea of how folk are running passenger? Ideally I'd like to keep everything rpm based, so would need ruby enterprise rpms, and then the mod_rails / passenger plugin? How are you folk doing it? I've seen:
2012 Oct 24
1
Too much access rights on /tmp/passenger.{pid}/backends
Hi! In a tight security environnement, we have to keep minimum access rights. We found that /tmp/passenger.{pid}/backends is d-ws-wx-wx on root:root. This directory is used by mod_passenger to keep execution queues. Is it possible to limit those access rights? Why is it world writable? I''m wondering If somebody knows how to avoid keeping write access to the world? Thank you -- You