Displaying 20 results from an estimated 40000 matches similar to: "Recursive home-dir does more than only files in repository"
2007 Aug 11
15
still too slow
This really bogs down the system for several minutes each run, using 100% cpu
and 50% of ram (this system has 3 gigs of memory!). What am I doing wrong
here?
file { "/etc/asterisk":
links => "ignore",
recurse => "true",
replace => "false",
source =>
2007 Nov 21
9
purging exported resources
So I have the following:
define nagios::service (
$nagios_template = ''service-template'',
$host_name = $fqdn,
$service_groups = '''',
$contact_groups = $default_contact_group,
$max_check_attempts = 3,
$dependency = false,
$dependent_host = $fqdn,
$dependent_service = '''',
$check_command = ''''
) {
2007 Feb 14
9
managing multiple files
How can I express the following in puppet?
$http_conf = "/etc/http/conf/httpd.conf"
$vhosts_conf = "/etc/http/conf/vhosts.conf"
@files = ("$httpd_conf", "$vhosts_conf")
foreach f (@files) {
file { "$f":
owner => root, group => root, mode => 664,
source => "puppet://$server/apache/$f",
}
2007 Nov 06
4
strange behavior from purge
I have the following define...
define puppet::module_dir {
if $name {
include puppet
file { "${puppetdir}/modules/${name}":
ensure => directory,
mode => 0755,
purge => true,
recurse => true,
}
}
}
I call it like so:
puppet::module_dir { "main" }
puppet::module_dir
2007 Feb 25
6
Wildcard expansion in remote files or recursion?
Hi all,
[Please CC me in replies, I am not subscribed to this list.]
First of all, thanks for puppet! It is a very nice tool and I''m in the (slow)
process of using it to manage my new Xen-based virtual server farm with it.
Most of the "simple" tasks worked well so far, and I may be able to add a few
recipies to the Wiki when I find time to do so.
However, is there any way
2007 Mar 19
23
puppet hangs while trying to restart a daemon
Hello all,
puppet hangs while trying to restart a daemon when the associated config
file changes, here the log:
Mar 19 11:30:04 ingentTest puppetd[27390]: Starting Puppet client
version 0.22.0
puppetd[27390]: Starting configuration run
puppetd[27390]:
(/ingenttest/qualsevolnode/guaita[guaita]/File[/etc/guaita.conf]/content) synced
puppetd[27390]:
2007 Jul 10
18
Recursive permissions
Does anyone know if it''s possible to do the following:
Given the directory structure:
/foo/bar
/foo/bar/<bunch of stuff>
Is it possible to set /foo/bar to, say 555, and all stuff below to 440
or the directory equivalent?
Thanks,
Trevor
2007 Feb 08
5
Documenting puppet manifests
Hi there,
I''m trying to document my puppet manifests, and I have created kind of a
template for class documentation. After documenting a few I thought it would
be great for complex manifests if we could have a tool that read some kind
of standard documentation in puppet manifests and create HTML (or other
format) documentation, as javadoc in Java or RDoc (?) in Ruby. So two
questions:
2007 Mar 30
4
Intended behavior of sourceselect => all [Proper]
Hi all, again.
It looks like my last attempt of sending this message got cut off, at least
it looks like that in the archive[1], so I''m trying again:
<rerun>
Luke Kanies suggested that I take this up here since his memory on the
subject was a bit poor.
I am trying to cat various files together into one file. According to the
documentation "sourceselect => all" might
2007 Feb 14
2
Printing resource before they''re checked
Hi all,
I''m having trouble with a particular recipe, but I don''t know which one! I''m
not getting an error message, puppetd simply hangs (does not respond, needs
a kill -9 to stop). These same recipes work correctly on other nodes (no
problems there). Now I wanted to find the exact line that causes the
problem, but I seem to be unable to make puppetd log the resource
2007 Feb 01
2
Apt should --purge?
Hi all,
Please excuse me if someone has already offered this, but I think the
Apt provider should, in addition to -y and -q, also do --purge. This
will remove config files and keeps /etc cleaner on the whole.
Just a suggestion. Great product and keep up the good work etc.
--
Gegroet,
Tim
(tim|mac or tim|imac on irc)
2007 Feb 06
23
What I''m doing with Puppet
Hi all,
Just reading through Luke''s interview on computerworld.com.au and I
came across this statement:
"This topic comes up on the list periodically, however, and most
people are very tight-lipped about what they''re doing with Puppet."
Being the chattermouth that I am, I''d like to take this opportunity to
tell you all what we''re (that is, my
2007 Jan 01
5
File configuration difficulty
Hi,
I''ve been using puppet to manage a small Linux network fairly successfully
for a while now - thanks.
I''ve hit a spot of bother in managing some files, though.
There are a number of folders in /usr/local that I want to manage efficiently
using puppet - for example /usr/local/share/templates. I want to copy the
contents of a number of source folders on the puppet fileserver
2007 Feb 01
12
FOSDEM?
Hi all,
A couple of people are trying to convince me to come to FOSDEM in
Belgium at the end of February. I''m a bit hesitant because I''ve been
doing so much travel, but LinuxConf.au was a great experience and
seems to have really helped get exposure to Puppet. There seems to
be a pretty strong European contingent of Puppet users, and it''d be
great to meet
2007 May 15
5
Purging issue
I have a little issue with purging. I use:
file { [''/etc/shorewall/puppet'',''/etc/shorewall/puppet/rules'']:
ensure => directory,
mode => 0700,
recurse => true,
purge => true,
}
but purging does not work, i can do a touch
2007 Feb 09
7
Dependencies between machines
Hello:
I''ve been reading up on puppet after spending a while on SmartFrog.
SmartFrog''s late binding and ability to encode dependencies between
machines or document parallel or serial configuration steps was
compelling. Java was not. :)
Are there notions of these concepts in puppet that aren''t apparent
from the documentation? Different ways to get to the same
2007 Mar 07
8
Writing definitions to support changing defaults
What is the right way to write definition so that defaults can be overriden?
$puppetdir = "puppet://$server/files"
define remotefile($source, $owner = "root", $group = "root", $mode =
0644, $backup = false, $recurse = false) {
file { $name:
mode => $mode,
owner => $owner,
group => $group,
backup => $backup,
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 Jan 10
9
Definition specialization
There was a discussion a while ago about adding inheritance to
definitions. There is a need for a way to specialize parameters while
allowing passing other options. This comes up with remotefile where
it would be nice to have a default server location but not specify all
the parameters (and their defaults) in the definition.
Was there a change to the syntax? Is there a way to accomplish this?