Displaying 20 results from an estimated 1200 matches similar to: "Rails 1.1.3 and routes to controllers in directories"
2007 Nov 23
12
namespaced controllers
Out of curiosity, I''ve seen the following fail:
module Admin
describe MyController
...
end
end
But this works fine:
describe Admin::MyController
..
end
Why?
Scott
2006 Jul 13
3
date_helper megapatch and MultiparameterAssignmentErrors
Hello all,
There''s a great patch in trac that fixes a lof of issues with the
date helpers. I''m afraid it hasn''t had any attention yet.
http://dev.rubyonrails.org/ticket/3811
This fixes all the little date_helper problems, except one: When you
choose an invalid date ActiveRecord throws an
ActiveRecord::MultiparameterAssignmentErrors. This used to work in
1.0,
2007 Feb 07
3
Upgrade to Rails 1.2.2 : RESTful routes not working anymore
Hello,
I just upgraded my app to Rails 1.2.2.
My routes are :
map.with_options :path_prefix => "/admin", :name_prefix => "admin_" do |m|
m.resources :requests, :controller => "admin/requests", :collection => {
:destroy => :delete, :search => :post } do |request|
request.resources :histories, :path_prefix =>
2007 Aug 24
11
Aliases not working in a subclass ?
Hi folks,
I''m overriding some resource attribute in a subclass. It seems that
specifying a resource by its alias doesn''t work in a subclass.
Looks like a bug, no ?
=== module-classes.pp ===
class module::base {
file {"/tmp/test-module":
alias => test-module,
content => "module::base",
}
}
class
2007 Jan 03
18
error "Stack level too deep" on ''exec[ "perl Makefile.PL" ] ?
Hi,
I''m testing puppet from the subversion trunk. I have a rather
hacked-together system to install a CRM into one of my nodes, which
worked (more or less) with version 0.19.3. When I tried to do a puppet
run on a completely clean node it seemed to stall on the ''compilation''
part (I do an exec of ''perl Makefile.PL'' in the appropriate dir). When
I broke
2007 Jan 04
10
New Feature: Graphing
Hi all,
One of the major new features in the upcoming release is that Puppet
now uses a graph library internally to handle resource
relationships. The big benefit to all of you is that you can use
this library to turn these graphs into images.
The trick, right now, is adding --graph when you run puppetd. This
creates .dot files, which can then be interpreted by the
2007 May 26
13
munin module: manage clients and server''s config
Hello all.
Probably this question has already been posed in the context of another
software, but I am unable to find it.
I would like to implement a module which should manage munin-clients as
well as the munin-server.
Here is what I am thinking about implementing:
- There are two classes: munin::client and munin::server
- munin::clients'' configuration will be managed automatically.
2007 Jun 09
12
Example module for central git repository via http (sort of like a subversion repo) [a bit RFC]
Hi all,
I''ve been looking for a good example for how one would build a module,
but I couldn''t really find something that I liked, so I went ahead and
tried to do it myself.
The result is this: a git module (see attachment).
Please have a look and comment on it, before I add it to the wiki. I
especially want comments on the setup of the module itself, not so
much on the git
2007 Jan 15
7
How to conditionally run defines?
Hi all,
Is there a (simple) way to add conditionals to a call to a define?
What I want is to run a define only if a file (that gets created
somewhere along the run of the define) does not exist. In this way I
can skip a whole lot of setup work in the define if I know it has
already run once before. I would think adding a unless clause would be
a elegant solution (and the other conditionals like
2006 Dec 24
3
Installing CPAN packages?
Hi guys,
Has anyone yet tackled installing CPAN packages through puppet? I need
some that aren''t available as separate debs, so if anyone has an idea
how best to do this, I''d like feedback.
Thanks,
Thijs
2006 Sep 23
4
"server" config option (and cmd-line option) don''t do anything for puppetd?
Hi guys,
Unlike what it says in the documentation and the --help output, I
can''t seem to get puppetd to use the --server setting. The only way I
can get puppetd to work is to include a ''puppet'' alias to the ip of
the machine I''m running puppetmasterd on in my hosts file.
The strange thing though, is that the logs of my puppetmaster show
that it *is* getting
2010 Oct 17
1
unbalanced repeated measurements Anova with mixed effects
Dear R-list members,
I've been struggling with the proper setup for analysing my data. I've
performed a route choice experiment, in which participants had to make a
choice at each junction for the next road. During the experiment they
received traffic information, but also encountered two different
accidents. They also made trips without accidents.
What I'm interested in is to
2007 Aug 27
2
Puppet Documentation
I''ve been watching the thread where Luke is having to spend time
defending his position about documentation. Can we get off that?
From my perspective, Luke, I''m glad you have documented as much as you
have. I''m one of the few who have been a little stymied by what
documentation is available, but in no way do I believe berating you for
your lack of documentation is a
2010 Feb 04
1
can't locate samba server in windows network/ can't add domain
List,
I've installed an samba server as PDC next to another samba server. The
DHCP/DNS is handled by a router (vigor 2110).
For the first domain (DOMAIN1) I can join computers or leave the domain.
However- I can't join the other domain- because no DNS entry exists.
The strange thing is they both broadcast their NETBIOS name (It's
present in the ARP table of the router) but on a
2009 Feb 11
1
where to submit new logcheck rules?
Hi,
I've got a few logcheck ignore.d rules that I'd like to submit, one
example is sqlgrey. /usr/share/doc/logcheck/README.maintainer talks
about shipping the rules inside the package itself, so I could file a
request with sqlgrey.
However, that doesn't work because of course I don't have all the
packages I use on my network installed on my loghost. In fact, I believe
that
2007 Jun 29
5
Installing a file only if a package is available
Hi,
is there a way to make sure a file is installed only if a certain
package is installed on the client?
e.g. I want to distribute the client key for NX via puppet. However I
only want to install these files if package ''freenx'' is installed on the
client.
I tried adding ''require => package["freenx"]'' but then puppetd complains
it
2007 Aug 24
7
Problem restarting client service ssh in client
Hello,
I want a simple operation in a puppet node like restarting the ssh
service if it was stopped. My site.pp is simple as this:
import "services/*"
node default {
include ssh
}
The services directory as a ssh.pp :
class ssh {
service { ssh:
ensure => running,
subscribe => File["/etc/ssh/sshd_config"]
}
}
I''ve stopped the ssh service in the
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
I''ve been using Puppet now for a month or so and I''ve come to a
problem that may warrant an additional Puppet metaparameter. I''m
advocating the addition of a metaparameter called "preaction" (or
something like that), which will perform some arbitrary action before
the resource is modified. There may be a way to do this within
Puppet already (with some
2006 Jul 23
6
routes
My best guess at how to make this route
map.connect '':user'', :controller => ''user'', :action => ''profile''
makes my
link_to :controller => ''admin'', :action => ''index''
stop working ?
I''m needing urls like http://localhost:3000/username but without
breaking all my other controller index
2007 Jun 13
11
Re: classes and definitions --> RFC <--
On 12/06/07, Luke Kanies <luke@madstop.com> wrote:
>
> On Jun 11, 2007, at 12:01 PM, Thijs Oppermann wrote:
>
> > But they don''t always work. For example, in the example (a bit
> > like) above (which was what I had in my git module definition for
> > clientsetup):
> >
> > file { "/home/${user}/.netrc.d":
> > ensure