similar to: Avoiding duplicate definitions

Displaying 20 results from an estimated 20000 matches similar to: "Avoiding duplicate definitions"

2008 Dec 29
4
Using an Exec inside a define
I''m working on a definition for activating/deactivating Apache modules on an Ubuntu system. Inside my Apache class I have this definition: define module($ensure) { case $ensure { enabled: { exec { "a2enmod": command => "/usr/sbin/a2enmod $name", logoutput => on_failure,
2001 Aug 27
2
agent forwarding with v2
I'm confused about the status of auth agent forwarding while using v2 protocols. I found an old newsgroup post that said it was not available but an entry in the ChangeLog entry dated 20001113 seems to indicate that it was added. So. Does agent forwarding work while using v2 protocols? I've been unable to get it to work since I switched to using v2. Thanks, Ben -- Ben Beuchler
2004 Oct 11
4
Detecting unused accounts
I'm looking for a way to figure out which accounts have not been logged in to in over n days. It occurs to me that, perhaps, the way to do this would be to look at the mtime on one of the dovecot-maintained files, like 'dovecot-uidlist'. Is there a particular file that would be modified on (almost) every login, whether it be via POP or IMAP? -Ben -- Ben Beuchler
2004 Nov 15
2
eudora issue
There seems to be a protocol mismatch between eudora and dovecot when using pop. The login interchange with, for example, mozilla, is as follows: MO: [connects] DC: +OK dovecot ready. MO: CAPA DC: +OK DC: CAPA DC: TOP DC: USER DC: UIDL DC: RESP-CODES DC: STLS DC: SASL PLAIN DC: . MO: USER yyy DC: +OK MO: PASS xxxxxxxx DC: +OK Logged in. But with eudora, with apparently equivalent
2004 Nov 19
2
.INBOX required?
Hi, Newbie to Dovecot and IMAP in general. The system in question is RH 9, Dovecot 0.99.11, Maildir, accessing mail with SquirrelMail, Thunderbird, Kmail, Mutt, Entourage and Mail.app. I've set up the maildir for users in ~/Maildir. Inside that I have other folders, .Sent, .Drafts, .Trash, .Junk, .MakeJunk, .MakeGood. ~/Maildir itself has the cur, new, and tmp folders, but I note that there
2013 Apr 10
5
Managing multiple nagios servers with puppet and virtual resources
Hi, For several years, we have @work had a puppet environment where when we add a new host/node, some basic monitoring is fed through to a nagios server using virtual resources and an old nagios class which either someone here wrote themselves, or found on the internet at the time. We are trying to move away from the existing puppet environment for a number of reasons, and using this as an
2008 Sep 19
2
Receiving errors via tagmail
I am trying to setup reporting using tagmail so that it will e-mail me when it receives errors running the catalog on a node. I setup my tagmail.conf with "err: me@theoffice" using the hint from Pulling strings with Puppet and I don''t receive any e-mails. If I switch "err" to "all" I get a flood of e-mails so I am pretty sure I have the basic''s
2008 Mar 18
4
Overriding a file without causing duplicate definitions
Hello folks. I''ve got a problem that I can''t work out the solution to. My base workstation node definition says essentially: node base-workstation { file { etc-sudoers: name => "/etc/sudoers", ... } } This works fine, all of our workstations get a standardised sudoers file. However, I have one user on a workstation who needs a specialised sudoers file.
2008 Apr 29
12
How are people using install.rb from the source distribution?
I''m looking at re-working or replacing install.rb from the source distribution to allow more flexible installations, primarily to get MacPorts and Fink packages working but to also work on automatic Mac pkg creation from source. How are people currently using it? Currently the command line options are for options like --no-rdoc, --no-man, --quick, --full, but if you want to specify a
2008 Jun 12
5
Puppet Demo at ETRADE
I had some questions come up today during the Puppet demo here: 1. Is there any way to apply different intervals to different classes? For example, we might want a security baseline manifest to run once a month, package installation files once/day, etc. Since we''re a brokerage, we also don''t want ANY system changes during trading hours. I guess we could cron killing the
2001 Aug 27
1
Troubleshooting ssh-agent forwarding w/ v2 protocols
OK. I've had a few replies to my earlier question about auth agent forwarding that indicate that it is currently supported. So now I'm confused as to why it is not working for me. I'm trying to chain between servers. With v1 I could load my key into the ssh-agent on my workstation (a) and ssh to server b and ssh from there to server c, all without typing a passphrase/password. Now
2004 Dec 23
1
Moving existing MD5 passwords to LDAP?
I have a dovecot installing working quite well for around 1000 users using passwd-file authentication. I'm moving to LDAP and would sure love to be able to migrate the existing MD5 passwords. I've tried using ldapmodify to set "userPassword" to {CRYPT}$1$H8JE0k5X$y.ptShgYbOgWF.99lX88N1 and {MD5}$1$H8JE0k5X$y.ptShgYbOgWF.99lX88N1 In both cases, ldapmodify exits without errors
2013 Jan 27
5
Extending a standard type
I''m trying to extend the standard ''user'' type to add maintenance of some of the contents of a user''s home directory, and I''m trying to avoid creating an entirely new custom type if I can. The approach I''m taking is to create a site::user defined type which in turns calls the standard user type. I''m having a problem figuring out
2012 Aug 22
6
Duplicate definition : Merging arrays
Hello, I am trying to create a new array by combining two other arrays. I get the following error while running : Duplicate definition: Print[test0] is already defined in file /etc/puppet/manifests/test.pp at line 47; cannot redefine at /etc/puppet/manifests/test.pp:47 My code is similar to this : <snip> ..... ..... $sys_server = [ ginger , test0 ] $usr_server = [ test0, test1,
2009 Dec 01
3
Duplicate definition on the same line and in the same file ?
Hi, I''m trying to add libapache2-mod-php5 as a dependency in my php5 module here is what I get info: Loading facts in raidcontroller info: Loading facts in raidcontroller debug: Format s not supported for Puppet::Resource::Catalog; has not implemented method ''from_s'' err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition:
2011 May 19
2
custom function from .24.6 not working in 2.6 (from squeeze)
I''m in the process of upgrading an existing installation from .24.x to 2.6. We seem to have a custom function that is throwing the error: "err: Could not retrieve catalog from remote server: Error 400 on SERVER: private method `gsub'' called for #<Array:0x7fdcebf3bbf8> at /etc/puppet/manifests/classes/apache-php.pp:72" Here is the function: """ #
2007 Jan 13
3
duplicate definition when inheriting classes
I thought the purpose of classes was that you could redefine types in the subclasses. However I get "Duplicate definition" errors whenever I attempt this. On a whim I tried the code from the documentation: http://reductivelabs.com/projects/puppet/documentation/structures.html --- Subclassing The primary benefit of using subclasses instead of just including the parent class is that
2012 Feb 23
9
32bit and 64bit version of a package
Hi, I''m trying to write a recipe to install the latest libstdc++ in both 32bit and 64bit flavors and running into issues. Yum only wants to install the 64bit version if I do: yum install libstdc++ If I do something like: package { "libstdc++.i386" : ensure => latest } It tells me "nothing to do" Any suggestions on the right way to do this? Thanks! Alan --
2009 Jul 30
7
arrays, loops, etc
Inspired by the recent thread titled "Array input of dirs, ensuring their existence" I thought I''d write up the problem I''m running into. I was chatting on irc about it, I don''t think puppet has a clean solution. Like the other poster, I''m defining an object that takes an array. In my case, I''m defining gpg keystore, which can contain a
2011 Jul 22
9
Random error in the recovery catalog
Hello, I randomly errors like this: Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not retrieve catalog from remote server: end of file reached Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (notice): Using cached catalog Fri Jul 22 09:01:41 +0000 2011 //SERVER.fqdn/Puppet (err): Could not retrieve catalog; skipping run Here are the versions: puppetmaster