similar to: Amanda example module

Displaying 20 results from an estimated 3000 matches similar to: "Amanda example module"

2007 Jul 30
1
Module question: resources evaluated once or repeatedly?
I''ve been working up my first puppet module, one that will make Amanda configurations consistently. In general, I''d like the following to happen: - Each Amanda server should make sure all its holding disks are configured properly; this should only happen once per server, per puppetd run. Definitely not on a per-configuration basis. - Each Amanda server should keep its
2008 Jan 06
0
RFC: defined type for stowed packages
This appears to be working for me, but suggestions on improvements are welcome: master/manifests/definitions/stowedpackage.pp: > define stowedpackage ( $basepackage, $version, > $rsyncserver=''gold.cae.tntech.edu'', > $rsyncmodule=''metastow'', > $stowdestdir=''/usr/local/stow'' ) { > > file { stow_initiator:
2007 Jul 01
5
Mount and fstab problems with large devices?
I''m trying to get a new file server managed by puppet from day 1, at least as much as possible. At the moment, though, there''s two issues I''m running into: 1. fstab should have entries for my comically-large RAID, but doesn''t. 2. each puppet run appears to remount the RAID, even when no rules in the manifest change. I suspect the issue may be in parsing
2007 Aug 16
0
No subject
"The important thing to understand about how schedules are currently implemented in Puppet is that they can only be used to stop an element from being applied, they never guarantee that it is applied." A schedule does not say this will happen this often, it says this can not happen more than this often. Thus with the default half hour updates the proposed schedule would not have any
2007 Jun 01
1
Puppet starting before network is up
Lots of my puppet hosts have DHCP-assigned addresses. I''ve found, at least in Debian 4.0, that puppetd will often start up before the network interfaces are all up and running, and therefore it can''t contact the puppetmaster. When that happens, puppet exits immediately. I''m hacking around the problem with the following content in /etc/default/puppet, but
2007 May 25
1
hosts.equiv management?
My first public-facing deployment of Puppet is likely to be on some parallel computing nodes we have here. One of our fluid dynamics packages expects to be able to rsh from one master node to other slave nodes in the same batch queue. I think I''ve made some good class definitions up to this last point, where code duplication rears its head. Example of the problem: class ch405-host
2007 Nov 20
5
Solaris 10 Jumpstart instructions on the wiki now
Not that I''m much of a Solaris guy, and definitely not a Solaris 10 guy, but since nobody else had posted anything yet: http://reductivelabs.com/trac/puppet/wiki/PuppetSolaris#Solaris10 The good news is that it appears to be a completely hands-off puppetd installation. Just sign the client key afterwards on the puppetmaster and you''re set. The bad news is that it''s
2007 Oct 02
6
Push /home/* directories recursively to clients
Hi I am trying to push populate /home & subdirectories from the puppet server to all the Linux clients. I managed this with cfengine using rsync. But I am not sure how do I achieve this in puppet, do we have any inbuilt function for this. Also, is there a function for userdel like for useradd (user) groupadd(group). Any suggestion is appreciated. -- Deepak
2010 Jul 28
1
Plugin for XFS project quota
Hi, I just finished writing a small plugin that reports XFS project quota in de IMAP component of Dovecot (1.2, currently). It was written to fill the needs of our organization but someone else might find this useful as well. In its current form it's not suitable for inclusion in the generic quota backend (see ?Drawbacks?). Features: - every mailbox/folder can have its own project ID; -
2007 Aug 25
1
Bug in replace parameter on file types?
Part of my authentication setup is to keep clients'' secrets.tdb for Samba/Winbind on the puppetmaster. Since secrets.tdb contains the username/password for an Active Directory machine account, it will get changed by Winbind periodically, and I don''t want it those changes to get reverted by puppet. So I''ve got active-directory-member.pp, last modified August 19, with
2008 Nov 10
10
Appending a file to an existing file
Hi, I have a template file which I would like to append to an existing file (in this case I wish to add a few lines to /etc/motd). Unless I''ve missed it, it does not appear that file has an append option. Is there an easy way copy to the end of a file Thanks Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2007 Dec 04
10
Using puppet to manage user access to servers.
I''m guessing this is a common use case, but I wasn''t able to find anything in the site FAQ. We''re looking at using Puppet on about 100 servers to control which user groups have access to which servers. The use case is as follows: We have Groups of servers, for example: CUSTOMERservers (serverA, serverB, ...,serverK) ADMINISTRATIVEservers
2008 Aug 11
6
Class dependency question
So I have two classes for openvz setup. The first is openvz::setup and it sets up the box for OpenVZ.. then another class (in same .pp file) called openvz::master sets up the config for the main system (as opposed to a VE). The error I see is that the openvz::master class is executed (and fails) becuase it doesn''t seem to load up the setup class? debug: Calling puppetmaster.getconfig
2007 May 22
4
Newbie: Am I looking at the right tool?
Hi, I''m absolutely new to centralized server management, sorry sorry in advance for any stupid remarks. Looking on the puppet documentation, I mainly find a lot of info about how to manage the config files, but nothing about centralized control. So I''m wandering if I''m looking a the right software package for my needs. I want to be able to do the following from a
2007 Nov 08
7
Best practice for users/groups on solaris
Hi all, I''m a new puppet user and I''m running into some weirdness around creating users on solaris. (puppet version 0.23.2) The virt_all_users way of managing users seems pretty reasonable, but I don''t see how to deal with user specific groups with that. I have: class virt_all_users { @user { "seph": ensure => "present",
2007 Nov 13
2
new to puppet - can puppet push its content to remote servers?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was made aware of puppet a few weeks ago and I really like the way things are working. What I liked at cfengine was the capability to push content from the central server to any node. There was no need to open a port from DMZ or any other remote system to the central server. Is there a similar way within puppet? How is this solved by other
2011 Sep 17
8
apt-get --force-yes
Hi , I am trying to install jdk thru puppet . i am getting the force-yes error . err: /Stage[main]/Apiserver::Java/Package[sun-java6-jdk]/ensure: change from purged to present failed: Execution of ''/usr/bin/apt-get - q -y -o DPkg::Options::=--force-confold install sun-java6-jdk'' returned 100: Reading package lists... Please share your idea''s to fix this issue, --
2007 Nov 12
2
How to keep several puppetd in sync at the same time ?
Hi, I''m still writing my djbdns module, I came to the following design issue with master and slave tinydns. Normally there is no such master and slave distinction in djbdns: all tinydns instance are equal. Usually one instance on one host is considered the master on, which the RR are changed, and when you need to propagate them, you rsync the datas to the other hosts, where they will be
2008 Nov 20
9
create a file only if directory exists
I''m trying to create a virtual host file only if the document root directory exists. It doesn''t look like puppet is seeing the require metaparameter. Currently, the file is being created whether or not the document root directory exists. What is the best way to currently do this? I''m trying to create a file called site1.conf in /apps/apache/conf.d only if
2009 Apr 26
5
Factor questions
Hello, I''m new to puppet and facter. Initially we are planning on using facter/puppet to inventory machines (Mac, Ubuntu, and RHEL). We plan on writing a number of custom facts. Obviouly some of the facts will only be specific to some OSs. I know there is a "confine" method, but it confuses me. It seems the confine statement in some of the recipes and in the Turnbull book is