Displaying 20 results from an estimated 10000 matches similar to: "feature request: create remote directory"
2008 Sep 29
1
feature request: restart on timeout
I'm currently in Egypt, and my Internet connection goes up and down a
lot. rsync --partial --timeout is great, especially when combined with a
little script that checks whether it failed due to timeout, and in that
case starts the transfer up again. I think it would be a good feature
for rsync to support itself. Something like:
--auto-restart
When a timeout occurs, automatically restart the
2006 Sep 06
1
31K failed stat64's when viewing a simple (no db) rhtml page?
I''m trying to help the sys admins of my server figure out what is up
with our Rails installation (debian sarge - completely up to date).
Hitting a simple page yields 31,000 failed stat64''s and takes anywhere
from 8 - 44 seconds. They #! for ruby is correct everywhere, but it''s
like it can''t find Rails. These are box stock standard installs.
Here''s
2008 Apr 24
4
If/else issues.
Can some one point out to me what I am missing? I suspect I have
messed up the if/else some how. I am getting a ''
Syntax error at ''{''; expected ''}'' at
/srv/puppet/production/manifests/modules/apache/init.pp: 19''.
According to the Language tutorial this should be correct. I am
testing for an existence of a variable. If it exists chagne the
2003 Aug 09
1
synchronizing 4617 files (out of 1538823)
i have a list of files relative to a docroot that need to be synchronized.
example:
pc/action/apocalyptica/wrapper_gslive.html
pc/action/apocalyptica/wrapper_gslive_ice.html
pc/action/apocalyptica/wrapper_ice.html
pc/rpg/darkageofcamelot/buyit_unit.html
pc/rpg/darkageofcamelot/buyit_unit_ice.html
the actual docroot has 1538823 files. building the file list takes a very
long time. i would like
2009 Jul 09
1
[PATCH 1/5 ovirt-server] Add glusterfs to task-omatic API for {task_storage,utils}
---
src/task-omatic/task_storage.rb | 50 +++++++++++++++++++++++++++++++++++++++
src/task-omatic/utils.rb | 40 +++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+), 0 deletions(-)
diff --git a/src/task-omatic/task_storage.rb b/src/task-omatic/task_storage.rb
index 77363ac..97ae4fc 100644
--- a/src/task-omatic/task_storage.rb
+++ b/src/task-omatic/task_storage.rb
@@
2009 Oct 24
5
BUG? $name inside a definition 'method signature' different to within a body ?
If I have something like this:
----------------------------------------
define bar($thing="/tmp/$name") {
file { $thing: ensure => present }
}
class foo { somedef{ "bar": } }
----------------------------------------
puppet will try to create a file called ''/tmp/foo'' , not /tmp/bar.
It seems like if I try to access $name inside the ''default
2011 Aug 17
3
Using back-ported create_resources in 2.6.x
Does anyone have some examples of using this create_resources
function, https://github.com/puppetlabs/puppetlabs-create_resources,
? Based on the README example I can''t figure out exactly how to
change from using defines to using this function. Maybe I
misunderstand the purpose of create_resources...is it to replace
defines, or is it to allow ENCs (for example) to use a define?
Below
2006 Aug 14
1
Mongrel loading wrong database environment (& a couple other bugs?)
Hi There,
I''ve got a mongrel cluster running on redhat 9 proxied behind an
Apache 2.2 installation. I have run into a real stumbling block in
that, while the rails app runs in production mode (you get a
production.log file, for example, and I see this in the mongrel log:
** Starting Rails with production environment ... ), it always loads
the development database configuration
2009 Mar 02
2
Need help extracting info from XML file using XML package
I have an XML file that has within it the coordinates of some
polygons that I would like to extract and use in R. The polygons are
nested rather deeply. For example, I found by trial and error that I
can extract the coordinates of one of them using functions from the
XML package:
doc <- xmlInternalTreeParse('doc.kml')
docroot <- xmlRoot(doc)
pgon <-
2006 Mar 18
4
Mongrel Console 0.1 -- script/console meets mongrel
This is a super quick announcement for a new Mongrel plugin called
mongrel_console. It was inspired by a request from Tobias L?tke who wanted
to tail out logs while Mongrel was running.
What mongrel_console does is combine the Rails script/console with Mongrel
so that you can control a mongrel server while using script/console. Sounds
weird but it''s quite awesome for development
2006 Sep 06
2
Running multiple domains on one codebase, mongrel a good choice?
We''re working on rails application for a client that needs to be
deployed under a variety of domain names and needs the ability to
load custom configurations for the database, parts of the docroot,
caching, etc. based on the site we''re serving. We use mongrel to
host some other single domain apps and would like to do so here too.
We''d like to not have to
2007 Sep 03
1
recompiling httpd
hi,
i'm trying to recompile the httpd rpm on a x86_64 system. all i've
changed in the spec file is the "--with-suexec-docroot" configure
option. the error message i get from the "rpmbuild -ba SPECS/httpd.spec"
command is "ln: creating symbolic link
`/var/tmp/httpd-root/etc/httpd/logs' to `../../usr/var/log/httpd': No
such file or directory". so
2009 Jul 29
0
[PATCH server] Remove ununsed utils.rb file.
Somehow I missed this.. this file is no longer in use by taskomatic.
Signed-off-by: Ian Main <imain at redhat.com>
---
src/task-omatic/utils.rb | 221 ----------------------------------------------
1 files changed, 0 insertions(+), 221 deletions(-)
delete mode 100644 src/task-omatic/utils.rb
diff --git a/src/task-omatic/utils.rb b/src/task-omatic/utils.rb
deleted file mode 100644
index
2020 Feb 14
3
.IMAP
Dear team,
I have my users in /usr/home/user1 for user1, user2 for user2 etc.
As these users also have a website, these folders have a
/usr/home/user1/www folder, which is the docroot of their website.
What happens now is that Dovecot indexes also this /usr/home/user1/www
folder and creates in every folder a .imap folder which content is an
exact image of the folder it is created in. In
2006 Jun 13
1
log and pid file problems when using a config file w/ -C
Hi there,
I''m using Mongrel (0.3.13 prerelease, installed today) to serve up some
Rails apps in production. Everything works fine if I give all the
appropriate options on the command line, such as:
$ mongrel_rails start -c /home/mcornick/rails/mcornick.org/current -P log/mongrel.pid -l log/mongrel.log -e production -d -a 127.0.0.1 -p 6833
So, having accomplished that, I thought it
2006 May 11
2
pages in /public cant find CSS
Hi everyone,
I have a rails project that I''ve been serving via WebBrick at work,
and its been working fine (low traffic). For the last few days I''ve
been trying to deploy it under Apache which already serves our groups
static and PHP pages. I have the dynamic rails part working now, but
am having problems with stylesheet references in static pages. My URL
using WebBrick was (and
2007 Jul 19
4
[mongrel_cluster] hosting multiple web sites via
Jeff try adding to your mongrel_cluster.yml
:docroot: /var/radiant/domainA.com/public
--
Together we can solve any issue.
2013 Sep 04
3
Puppet Dashboard Error 400 Invalid Parameter at passenger pp:48
Hi,
I am new to the job and forum. I installed puppet and puppetmaster and set
up my first dependencies acording to a manual that we have here in our
company. Everything works fine and I can set up new nodes with several
modules to choose from. Unfortunatley the Dashboard
<http://forge.puppetlabs.com/puppetlabs/dashboard>gives me errors instead
of starting correctley.
Here the
2007 Mar 09
1
how to translate request.params[''PATH_INFO''] into physical file
Hi,
What''s the most reliable way to find out the physical file location when
given a request.params[''PATH_INFO''] ?
I guess I need to know mongrel''s document_root or something similar.
tia,
Jeroen
2006 Aug 31
1
Remote upload apache files
Hi all,
I need to upload files to /var/www/html on our remote centos box. The
perms on /var/www/html are stock from the install, (drwxr-xr-x
root.root). I set the box for ftp, but (obviously) normal users can't
write to that directory. I don't want to allow root ftp logins (I've
also disabled root ssh logins, so scp doesn't work either), and I don't
know how secure it is