Displaying 20 results from an estimated 500 matches similar to: "Best Practice: how to organize puppetmaster directories?"
2007 Apr 24
6
Using puppet to backup
Apologize ahead of time if this has been asked before. Without using
external commands, can puppet back-up files and directories to the
puppetmaster server? If I delete or change a file, I can back the file,
but all I want to do is to take a snap-shot of some configurations.
If I can''t do it natively, has anyone created a script that does so
using external commands (such as tar, gzip,
2007 May 14
1
Issue with ralsh and Puppet installed as gem
Hi,
I finally found why ralsh was failing on my systems; Puppet was
installed as a gem and ralsh couldn''t find it. I added the preamble from
puppetd and it seems to work fine now:
---8<--- snip ---8<---
65c65,75
< require ''puppet''
---
>
> require ''rubygems''
> version = "> 0"
> if ARGV.size > 0 &&
2009 Jan 30
4
modules not processing in order
Hello there
I''m just testing a module (see merging directories) and it is quite
involved, in that it:
__generic__
1) creates a user
2) creates a base directory
3) copies generic files (directory with recursion)
4) generate a configuration file from a template
5) creates a symlink
__os specific__
6) copies os specific files (in my scenario two folders, and an init
script)
7)
2007 Apr 30
6
Best practice: how to set up mountpoints?
Hi,
[Note: I''ve been saving up my puppet questions for a free moment so
pardon my bombardment of the list]
What''s the best way to set up mounts and mountpoints with puppet?
I am currently using something like:
----
class software_depot_client {
# create NFS mountpoint
file { "/mnt/nfs/repository":
path => "/mnt/nfs/repository",
ensure =>
2007 Apr 30
6
Installing puppetmasterd, puppetd as services under Red Hat, CentOS
Hi,
Since I''ve installed ruby and ruby-gems from source, then installed
facter and puppet as gems, I don''t get the usual startup scripts shipped
with RPMs.
Rebuilding the ruby RPM is painful, mostly because Red Hat (and pretty
much every vendor) have this tendency to include random files and patch
the living daylights out of a perfectly good source package so that
converting
2007 May 26
2
OT: Installing munin-node cleanly in spite of RPM
Hi,
This is totally off-topic (it''s an rpm/rpmbuild problem), but I want to
get to a point where I''m installing and configuring munin-node with
puppet. To do that, I need a clean, standardized way of installing
munin-mode on CentOS (RHELish) boxes.
I could install munin-node from source via puppet and probably make
enough edits that all the files end up in reasonable locations
2007 May 15
5
Trying to make tidy{} work
Hi,
Say I''ve got a directory full of stale Tomcat temp files of the form:
/usr/local/blackboard/apps/tomcat/work/Catalina/localhost/webapps_assessment/strts6866.tmp
and I want to delete any files that haven''t changed in a week and not
keep any backup.
Should this get rid of them:
tidy {
2007 Apr 12
14
how to make puppet a killer app
I''ve been thinking about how to make Puppet a killer app, and I think there
is one specific thing that could be done to help make that happen:
People using Puppet now to consistently state what they *really* wish Puppet
could do for them -- the recent thread around Puppet on Windows is in that
vein, but it''s not specific enough. For example, I''d like to know what
2007 Aug 25
2
Austin meetup?
Looks like I''ll be in Austin from Tuesday (late) night until Saturday
morning. Any Puppeteers in Austin who want to get together?
I''ve got vague plans to hang out with whurley, but I''d love to meet a
few more people in the community. Wednesday, Thursday, or Friday
night should work fine (although not all three).
--
Always behave like a duck - keep calm and
2007 Jun 27
9
Newbie questions...
I''ve spent the last week or two poring over the documentation and
setting up my first puppet environment, and while I''ve figured out
how to do most of what I want to do with it, I have some questions
that I haven''t been able to find answers for...
* Can I match parts of a facter fact? In particular I have hostnames
that include the environment as part of the
2007 May 07
68
Puppet Best Practice
Hello everyone,
A long time ago, I posted the Stanford Best Practices and I''ve gone through
and updated it today. I''d like to have people go through it and see if we
can strip out some Stanford specific stuff and tag this as an official best
practice. I think an official best practice will be important as more and
more people consider making shareable modules, etc (mostly
2007 Apr 12
1
[PATCH] Transparent cube
Hi,
Recently i have worked on re-writing beryl's transparent cube, and
ported 3d plugin to compiz.
I'm attaching a patchset here that includes the transparent cube
patches (i'll post the 3d plugin when i fix some problems that didn't
happen in beryl).
Patching order: btf-ftb.patch, clip-planes.patch, plugin-events.patch,
cube-paint-order.patch, transparent-cube.patch.
Special
2007 May 07
2
Host information gathering
I''d like to keep the desired and current states of a machine regarding it''s
configuration.
Sometimes a chain of administrative commands is needed to get a special thing
(re)configured on a machine, e.g. reconfig of a suncluster. This cannot be
done with puppet in an easy way. In the majority of cases, these commands
change appropriate files, which reflect the current
2017 Oct 27
2
Less aggressive on the first allocation of CSR if detecting an early exit
When compiling C code below for AArach64, I saw that shrink-wrapping didn't
happen due to the very early uses of CSRs in the entry block. So CSR
spills/reloads are executed even when the early exit block is taken.
int getI(int i);
int foo(int *P, int i) {
if (i>0)
return P[i];
i = getI(i);
return P[i];
}
It's not that hard to find such cases where
2017 Oct 30
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-10-27 19:50, Hal Finkel wrote:
> On 10/27/2017 03:32 PM, Jun Lim via llvm-dev wrote:
>
>> When compiling C code below for AArach64, I saw that shrink-wrapping
>> didn't happen due to the very early uses of CSRs in the entry block.
>> So CSR spills/reloads are executed even when the early exit block is
>> taken.
>>
>> int getI(int i);
>>
2013 Aug 01
0
[LLVMdev] Fwd: can i avoid saving CSRs for functions with noreturn
Hi
(Adding the list back in).
On 1 August 2013 08:44, Liu Xin <navy.xliu at gmail.com> wrote:
> i know where to calculate CSRs. the additional stack space is calculated in
> PEI::calculateCalleeSavedRegisters. the real instructions are inserted in
> insertCSRSpillsAndRestores.
> my point is why llvm code honor 'naked' but does not 'noreturn' for CSR.
And to me
2009 Nov 24
2
SLES 10 client keeps removing and re-adding accounts to groups
SLES 10 clients keeps removing and re-adding accounts to groups.
Can''t use this product in production as a result, I''d like to use it
though.
Using clients 25.1 with master 25.1
This keeps re-occuring with every single puppet client run:
Nov 24 09:57:09 puppetd[26915]: (//unixuser/User[jdoe]/groups) groups
changed ''wheel'' to ''unixadm,wheel''
2013 Aug 01
2
[LLVMdev] can i avoid saving CSRs for functions with noreturn
hi, list,
i am making a llvm compiler for shader-like programs. as we known, shader
programs are short and have less function calls. i found that i have to
save/restore callee-saved register(CSR) in prolog and epilog. because I
can violate ABI from driver(c code) and shader, i plan to append the
attribute 'noreturn' to all shader functions.
in PrologEpilogInserter.cpp, you can find that
2017 Oct 31
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-10-30 21:20, Hal Finkel wrote:
> On 10/30/2017 12:20 PM, junbuml at codeaurora.org wrote:
>> On 2017-10-27 19:50, Hal Finkel wrote:
>>> On 10/27/2017 03:32 PM, Jun Lim via llvm-dev wrote:
>>>
>>>> When compiling C code below for AArach64, I saw that shrink-wrapping
>>>> didn't happen due to the very early uses of CSRs in the entry
2017 Nov 10
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-10 07:47, Nemanja Ivanovic wrote:
> One thing I thought about doing a while back and never really wrote a
> POC for is the following:
> - Make FirstCSRCost a property of the MachineBasicBlock (or create a
> map of MBB* -> FirstCSRCost)
>
> - Implement a pre-RA pass that will populate the map as follows:
>
> - Identify all blocks with calls
>
> -