Displaying 20 results from an estimated 112 matches for "module_name".
2011 Apr 01
1
[GIT PULL] elflink ldlinux
The following changes since commit 8c576f1fe03e34879921311f46613a35c6530000:
Merge remote-tracking branch 'mfleming/for-hpa/elflink/fix-compiler-warnings' into elflink (2011-03-16 12:53:58 -0700)
are available in the git repository at:
git://git.zytor.com/users/mfleming/syslinux.git for-hpa/elflink/ldlinux
Matt Fleming (1):
ldlinux: Perform auto-boot if NOESCAPE set in config
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 ema...
2011 Feb 17
5
[PATCH 0/4] Reduce core size
From: Matt Fleming <matt.fleming at linux.intel.com>
These patches are based on the elflink branch.
This set of patches is my attempt at moving the command-line interface
functionality out of the core and into an ELF module to reduce the
size of the core.
The most interesting patch is [PATCH 4/4] which moves the cli code out
of core/elflink and into com32/elflink/modules. [PATCH 4/4] is
2011 Sep 08
4
[PATCH] Staging: hv: storvsc: Show the modulename in /sys/class/scsi_host/*/proc_name
mkinitrd relies on /sys/class/scsi_host/*/proc_name instead of
/sys/block/sd*/device/../../../moalias to get the scsi driver module
name.
As a fallback the sysfs driver name could be used, which does not match
the module name either ('storvsc' vs. 'hv_storvsc').
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
drivers/staging/hv/storvsc_drv.c | 3 ++-
1 file changed,
2011 Sep 08
4
[PATCH] Staging: hv: storvsc: Show the modulename in /sys/class/scsi_host/*/proc_name
mkinitrd relies on /sys/class/scsi_host/*/proc_name instead of
/sys/block/sd*/device/../../../moalias to get the scsi driver module
name.
As a fallback the sysfs driver name could be used, which does not match
the module name either ('storvsc' vs. 'hv_storvsc').
Signed-off-by: Olaf Hering <olaf at aepfle.de>
---
drivers/staging/hv/storvsc_drv.c | 3 ++-
1 file changed,
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 = New Test
The client thinks that everything is going ok but the file never shows up in
the target directo...
2012 Apr 25
3
Exec and snmpd restart question
...how to restart snmpd on
Ubuntu LTS 10.04 repository install and how to make exec to run only
if the created file changes.
file{ ''/etc/default/snmpd'':
ensure => present,
source =>
"puppet:///modules/${module_name}/snmpd",
notify => Service[''snmpd''],
require => [ Package[''snmp''],
Package[''snmpd''] ];
''/etc/snmp/snmpd.conf'':...
2010 Aug 17
0
[LLVMdev] LLVM Makefile MODULE_NAME error
...m working on compiling vmkit but have run into an error which seems
like something that maybe the llvm community would have a better idea
of how to solve than vmkit's.
The issue is when vmkit is built to compile the MMTk garbage collector
it must use the llvm-gcc compiler, at which point MODULE_NAME is
defined instead of LIBRARYNAME. This results in the following error
message:
make[1]: Entering directory `/cs/student/kyleklein/vmkit/lib'
make[2]: Entering directory `/cs/student/kyleklein/vmkit/lib/Mvm'
make[3]: Entering directory `/cs/student/kyleklein/vmkit/lib/Mvm/Allocator...
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 line, or explicitly in a script, this works fine.
However.. when I invoke it from a script, like this:
---
opts='-rav --modify-window=2 --stats --partial --compress --timeout=30
"localhost::module_...
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
'':module/:controller/:action'', but it doesn''t work.
--~--~---------~--~----~------------~-------~-...
2011 Sep 21
2
Two parameterized classes calling both a thirth class (results in already defined)
...redefine
at /etc/puppet/modules/mq/manifests/init.pp:62 on node
nodex.domainy.com
Within my apache class, I tried to use "if defined()", but this does
not seem to work at all
Here is one of my many attempts
if defined(Package["mq_gsk"]) {
notice ( "${apache::params::module_name}, mq module defined, mq_gsk
already included" )
} else {
notice ( "${apache::params::module_name}, mq module not defined,
check websphere module defined" )
if defined(Package["${apache::params::package_name_module_was}"]) {
notice ( "${apache::params::modul...
2007 Feb 09
12
Module Organization
...ly, I
wasn''t the one suggesting the ''.'' as a separator, I am perfectly happy
with ''::'') We''ll deal with the pain of namespace clashes when they
become an issue.
* Main module file: The Wiki page talks about modules having a
''MODULE_DIR/module_name/manifest.pp'' - shouldn''t that file also go into
the manifests directory ? (And we might want to call it module.pp)
* Import/file name resolution: When puppet encounters a statement like
''import "foo"'' it first looks for a file
''MODULE_DIR/foo/...
2018 Aug 08
2
[PATCH nbdkit] python: Try harder to print the full traceback on error.
...free (error_cstr);
+}
+
+/* Convert the Python traceback to a string and call nbdkit_error.
+ * https://stackoverflow.com/a/15907460/7126113
+ */
+static int
+print_python_traceback (const char *callback,
+ PyObject *type, PyObject *error, PyObject *traceback)
+{
+ PyObject *module_name, *traceback_module, *format_exception_fn, *rv,
+ *traceback_str;
+ char *traceback_cstr;
+
+#ifdef HAVE_PYSTRING_FROMSTRING
+ module_name = PyString_FromString ("traceback");
+#else
+ module_name = PyUnicode_FromString ("traceback");
+#endif
+ traceback_module = PyImport_...
2006 Nov 23
3
dynamic mapping in controller
...a list of the relative record and
its details.
What I want though is for if someone types in say
localhost/results/etab-mobile that it maps dynamically to
localhost/show/1 but keeps localhost/etab-mobile in the address bar. the
"etab-mobile" title is found in the database under "module_name" so can
be pulled out for use.
I know this can be done in the routes.rb folder statically but would
like to do it in the controller so that its not as static.
is this possible?
thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~---...
2011 Mar 16
0
[GIT PULL] elflink compiler warning fixes
...m32/elflink/ldlinux/cli.c b/com32/elflink/ldlinux/cli.c
index 77d32cd..0e0827d 100644
--- a/com32/elflink/ldlinux/cli.c
+++ b/com32/elflink/ldlinux/cli.c
@@ -378,7 +378,7 @@ void process_command(const char *cmd, bool history)
// dprintf("raw cmd = %s", cmd);
strcpy(temp_cmd, cmd);
- module_name = strtok(cmd, COMMAND_DELIM);
+ module_name = strtok((char *)cmd, COMMAND_DELIM);
len_mn = strlen(module_name);
if (!strcmp(module_name + len_mn - 4, ".c32")) {
@@ -397,7 +397,7 @@ void process_command(const char *cmd, bool history)
} while (argc < MAX_COMMAND_ARGS);
argv[a...
2010 Mar 16
1
hard to define
...;$name":
ensure => $ensure,
responsefile => "/var/local/preseed/$name.preseed",
require => File["/var/local/preseed/$name.preseed"],
}
}
First of all I would like to know if it''s possible to use variables
within the define statement, e.g.:
define $module_name::preseed_package
This would make the define much more flexible as I could then just
copy it over to the other modules if necessary.
But now to the main question: as you can see from above, the file
deployment requires a directory /var/local/preseed/ to be present.
I wonder what''s the be...
2018 Aug 08
0
Re: [PATCH nbdkit] python: Try harder to print the full traceback on error.
...Python traceback to a string and call nbdkit_error.
> + * https://stackoverflow.com/a/15907460/7126113
> + */
> +static int
> +print_python_traceback (const char *callback,
> + PyObject *type, PyObject *error, PyObject
> *traceback)
> +{
> + PyObject *module_name, *traceback_module, *format_exception_fn, *rv,
> + *traceback_str;
> + char *traceback_cstr;
> +
> +#ifdef HAVE_PYSTRING_FROMSTRING
> + module_name = PyString_FromString ("traceback");
> +#else
> + module_name = PyUnicode_FromString ("traceback");
>...
2019 Sep 11
0
[PATCH nbdkit] python: Drop support for Python 2.
...if (PyBytes_Check (str))
+ else if (PyBytes_Check (str))
return strdup (PyBytes_AS_STRING (str));
}
return NULL;
@@ -159,11 +151,7 @@ print_python_traceback (const char *callback,
*traceback_str;
CLEANUP_FREE char *traceback_cstr = NULL;
-#ifdef HAVE_PYSTRING_FROMSTRING
- module_name = PyString_FromString ("traceback");
-#else
module_name = PyUnicode_FromString ("traceback");
-#endif
traceback_module = PyImport_Import (module_name);
Py_DECREF (module_name);
@@ -222,7 +210,6 @@ check_python_failure (const char *callback)
return 0;
}
-#if PY_M...
2004 Jun 22
3
[ANNOUNCE] sch_ooo - Out-of-order packet queue discipline
...clude <linux/ip.h>
+#include <linux/udp.h>
+#include <linux/tcp.h>
+#include <linux/time.h>
+
+#include <linux/proc_fs.h>
+#include <asm/uaccess.h>
+
+#include <linux/string.h>
+#include <linux/netdevice.h>
+#include <net/pkt_sched.h>
+
+#define MODULE_NAME "sch_ooo v0.1"
+
+#if 0
+#define DPRINTK(format,args...) printk(KERN_DEBUG MODULE_NAME ": " format, ##args)
+#else
+#define DPRINTK(format,args...)
+#endif
+
+
+/* global variables */
+
+/* qdisc internal data */
+struct ooo_sched_data {
+ __u32 limit; /* in packets */
+ __u3...
2013 Mar 28
3
Staging content from modules for temporary use by resources
...ecutable
installer (as generated with makeself, for example).
Currently, one way to do this is to stage the file first and to make the
resource (e.g. exec) using it depend on that file being set up:
file { ''/tmp/setupdb.sql'' :
source => "puppet:///modules/${module_name}/setupdb.sql",
mode => 644,
backup => false,
}
exec { ''Setup the database'':
command => ''psql ${databasename} -f /tmp/setupdb.sql'',
onlyif => ''psql ... | grep ...'', # Some condition to che...