Displaying 20 results from an estimated 10000 matches similar to: "Modules, namespaces and variables"
2006 Nov 03
1
Reusable definitions
Hi there,
I would like to use puppet to configure two networks and one of the first
things I''ve tried to do is to describe ntp configuration. Each network has a
ntp server that acts as a proxy for internal nodes, so those internal nodes
share the same configuration except for the server they use to get the time.
Attempting to describe this I''ve thought of several approaches,
2007 Aug 24
4
Variable scope: Class inheritance vs Include statement.
Hello.
I''m a long time cfengine user, some might say sufferer, and I have
finally managed to get around to experimenting with Puppet. So far I''m
very impressed.
I am trying to get puppet to configure the openntpd config file, from
an ERB template, based on the node definition in the site config.
What I''m trying to understand is why when I define a variable in a
child
2006 Oct 13
10
Services on Gentoo Client Systems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You folks were so helpful with my last problem I thought I''d try again.
I''m attempting to use the services filetype to ensure that ntpd is
running on all my hosts. Unfortunately this does not seem to be
working on my Gentoo test system. I get the following output on the
client log:
puppetd[3436]: Starting configuration run
2007 May 21
3
defining client/server configs
Still very new to puppet, so go easy :-) Bit of a braindump I''m
afraid, but I''d really appreciate any "Yep", "interesting", "No!!!"
comments.
I''ll start with an example - adding NTP support. This primarily
consists of two configs:
a) NTP clients
- this is quite easy, it''s a templated file requiring the names of
the NTP
2007 Aug 16
0
No subject
sses, that way autoloading works ok and the classes are found, but that see=
ms a bit awkward.
<br></div><blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid=
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br=
>Note that it's a bit redundant to name your classes that way -- you<br=
>
can just as
2006 Nov 02
7
Error reloading manifests
Hi there,
I''m running puppetmasterd manually while testing, and I was trying to split
my manifest in several parts using import. If I do so whenever I run the
puppetmasterd the manifest gets loaded and served correctly:
cognos ~ # puppetmasterd -v
info: Starting server for Puppet version 0.20.0
info: Parsed manifest in 0.02 seconds
info: /var/lib/puppet/files: allowing *.example.org
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 Dec 01
6
Building files from snippets
Hi there,
I''m facing a problem that I think it''s common enough to be solved directly
by puppet or at least have a best practice recommended: building a config
file from snippets. I''m thinking for example about a dns zone and hosts
inside that zone, ldap server and ldap databases, samba server and samba
shares, a firewall config and firewall rules,... The first part of
2006 Oct 18
5
What is exactly PuppetShow?
... or better, what is intended to be? I''ve seen references to PuppetShow in
IRC, mailing lists and documentation, but still have no clear idea of what
it is. Is it just a reporting tool? Will you be able to create manifests or
configure nodes from it?
Thanks, best regards
Jose
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
2006 Nov 02
2
Variable assignment in imported file
Hi there,
Maybe another bug? I have the following in site.pp:
$localtime = $domain ? {
"example.org" => "/usr/share/zoneinfo/Europe/Madrid",
default => "/usr/share/zoneinfo/Europe/Madrid"
}
If I take this away and put it in another file, and then import that file, I
get the following error:
err: Cannot reassign variable localtime in file
2006 Dec 21
5
cft through changes (new tool based on puppet)
I''ve started working on a new tool that should help with modifying the
configuration of a system under the control of puppet. The tool is
called cft (pronounced ''sift'') and is inspired by Gnome''s Sabayon[1] in
taht it watches how an admin changes a system and spits out a puppet
manifest based on its observations.
Cft''s website is
2007 Feb 07
9
Creating random shared passwords/keys
Hi there,
I have a problem I don''t know how to solve. Let''s say you have two services,
applications, whatever that communicate with each other, and they establish
a shared password or key to authenticate to the other part. This happens
with DHCP/DNS (I think is called dynamic zone update, the DHCP server
updates the DNS zone with information from the dynamically configured
2007 Feb 08
5
Mass "require"s
Hi there,
I want to manage some files with puppet that control the installation of
packages in Gentoo (/etc/make.conf, /etc/portage/*). These files must be
downloaded to the client before any package resource is processed, so they
are installed correctly. Is there any way to do this? Possible solutions:
1. Include in *every* package require => [ list of files ] inside a case
statement, so
2007 Jan 30
19
PuppetReporting
hi
I''ve read about PuppetReporting at the Trac website. Apparently you are
working on integrating the benchmark tests for every type in ruby.
Do you have any idea when this will all get implemented?
This is a crucial part (and actually a necessary feature) in the
configuration management system we have set up using Puppet.
grtz
Koen Vereeken
2007 Aug 24
7
Problem restarting client service ssh in client
Hello,
I want a simple operation in a puppet node like restarting the ssh
service if it was stopped. My site.pp is simple as this:
import "services/*"
node default {
include ssh
}
The services directory as a ssh.pp :
class ssh {
service { ssh:
ensure => running,
subscribe => File["/etc/ssh/sshd_config"]
}
}
I''ve stopped the ssh service in the
2007 Jan 23
20
"Found a bug" message when purging services
I attempted the following:
resources { service: purge => true, noop => true }
service {
sshd: ensure => running;
iptables ensure => running;
}
And got the following message:
notice: Starting configuration run
err: Found a bug: uninitialized constant Parse
notice: Finished configuration run in 0.47 seconds
When I remove the ''resources'' line, everything works
2007 Jan 30
1
[Puppet-dev] ReductiveLabs site down
I can''t access http://www.reductivelabs.com/, the site seems to be down.
Best regards
Jose
_______________________________________________
Puppet-dev mailing list
Puppet-dev@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-dev
2006 Nov 06
1
Does subscribe imply require?
Hi there,
I find myself writing a lot of similar required/subscribe parameters, for
example in service definitions:
package { whatever :
ensure => latest
}
service { whatever:
ensure => running,
require => Package[ whatever ],
subscribe => Package[ whatever ]
}
Am I doing this correctly, or does subscribe imply require so the require
parameter here is unnecessary?
Thanks
2007 Sep 17
2
ntp policy example question
I would like to configure a linux ntp server on my lan as the ntp server for
my windows xp clients
I'm not able to come to an understandable solution (due probably to my lack
in windows knowledge)
I found this in samba archives:
CLASS MACHINE
CATEGORY !!Time
POLICY !!NTPServer
KEYNAME SYSTEM\CurrentControlSet\Services\W32Time\Parameters
PART !!NTP_SERVER EDITTEXT
VALUENAME
2011 Oct 17
2
puppet dashboard and complex data
So I am messing around with puppet dashboard and for the most part for
what I am working on it fits the bill for an ENC. The only question I
have is I need to pass information about a customer to set up
resources and the system can have multiple customers on it. What is
the best way to handle complex data? Would I be able to pass json data
for example?
--
You received this message because you