Displaying 20 results from an estimated 2000 matches similar to: "Generate "Compiled catalog"/yaml for a node?"
2010 Dec 14
11
Configure firewall with Puppet
Hello Everybody,
We need to open some ports on the target machine, let''s say
694:udp and 3306:tcp
I couldn''t find any documentation how can I do this with Puppet. What
the best way of doing this?
Thank you
Dmytro
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to
2010 Oct 22
15
Accessing Facter in other languages than Ruby?
Hi all,
We''re writing a few scripts at the moment that could really make use of
Facter, however the vast majority of them team (including my self!) are not
proficient in Ruby, however they are highly proficient in other languages such
as (dare I say it!) Python.
Is there (or are there any plans to!) release bindings for other languages to
enable facts to be used in scripts other
2004 Aug 16
4
Avaya firmware
I attempted to update an Avaya 4602 phone to the latest SIP firmware and
now the phone stops at the bootloader. It keeps requesting an
appsip.ebin file from my HTTP server and is no longer checking my TFTP
server for update files. Since no appsip.ebin file was included in the
firmware update provided by Avaya, I have no idea where I am supposed to
get this file. And also since it is no
2010 Aug 19
7
External CA: Could not run: Could not retrieve certificate for puppetsrv and not running on a valid certificate authority
Hi Experts,
I''m trying to generate my own certificates (all of them, including certs for
CA, server and client) for puppet to use.
and I''m getting "Could not run: Could not retrieve certificate for puppetsrv
and not running on a valid certificate authority"
Just wondering what the problem could be?
What I did is:
1. generate a self signed CA cert, and save the
2008 Apr 25
2
PXE / Kickstart / nfs ....
hello there,
I wonder if you could help me:
I am trying to install 50 diskless servers using PXE / kickstart, it all starts well, DHCP server issues a dynamic address, tftp issues the kickstart file, the client starts reading the KS file but at some point anaconda brings up an unhandled exception related to Python when reading Comps.xml??
What is really unsettling is the fact that if I plug
2008 Jan 13
2
{worker} after :end-time worker freaks out
Hi all,
i was using bdrb a while ago and it wasn''t stable enough in version
0.2.1 for doing the job - it loss jobs or did execute only the first one
invoked and so on.
Now i gave the new version a try and i found a bug at playing around.
When i start a worker_method over the normal Unix scheduler bdrb will
start as much as possible the worker_method after the :end-time is reached.
2004 Nov 05
2
Creating .Rout.save files for package subdirectory "tests"
Hi,
I added the "tests" subdirectory and a test file (say "myTest.R") to our
"systemfit" package. Up to now I create the "myTest.Rout.save" file with
> R CMD BATCH --vanilla myTest.R myTest.Rout.save
However, "R CMD check" reports two differences between myTest.Rout.save and
the output of myTest.R:
a) myTest.Rout.save contains following
2013 Dec 13
2
how can i write the function into a file c:/mytest.R with cat function?
mytest<-function(x,f){
sum(x*f)/sum(f)
}
cat(mytest,file="c:/mytest.R")
Error in cat(list(...), file, sep, fill, labels, append) :
argument 1 (type 'closure') cannot be handled by 'cat'
how can i write the mytest function into a file c:/mytest.R with cat function?
[[alternative HTML version deleted]]
2009 Jan 16
3
rspec model testing - test on user defined validation- How do I test that the create failed.
I''m new to rspec and looking for way to test a validation I added to a model.
The test checks to see that if field1 has a value then field2 must be nil
and vice versa.
-------------------------------
When I did the rspec_scaffold it generated one test which worked
before :each do
@valid_attributes = {
:field1 = "value for field1"
:field2 = "value for
2014 Jun 09
4
[LLVMdev] LTO and Optimized libraries don't mix
When using the ARM cross compiler we've run into an issue with LTO and
optimized libraries.
Consider you have an optimized library opt.a, which contains a version of
memcpy.
Compiling with LTO (something like),
clang myTest.c opt.a -flto -o myTest
causes myTest.c to get compiled to bitcode.
Then the bitcode gets passed to the linker. The linker looks through the
bitcode (via
2012 Feb 07
6
Setting up infile for R CMD BATCH
Suppose I create an R program called myTest.R with only one line like
the following:
type <- as.integer(readline("input type (1: type1; 2: type2)? "))
Then I'd like to run myTest.R in batch mode by constructing an input
file called answers.R with the following:
source("myTest.R")
1
When I ran the following at the terminal:
R CMD BATCH answer.R output.Rout
it failed
2009 May 19
2
incremental directory searche in rsync 3.0.6
Hi,
I was in under impression that rsync 3.0.5/3.0.6 creates all the missing
directories in the path but I think I am wrong. Could any one tell me is it
possible to create all missing dirs in path at destination side if not
exists. Currently, I have been getting below errors.
rsync -avz /tmp/mytest/rsync-test/dir-test/parent-dir/
desthost:/tmp/mytest/rsync-test/dir-test/parent-dir/
sending
2006 Apr 19
1
gsummary function (nlme library) (PR#8782)
Full_Name: Ben Saville
Version: 2.1
OS: Windows XP
Submission from: (NULL) (152.2.94.145)
I'm using the gsummary function to calculate a sum of V1 (column one) from my
data 'mytest' by group (V2,or column 2). If V1 (the variable of interest) is
all the same value (in this case all 2's), I do not get back the correct
summation. If there is at least one difference in V1 (all
2010 Jul 02
4
zfs - filesystem versus directory
Folks,
While going through a quick tutorial on zfs, I came across a way to create zfs filesystem within a filesystem. For example:
# zfs create mytest/peter
where mytest is a zpool filesystem.
When does this way, the new filesystem has the mount point as /mytest/peter.
When does it make sense to create such a filesystem versus just creating a directory?
# mkdir mytest/peter
Thank you in
2010 Dec 03
2
How to get 'R' to talk BACK to other languages / scripts??
Hey everyone,
I know that I can call 'R' from other scripts, and that I can make
command calls from 'R' (e.g., using system() ). But how can I get 'R' to
RETURN values to the script that called it. E.g., I would like to be able
to do something like the following (as a simpler example) from a bash
script:
#!/bin/bash
myTest=echo /usr/local/bin/R --no-restore
2005 Dec 19
6
Shutdown script not being run
I've got an odd problem. My server will not shutdown normally because
the AoE driver is not being shut down properly. While investigating the
problem, I found that the aoe script is apparently not being called for
shutdown. I have been able to duplicate this with a brand new test
script.
My test script is just a simple file that echos back the start or stop
command:
#!/bin/bash
#
2012 Jan 13
1
apply transformation
Hello All,
I have the following dataset:
Year 2006 2007
Jan Jan 0.0204 0.0065
Feb Feb 0.0145 0.0082
Mar Mar 0.0027 0.0122
> dput(d_tmp)
structure(list(Year = c("Jan", "Feb", "Mar"), `2006` = c(0.0204,
0.0145, 0.0027), `2007` = c(0.0065, 0.0082, 0.0122)), .Names =
c("Year",
"2006", "2007"), row.names = c("Jan",
2005 Jun 23
6
Problems with Hello World
Hello, I''m installed RubyOnRails in my Fedora Core 4 system.
I''ve created an empty web application with:
rails cookbook
then a controller
ruby script/generate controller MyTest
And a file named my_test_controller.rb was created at
cookbook/app/controller directory.
I ''ve written a new method for MyTestController class like:
def index
render_text "Hello
2013 Jan 23
4
how to read a df like that and transform it?
Dear all
I have a data.frame like that :
father mother num_daughter daughter
291 3906 0 NULL
275 4219 0 NULL
273 4236 1 49410
281 4163 1 49408
274 4226 1 49406
295 3869 2 49403
49404
287 4113 0 NULL
295 3871 1 49401
292 3895 4 49396
49397
49398
49399
291 3900 3 49392
How to read it into R and transform it like that:
father mother num_daughter
2012 Sep 13
2
[LLVMdev] llvm-mc fixups
When I use llvm-mc’s ‘-show-encoding’, it only goes as far as printing
“fixups”:
$ echo -e "adr r0, lbl\nnop\nlbl:" | llvm-mc -triple=thumbv7 -show-encoding
Outputs:
@ encoding: [A,0xa0]
@ fixup A – offset: 0, value: lbl, kind: fixup_thumb_adr_pcrel_10
To find out that it is encoded as 0xa001, I can do:
$ echo -e "adr r0, lbl\nnop\nlbl:" | llvm-mc