Displaying 20 results from an estimated 200 matches similar to: "Build a cmdline for exec from optional parameters"
2024 Feb 18
1
Capturing Function Arguments
? Sat, 17 Feb 2024 11:15:43 -0700
"Reed A. Cartwright" <racartwright at gmail.com> ?????:
> I'm wrapping a function in R and I want to record all the arguments
> passed to it, including default values and missing values.
This is hard if not impossible to implement for the general case
because the default arguments are evaluated in the environment of the
function as it
2008 Jan 02
4
Puppetmaster doesn''t know itself
I restarted puppetmasterd and it announced that the Cert does not match
existing key !
[root@puppet ~]# puppetmasterd --verbose --no-daemonize
info: Starting server for Puppet version 0.24.1
info: mount[files]: allowing 10.100.0.0/16 access
info: mount[files]: allowing *.gridapp.com access
info: mount[files]: allowing *.dev.gridapp.com access
info: Retrieving existing certificate for
2008 Jan 11
3
Reports emailed to me
Sorry if this is obvious, but how can I have reports emailed to me- I
want to know what each puppetd update is changing
Thanks
--e
Eugene Ventimiglia
Director of Systems
GridApp Systems
e: eventi@gridapp.com
o: 646 452 4081
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2008 Jan 14
3
Spot the cyclical relationship
I got the following error, but there''s no "cycle" I commented out
File["/dev/sdb3"] and it works, but of course would choke if I ran it
and the requirement were not met
err: Could not apply complete catalog: Found cycles in the following
relationships: File[/dev/sdb1] => Exec[echo -e "0,290\n,290\n," | sfdisk
/dev/sdb]
Here''s the node:
node
2007 Dec 21
2
Any magic to the name ''memory'' in templates?
I tried using it in a template:
<%= memory %>
and it put "0" in my file
when i switched the variable name to the_memory, it worked
Eugene Ventimiglia
Director of Systems
GridApp Systems
e: eventi@gridapp.com
o: 646 452 4081
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
2007 Dec 26
7
Thank you puppet!!
I''ve been hacking at puppet for the past week or two, and came up with
some great stuff, but I''m wondering if there''s a way to tie it all
together
To create a virtual machine for our company''s QA environment, I''m
currently doing 3 things:
#create a vm
node vmsvr2 inherits default {
include vmserver
vmserver::vm {
2007 Dec 17
2
More 0.24.0 problems
this time when I try to connect the first node:
[root@qaagt20 ~]# /etc/init.d/puppet start
Starting puppet: /usr/lib/ruby/1.8/net/http.rb:560:in `initialize'': No
route to host - connect(2) (Errno::EHOSTUNREACH)
from /usr/lib/ruby/1.8/net/http.rb:560:in `open''
from /usr/lib/ruby/1.8/net/http.rb:560:in `connect''
from
2008 Jan 08
1
Simple Search and replace on puppetmaster?
Is there any way to do a simple search and replace on the puppetmaster
server?
I''m passing one IP address for one interface on a box, and attempting to
set the second according to a convention we use, so I need something
like
$eth1_ip = `echo "10.100.6.99" | sed -r -e
''s/\.[0-9]+\.([0-9]+)$/.94.\1/''`
# eth1_ip = 10.100.94.99
interface {
2007 Dec 17
21
New error in Centos 5.1
Just started a "pilot" puppet server for real after messing around in
VMs for the past week or so... I used the 0.24.0 since it was available,
and on the test run, got this:
err: Could not prefetch package provider ''yum'': Execution of
''/usr/bin/python
/usr/lib/ruby/site_ruby/1.8/puppet/provider/package/yumhelper.py''
returned 512: /usr/bin/python:
2006 Aug 14
14
A mock which extends rather than replaces a class?
While running tests, we would like to instrument some of the classes
under test. We still want the classes to do exactly what they currently
do, but we would like them to do more when running in the test
environment.
Clearly we can (and currently do) just extend the objects "on the fly"
where necessary, but this is a bit messy - we''d like some centralised
way to always
2008 Jan 17
0
CSR and SSL Key being regenerated on a puppet node
This is causing me to --clean the first key, and --sign again after the
second run of puppetd --test
First Run:
[root@asmc1n2 ~]# puppetd --test
warning: peer certificate won''t be verified in this SSL session.
info: Creating a new certificate request for asmc1n2.dev.gridapp.com
info: Creating a new SSL key at
/var/lib/puppet/ssl/private_keys/asmc1n2.dev.gridapp.com.pem
...
Second
2024 Feb 17
2
Capturing Function Arguments
I'm wrapping a function in R and I want to record all the arguments
passed to it, including default values and missing values. I want to
be able to snoop on function calls in sourced scripts as part of a
unit testing framework.
I can capture the values fine, but I'm having trouble evaluating them
as if `force()` had been applied to each of them.
Here is a minimal example:
f0 <-
2008 Nov 10
12
CA_Server woes
I''m having difficulty getting my head around some CA issues
My client has:
[puppetd]
ca_server=puppetca.mydomain.com
and puppet resolves to a different machine.
when puppet connects, it requests a signature from
puppetca.mydomain.combut then on the next pass fails with the
following:
err: Could not retrieve catalog: Certificates were not trusted: SSL_connect
returned=1 errno=0
2006 Sep 25
4
Tightening the rules for literal `[` and `]` chars in link ids
So here's an interesting bug I just discovered:
[Like this][d]: [here][h].
[d]: foo
[h]: bar
The output here should be:
<a href="foo">Like this</a>: <a href="bar">here</a>.
But instead the output is completely empty. I see this bug in both
Markdown.pl and PHP Markdown.
The problem is that all three lines are being
2007 Dec 20
11
No networking
I''m trying to run puppet on a node I''m cloning from CD. No IP, no DNS,
puppet with a standalone manifest and --use-nodes.
I get dnsdomainname errors and a "Network is unreachable" error. I''m
using 0.20, but I checked for new options in 0.23 and didn''t see one
to turn off networking.
Is this an option?
Thanks.
2007 Dec 28
2
puppet hangs on Puppet::Type::Package::ProviderYum
This is particularly nasty, since it''s on the puppetmaster itself:
[root@puppet tmp]# rpm -q yum puppet puppet-server
yum-3.0.5-1.el5.centos.5
puppet-0.24.0-2.el5
puppet-server-0.24.0-2.el5
[root@puppet tmp]# cat /etc/issue
CentOS release 5 (Final)
Here''s the output of puppetd --debug:
notice: Starting catalog run
debug: Loaded state in 0.01 seconds
debug: Prefetching rpm
2008 Mar 07
3
parsing /proc/cmdline
Hi - I am not an expert at shell script writing.
If /proc/cmdline looks like
option1 option2 ... ks=http://192.168.1.8/ks/ks.cfg option3 option 4 ...
How can I get the 192.168.1.8 out of this cmdline.
THanks,
Jerry
2005 May 19
1
Memdisk ramdisk hangs using menu.c32, but ok from cmdline.
<..trying again after changing outgoing e-mail options to avoid bad
headers...>
I'm trying to use syslinux 3.08-pre11 on a Gateway E4000 with the
(sample) config file below, and the ramdisk images fail to boot if
selected as a menu option, but do boot if I press ESC and type the
command line manually.
The two options are for the same floppy image, but the first is
compressed, the
2009 Jul 14
0
[PATCH node] Changes the exit prompt based on whether it's firstboot of cmdline.
If the menu is launched during firstboot then the menu shows the
"Continue with stateless boot" text. If the menu is launched from the
cmdline then it will show "Exit".
Resolves: rhbz#511122
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-setup | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git
2008 Jan 14
1
crazy isolinux bug?- cmdline truncated only on vaio vgn-n250e
Ok, this is crazy, but I have a livedvd I created with fedora-8's
syslinux-3.36-7.fc8
and when I boot under qemu ( -boot d -cdrom /dev/dvd) it boots just
fine, but when I boot it on the actual hardware (vaio vgn-n250e), the
kernel cmdline gets truncated at about the 99th character, causing problems.
The same exact physical livedvd booted on a different box does not get
truncated.
The