Displaying 20 results from an estimated 8000 matches similar to: "dynamic mapping in controller"
2006 May 23
3
image_tag problem
Hiall,
I want to make an image_tag from within a controller in order to be
able to present a link (with a status image) in a view. Here is my
controller method (in file webca_controller.rb, hence WebcaController)
def untouched_status_image_tag
image_tag("open", { :alt => "Offen", :title => "Offen", :size =>
"12x12", :class =>
2012 Apr 25
3
Exec and snmpd restart question
Hello Pros and users of Puppet.
I have two problems with the following modul setup:
My first problem that i tried every combination of
require,notify,subscribe for the mail sending exec but it runs every
single time when i run the module no matter if the files changed or
not.
Second problem that puppet reports that snmpd was refreshed by two
resource and restarted but actually it doesnt happen.
2004 Feb 24
2
ssh and rsyncd.conf
I am able to perform the following line
rsync -rsh="/usr/bin/ssh" filename host:/dir/filename
But I am not able to perform this
rsync -rsh="/usr/bin/ssh" filename host:module_name
where rsyncd.conf contains the following
pid file = /var/run/rsyncd.pid
log file = /var/log/rsyncd.log
read only = false
[module_name]
path = /home/test
comment =
2007 Apr 30
2
Structuring a rails application
I try to structure my rails application with modules, but i have
problems to define the routes. Is'' it possible to use someting like
this: <%= link to ''...'', :module => :module_name, :controller
=> :ctrl_name [...] -%> ?
The controllers i want to access are in app/controllers/module_name. I
thougt i could define something like this: map.connect
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
The tracebacks are compressed into a single line because we're using
PyObject_Str, but they are just about usable if not very readable.
For example you would see an error like this:
nbdkit: error: ./python-exception.py: config_complete: error: ['Traceback (most recent call last):\n', ' File "./python-exception.py", line 54, in config_complete\n raise_error1()\n',
2007 Dec 07
2
rpc.idmapd error after upgrade to 5.1
Hello,
after upgrade from CentOS 5 to 5.1 I see the following error
in /var/log/messages:
'rpc.idmapd[2330]: main: open(/var/lib/nfs/rpc_pipefs/nfs): No such
file or directory'
The directory exists with the permissions
dr-xr-xr-x 2 root root 0 Dec 7 10:21 nfs
So is this an owner/permisson problem?
Should /var/lib/nfs/rpc_pipefs/nfs be owned by rpcuser?
# ls -al /var/lib/nfs/
total
2013 Apr 03
1
calling_module vs module_name ?
In using Hiera, what is the difference between calling_module
and module_name?
Which is should be used?
:hierarchy:
- %{environment}/%{calling_module}/common
- %{environment}/%{module_name}/common
Thanks
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
2011 Sep 21
2
Two parameterized classes calling both a thirth class (results in already defined)
Hi all,
I have three parameterized classes, named mq, mq_gsk and apache.
The mq class always calls the mq_gsk class, but the apache class
should only call the mq_gsk class when the mq class is not used in a
hosts'' node definition
Here is my configuration
class mq (
$gsk_version = undef ) {
require mq::params
< ..... >
class { ''mq_gsk'':
2002 Jan 18
1
Problems with spaces in filenames in scripts
I've got some (bash) shell scripts which I'm using to call rsync based
on command-line options passed to the script. The problem I'm having is
with spaces in the filenames/paths.
I can do:
---
rsync -rav --modify-window=2 --stats --partial --compress --timeout=30
"localhost::module_name/dir/file with spaces.doc" "/smb/dir/dir with
spaces/"
---
on the command
2008 Aug 22
1
Problem using rsync for backing up on to a NAS
Hi,
I have a problem that was already discused in the german archlinux forum
and couldn't be solved. Because of this I was asked to use the rsync
mailing list. So here I am ;b
I'm using the following script to backup my data to a Network Attached
Storage that has an ext3 formated hdd that is mounted via NFS
script: http://pastebin.com/f6b7115c9
This script works fine for /home but
2010 Mar 16
1
hard to define
Hi all.
I am trying to use debian package preseeding within my modules.
Therefor I have created a preseed_package.pp like:
define authentication::preseed_package ( $ensure ) {
file { "/var/local/preseed/$name.preseed":
source => "$module_path/files/$name.preseed",
mode => 600,
backup => false,
require => File["/var/local/preseed"],
}
package {
2013 Mar 28
3
Staging content from modules for temporary use by resources
Hello,
I would like to find a few to use files available in a module for the
execution of a particular resource, without having to stage the file
explicitly onto the client and possibly having to clean it up afterwards.
(This could also apply to content coming from templates.)
The use-cases I have in mind are: running a SQL file (to set up some
content in a database), extracting an archive
2014 Apr 15
1
[PATCH] Null terminate before printing the link name.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This fixes garbage I'm seeing consistently from readlink
/dev/disk/by-uuid/..... during boot.
Signed-off-by: Rafi Rubin <rafi at seas.upenn.edu>
- ---
usr/utils/readlink.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/usr/utils/readlink.c b/usr/utils/readlink.c
index 5ea4e41..75a0735 100644
- ---
2006 Nov 07
2
Mapping CLI'S in Dialplan
Hi All
I am not sure what I wish to do it possible but I would like to see if you
guys know any better.
I have a site who has the extensions: 1231, 1232. 1233, 1234
Each of these users can dial each other on the extension number an also has
an external CLI mapped to them.
On all internal calls or calls to services such as call forwarding their
Caller ID is: Name <XXXX>
What
2011 Jul 07
5
[PATCH 0/5] checkpatch cleanups
It seems checkpatch errors krept in, this is a first go.
Next run will go into usr/kinit directory.
No code changes, just codingstyle fixes (verified with size(3)).
maximilian attems (5):
[klibc] sleep: have argument on next line
[klibc] readklink: remove unneeded braces
[klibc] mount: whitespace policy
[klibc] ls: fix various checkpatch complaints
[klibc] tests: checkpatch fixlets
2016 Jan 06
3
[PATCH klibc 0/3] Changes to support initramfs-tools 0.117
initramfs-tools version 0.117 requires 'readlink -f' and
'mount -o defaults' to work.
The first two patches were previously submitted but not applied.
Ben.
Ben Hutchings (3):
Implement realpath()
readlink: Add -f option
mount: Implement -o defaults
usr/include/stdlib.h | 2 ++
usr/klibc/Kbuild | 2 +-
usr/klibc/realpath.c | 49
2002 Feb 19
2
No subject
Hi,
I'm a new R users (although I have a little experience with S+). I am using the latest version (1.4.1) of R on a Windows 2000 system.
I have obtained several of the additional R packages ("modules") and would like to know how to permanently install them. What I am after is something similar to the following in S+
> .First <- function() { module("module_name")
2007 Feb 09
12
Module Organization
This is in reference to David Schmitt''s writeup [1]
I like that writeup a lot; I just had a few comments/clarifications:
* Namespaces: For now, we just use a flat namespace for modules, i.e.
you can''t have modules within modules, and you always know that in a
fully qualified name ''foo::bar::baz'' that ''foo'' is the module name and
2006 Oct 23
3
passing parameter to action
i have a table of data in my application. i would like to be able to
sort the data in the table by clicking on the column header. the way
i was thinking i want to do this is just by making a ''sort'' action,
and then calling the sort action from each link in the table header
(passing the respective column name). it doesn''t seem to be possible
to pass parameters to an
2006 Aug 18
2
Including CSS from a stylesheet file in a an e-mail
How can I include the contents of the file /public/stylesheets/print.css in an
RHTML page for ActionMailer? Because there is no controller or session, none
of the usual tricks work.
Do you have to use basic file IO or there some convenience method I haven''t
seen?
Thanks
Ashley
--
"If you do it the stupid way, you will have to do it again"
- Gregory Chudnovsky