Displaying 20 results from an estimated 100 matches similar to: "Module question: resources evaluated once or repeatedly?"
2008 May 27
8
How to manage partitions and logical volumes with puppet?
Hi,
As someone new to puppet I''m trying to work out the best way to manage
different filesystems and logical volumes on different servers. Specifically
I would like to be able to define on a series of nodes different LVM logical
volumes to create and mount.
I''m trying to do this at the moment with a define of the following type:
# Manage a partition and create if needed.
2013 Sep 19
4
Array being flattened
Hello All,
I''ve run into an issue where an array that''s being passed into a
defined type is being "flattened" when it''s inclosed in double quotes
and I''m not sure how to get around this. This is happening a the
pdxcat/amanda module and I''ve raised an github issues for this but
wanted to query the community as a whole. The issue and my branch
2007 Dec 15
2
[LLVMdev] fix warning with newer g++ compilers
Ok, here is the patch again... I also included fixes for the bits
that originally gave my mailer fits...
Two votes for orange, so I went with orange...
Doing diffs in .:
--- ./lib/AsmParser/LLLexer.cpp.~1~ 2007-12-14 22:09:06.000000000 -0800
+++ ./lib/AsmParser/LLLexer.cpp 2007-12-15 13:02:47.000000000 -0800
@@ -54,7 +54,7 @@ static uint64_t HexIntToVal(const char *
Result +=
2012 Dec 28
1
Using grImport to create a watermark
Hi…
I want to use grImport to create a watermark on a plot() using the methods
Paul Murrell describes here:
http://cran.r-project.org/web/packages/grImport/vignettes/import.pdf (page
28). I can essentially reproduce this manually at the R prompt, and
independently I can use grid.picture(…) successfully in a R script, but
when I attempt to do do this in my script:
•
•
•
2003 Jun 03
1
[LLVMdev] Problem with `as'
Hi,
I am trying to assemble a preety simple program, but the
assembler is giving parse errors:
===========================
%.LC0 = internal constant [17 x sbyte] c"Hello World %d \0A\00"
%.LC1 = internal constant [17 x sbyte] c"yyyyyyyyyyyyyyy\0a\00"
declare int "puts"(sbyte*)
int "main"() {
%cast1 = getelementptr [17 x sbyte]* %.LC0, long 0, long 0
1997 Jul 25
7
Amanda 2.3.0.5-Samba 1.9.16p11 PC backups...
At the bottom is what I got returned from AMANDA 2.3.0.5 after patching
Samba 1.9.16p11 to give estimates. Any idea what I might not have done yet?
My disklist reads:
shokk \\thor\depot nocomp-user-gnutar
To connect successfully to that server with smbclient, I have to do this,
giving the same password that I now have in /etc/amandapass:
smbclient \\\\THOR\\DEPOT -U BACKUP
Also, the
2008 Jan 12
1
[LLVMdev] Labels
I'm attempting to modify a parser generator to emit LLVM code instead of C.
So far the experience has been trivial, but I am now running into an error
regarding labels that I can't seem to solve.
Situation 1: A label is used immediately after a void function call (l6 in
this case):
<snip>
%tmp26 = load i32* @yybegin, align 4
%tmp27 = load i32* @yyend, align 4
call void
2007 Aug 16
0
No subject
"The important thing to understand about how schedules are currently
implemented in Puppet is that they can only be used to stop an element
from being applied, they never guarantee that it is applied."
A schedule does not say this will happen this often, it says this can
not happen more than this often. Thus with the default half hour
updates the proposed schedule would not have any
2008 Jan 06
0
RFC: defined type for stowed packages
This appears to be working for me, but suggestions on improvements are
welcome:
master/manifests/definitions/stowedpackage.pp:
> define stowedpackage ( $basepackage, $version,
> $rsyncserver=''gold.cae.tntech.edu'',
> $rsyncmodule=''metastow'',
> $stowdestdir=''/usr/local/stow'' ) {
>
> file { stow_initiator:
2007 Aug 06
0
Amanda example module
I won''t claim it''s all done to the best style, but it does appear to
work. Can someone take a look at
http://blogs.cae.tntech.edu/mwr/2007/08/02/the-new-file-server-puppet-and-modules/
and give suggestions? It''s a bit more extensive than the example on the
wiki at ModuleOrganization, and might make a decent jumping-off point
for others.
--
Mike Renfro / R&D
2007 Jun 01
1
Puppet starting before network is up
Lots of my puppet hosts have DHCP-assigned addresses. I''ve found, at
least in Debian 4.0, that puppetd will often start up before the network
interfaces are all up and running, and therefore it can''t contact the
puppetmaster. When that happens, puppet exits immediately. I''m hacking
around the problem with the following content in /etc/default/puppet,
but
2007 May 25
1
hosts.equiv management?
My first public-facing deployment of Puppet is likely to be on some
parallel computing nodes we have here. One of our fluid dynamics
packages expects to be able to rsh from one master node to other slave
nodes in the same batch queue. I think I''ve made some good class
definitions up to this last point, where code duplication rears its head.
Example of the problem:
class ch405-host
2007 Jul 01
5
Mount and fstab problems with large devices?
I''m trying to get a new file server managed by puppet from day 1, at
least as much as possible. At the moment, though, there''s two issues I''m
running into:
1. fstab should have entries for my comically-large RAID, but doesn''t.
2. each puppet run appears to remount the RAID, even when no rules in
the manifest change.
I suspect the issue may be in parsing
2007 Aug 25
1
Bug in replace parameter on file types?
Part of my authentication setup is to keep clients'' secrets.tdb for
Samba/Winbind on the puppetmaster. Since secrets.tdb contains the
username/password for an Active Directory machine account, it will get
changed by Winbind periodically, and I don''t want it those changes to
get reverted by puppet. So I''ve got active-directory-member.pp, last
modified August 19, with
2006 Jan 11
1
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
For VC++, I solved this by having bison/flex put the files into the obj
directories. I also have it unconditionally regenerate the files if
bison/flex is available, and copy them from src if they are not.
Chris Lattner wrote:
> On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
>
>> I can't build LLVM CFE after this patchs
>>
2006 Jan 11
1
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
No solutions come to mind. Conflicts are conflicts and must be resolved
manually. This situation should only occur if you change the .l/.y file
and then update the .h/.cpp files after someone else has changed
the .l/.y file and regenerated the .h and .cpp. That doesn't seem like a
high frequency scenario that we need to worry about. Not sure there's
much we could do even if it was.
Reid.
2006 Jan 11
0
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
On Wed, 11 Jan 2006, Vladimir A. Merzliakov wrote:
> I can't build LLVM CFE after this patchs
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html
This is most likely because you have conflict markers in the generated
files in the lib/AsmParser directory. Try removing
2006 Jan 11
4
[LLVMdev] Re: [llvm-commits] CVS: llvm/lib/AsmParser/Lexer.cpp Lexer.l
I can't build LLVM CFE after this patchs
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030639.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20060109/030654.html
Build terminated with messages:
--8X----------------------------------------------
llvm[2]: Compiling Lexer.cpp for Debug build
In file included from
2007 Nov 20
5
Solaris 10 Jumpstart instructions on the wiki now
Not that I''m much of a Solaris guy, and definitely not a Solaris 10 guy,
but since nobody else had posted anything yet:
http://reductivelabs.com/trac/puppet/wiki/PuppetSolaris#Solaris10
The good news is that it appears to be a completely hands-off puppetd
installation. Just sign the client key afterwards on the puppetmaster
and you''re set. The bad news is that it''s
2008 Jul 30
0
Re: jQuery.post gets some code but the code isn't evaluated
> jQuery.post("/plans/<%= @plan.id %>/add_learning_objective?name=" +
> objective_name)
You need to specify the type option as "script" to have it executed.
(See the docs for jQuery.ajax(), where it is the dataType option. The
"type" option in $.post is passed to $.ajax as the dataType option)
Rein
--~--~---------~--~----~------------~-------~--~----~