similar to: Problem restarting client service ssh in client

Displaying 20 results from an estimated 8000 matches similar to: "Problem restarting client service ssh in client"

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
2007 Aug 24
11
Aliases not working in a subclass ?
Hi folks, I''m overriding some resource attribute in a subclass. It seems that specifying a resource by its alias doesn''t work in a subclass. Looks like a bug, no ? === module-classes.pp === class module::base { file {"/tmp/test-module": alias => test-module, content => "module::base", } } class
2007 Jan 03
18
error "Stack level too deep" on ''exec[ "perl Makefile.PL" ] ?
Hi, I''m testing puppet from the subversion trunk. I have a rather hacked-together system to install a CRM into one of my nodes, which worked (more or less) with version 0.19.3. When I tried to do a puppet run on a completely clean node it seemed to stall on the ''compilation'' part (I do an exec of ''perl Makefile.PL'' in the appropriate dir). When I broke
2007 Jan 04
10
New Feature: Graphing
Hi all, One of the major new features in the upcoming release is that Puppet now uses a graph library internally to handle resource relationships. The big benefit to all of you is that you can use this library to turn these graphs into images. The trick, right now, is adding --graph when you run puppetd. This creates .dot files, which can then be interpreted by the
2006 Sep 23
4
"server" config option (and cmd-line option) don''t do anything for puppetd?
Hi guys, Unlike what it says in the documentation and the --help output, I can''t seem to get puppetd to use the --server setting. The only way I can get puppetd to work is to include a ''puppet'' alias to the ip of the machine I''m running puppetmasterd on in my hosts file. The strange thing though, is that the logs of my puppetmaster show that it *is* getting
2006 Dec 24
3
Installing CPAN packages?
Hi guys, Has anyone yet tackled installing CPAN packages through puppet? I need some that aren''t available as separate debs, so if anyone has an idea how best to do this, I''d like feedback. Thanks, Thijs
2007 Jan 15
7
How to conditionally run defines?
Hi all, Is there a (simple) way to add conditionals to a call to a define? What I want is to run a define only if a file (that gets created somewhere along the run of the define) does not exist. In this way I can skip a whole lot of setup work in the define if I know it has already run once before. I would think adding a unless clause would be a elegant solution (and the other conditionals like
2007 Nov 18
9
Modules, namespaces and variables
Hi there, After quite a long time out of puppet business I''m back, and the first thing I''m doing is rephrasing my puppet manifests using modules. I started with the NTP module (a classic, I guess). I have (more or less) the following: In modules/ntp/manifests/init.pp: $ntp_localtime = "/usr/share/zoneinfo/Europe/Madrid" class ntp { ... some stuff using the
2007 Jun 13
11
Re: classes and definitions --> RFC <--
On 12/06/07, Luke Kanies <luke@madstop.com> wrote: > > On Jun 11, 2007, at 12:01 PM, Thijs Oppermann wrote: > > > But they don''t always work. For example, in the example (a bit > > like) above (which was what I had in my git module definition for > > clientsetup): > > > > file { "/home/${user}/.netrc.d": > > ensure
2007 Jun 09
12
Example module for central git repository via http (sort of like a subversion repo) [a bit RFC]
Hi all, I''ve been looking for a good example for how one would build a module, but I couldn''t really find something that I liked, so I went ahead and tried to do it myself. The result is this: a git module (see attachment). Please have a look and comment on it, before I add it to the wiki. I especially want comments on the setup of the module itself, not so much on the git
2007 May 26
13
munin module: manage clients and server''s config
Hello all. Probably this question has already been posed in the context of another software, but I am unable to find it. I would like to implement a module which should manage munin-clients as well as the munin-server. Here is what I am thinking about implementing: - There are two classes: munin::client and munin::server - munin::clients'' configuration will be managed automatically.
2007 Dec 26
7
Thank you puppet!!
I''ve been hacking at puppet for the past week or two, and came up with some great stuff, but I''m wondering if there''s a way to tie it all together To create a virtual machine for our company''s QA environment, I''m currently doing 3 things: #create a vm node vmsvr2 inherits default { include vmserver vmserver::vm {
2007 Mar 29
7
rrdgraphs?
Anyone using the rrdgraph report on the puppetmaster on Debian stable? I''m trying to get this working and not getting far. I even took rrdtool and librrd0-dev from backports and I still get the same problem. It seems that the rrdfiles are being somewhat created, but nevertheless, the puppetmaster isn''t happy and keeps spewing: err: Report rrdgraph failed: Could not create
2007 Sep 04
9
exec creates and subscribe
I have the following test case: file { sendmail-conf: path => "/etc/mail/${fqdn}.mc", owner => "root", group => "wheel", mode => 0644, links => follow, source => "puppet:///sendmail/${hostname}.mc" } $mail_dir = "/etc/mail" $cf_dir = "/usr/share/sendmail/cf/" exec { build-conf: command => "/usr/bin/m4
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 Aug 21
4
communication between classes / hosts
Hi there, me again! I´m looking for a solution for the following: I have two (a bunch really..) of services that work together and have to exchange some configinformation between each other. I can get this to work in only one of three cases: 1. Works # class serviceB { file {"serviceBconfig": content => $serviceA::serviceAvar } } # # class serviceA { $serviceAvar
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 Aug 01
12
Puppet uses too much RAM memory
Hello, I have two Vmware images, with 256MB of RAM memory each one, running puppetmasterd for the server and puppetd for the client. It''s normal that my puppetmasterd and puppetd occupies almost 10% of RAM memory each one? They aren''t doing anything especial, just listening on the ports. Thanks.
2007 Jun 29
5
Installing a file only if a package is available
Hi, is there a way to make sure a file is installed only if a certain package is installed on the client? e.g. I want to distribute the client key for NX via puppet. However I only want to install these files if package ''freenx'' is installed on the client. I tried adding ''require => package["freenx"]'' but then puppetd complains it
2007 Aug 24
7
Can I do this in a template..?
Hi all, I have a situation where I want to use the same template to create two different files in two different classes. I''ve tried to lookup some information on what is possible with templates, how advanced you can get, but haven''t found much. I guess it''s one of the areas where I should contribute to the docs - once I figured out what I can do, that is...