Displaying 20 results from an estimated 3000 matches similar to: "can i access module "files" w/o using client-server?"
2007 May 02
4
Ordering problem...
Hi all,
I''d got the impression that puppet didn''t care about ordering - ie.
the ordering of imports and includes related to calling them in the
manifest.
Lately I''ve had big trouble getting puppet to accept that I require
some resource that I _have_ defined elsewhere in the manifest. To
explain it, here is a simplified example:
site.pp:
--------
import
2007 Nov 13
15
require metaparameter and gems
I tried to install the ''mongrel'' gem tonight via puppet in an attempt to
migrate from webrick to mongrel as described on the puppet site[1]. I
added the following to my manifest:
package {
"rubygems":
ensure => installed;
"mongrel":
ensure => installed,
provider => gem,
require => Package["rubygems"];
}
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
2006 Oct 14
4
How do I manage manifests most efficiently...?
Hi
As I''m more familiar with cfengine and it''s way to split updates (in
update.conf) from the actual grunt work (in cfagent.conf), I''m
wondering how to best manage puppet and my manifests with puppet...?
Should I define a puppet class that copy the puppet package (in .tgz
format) and all the manifests to the client, and then have all my
other classes depend on
2007 Jun 08
5
website down ?
seems that the tracksite is down ?
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2007 Aug 23
10
Using resource names in templates...
Hi all,
I''ve been turning my head upside down to find a solution on the
following problem:
I have a samba fileserver and need to make puppet do:
1. Create groups
2. Create directories with group rights
3. Create an smb-shares.conf from a template that can be included in
the main smb.conf.
To do this I need to have a combination of sharename and group _and_
create the
2007 Nov 21
2
I''m lost on exec
Hi
Can anyone tell me what''s wrong with this one.
Sorry I''m new and I just want to print some message to the the puppet
log on the client side.
---------------------------------------------------
$testvar = "Hello world!"
class mytest {
exec { "/bin/echo $testvar" }
}
I keep getting:
err: Could not parse; using old configuration: Syntax error at
2007 Jan 31
7
Report usage...
Hi,
I''ve setup my systems to do reporting as explained in https://
reductivelabs.com/cgi-bin/puppet.cgi/wiki/ReportsAndReporting, with
tagmail defined as one of the report types - but I do not recieve any
mail at all.
I''ve configured a tagmail.conf file like this:
all: root@localhost
But the documentation mentions three options, namely sendmail,
reportfrom,
2006 Oct 19
1
Filenames with dots in the name
Hi,
When I try to specify a file I want copied in place, like:
configfile { "/etc/init.d/puppet":
source => "config/apps/puppet/puppet"
}
and has a require on that later on:
exec { "/usr/sbin/update-rc.d puppet defaults":
require => "/etc/init.d/puppet"
}
puppetd throws an error:
err: Could not find type
2006 Oct 17
5
Puppet tgz installs...
Hi
I''m anxious to get puppet into production, and although I''d prefer
installing puppet as a .deb package (as most of the servers in our
shop runs Debian), I think I''ll try to get some of my not-so-
important servers into my test setup by installing puppet with
the .tgz files.
Upon the first installation I realize that puppetd and puppetmasterd
is copied to
2007 Jan 21
5
facts about xen domU''s...
Hi,
I''ve just finished my first attempt at making anything in ruby. It
ended up beeing a module to facter, which collects facts about the
number of domU''s and the memory, id and vcpu facts on all of the domU''s.
It''s meant to be run on the dom0, and uses the xm utility to get the
information.
The only thing I haven''t figured out, is how to
2007 May 23
6
Brainstorming - how to manage Shorewall rules
Shorewall (IP Tables frontend - www.shorewall.net) has been kind of a
headache in trying to move forward with puppet - we just haven''t found
a clean way to manage the "rules" file. With that in mind - would it
be possible to create a "shorewall_rule" type?
The rules file is a simple file with space/tab delimited fields:
(I can provide a detailed explanation of each
2007 Dec 11
1
Node variable names with dashes..
Hi all
I''ve stumbled upon something that I consider a bug: Node variables
can''t have dashes in them:
node blah {
$allow-from = "127.0.0.1"
}
err: Could not parse; using old configuration: Could not match ''-
from'' at /home/mercurial/repositories/manifests/nodes/nodes.pp:8
I''m using the variable to create a template-based config file.
2007 Apr 18
1
Overriding variables...
Hi all
I''m fighting right now with the functionality of overriding
variables. I''ve made a base node with some variables:
node base {
$country = "dk"
$dv = "sarge"
}
And I''d like to override some of them in subnode definitions:
node server01 inherits base {
$dv = "etch"
}
Is this possible, or do I have to wrap the variables in a
2007 Feb 09
2
Use of variables in defines...
Hi,
I''m banging my head against the usage of variables i defines. Fx. I
have this defined to easily create new systemusers:
define systemuser($home = $home, $shell = "/bin/bash") {
group { $name:
ensure => present
}
user { $name:
ensure => present,
gid => $name,
home => $home,
shell =>
2006 Oct 19
3
Schedules for certain weekdays...
Hi
From the documentation I can''t see if I can define the following
schedule:
I want a certain command to be run once a day, monday-friday on a
certain time of the day. Can I define that somehow...?
--
Med venlig hilsen
Juri Rischel Jensen
Fab:IT ApS
Vesterbrogade 50
DK-1620 København
Tlf: 70 202 407 / Fax: 33 313 640
www.fab-it.dk / juri@fab-it.dk
2006 Oct 12
3
Defaults for package type...
Hi
I''m wondering if it''s possible to define some defaults for the
package type. What I want is that package install/updates only
happens at certain times of the day. I could do:
class shorewall {
package { "shorewall":
ensure => latest,
schedule => maintenance
}
}
for every package I want to manage. But that means I have to type
2007 Jun 07
4
Adding recipes...
Hi all
Ok, maybe it''s just me, but - how on earth do I add recipes to the
wiki...?? When I go into the list of recipes, I don''t find a "Edit
this page button". How should I add to the list?
--
Med venlig hilsen
Juri Rischel Jensen
Fab:IT ApS
Vesterbrogade 50
DK-1620 København
Tlf: 70 202 407 / Fax: 33 313 640
www.fab-it.dk / juri@fab-it.dk
2006 Oct 26
3
Resources...
Hi,
I''d like to be able to create certain admin users on certain
machines, and when I saw the new Resources feature, I thought I could
use that. But I can''t get it to work. This is what it looks like:
<snip>
class admin {
define adminuser {
@user { $name:
ensure => present,
group => adm
}
file { "/home/$name":
ensure =>
2007 Feb 23
5
Accessing definitions in a subclass...
Hi all
Shouldn''t it be possible to access definitions from a super class in
a subclass? Eg.:
class foo {
define bar (bla) {
...
}
class oof inherits foo {
bar { "rab":
bla => "something",
}
}
spews out an error: "Could not find definition bar at...
--
Med venlig hilsen
Juri Rischel Jensen
Fab:IT ApS
Vesterbrogade 50
DK-1620 København
Tlf: 70 202