[Puppet Users] net ads join

2012-03-05 Thread Adam
Trying to set up a puppet module that runs through most of my samba/ domain joining steps. I have an exec statement where I run my "net ads join -U %" command. I would like to include an additional test statement where the command runs only if it hasn't already been joined to the domain yet; howe

[Puppet Users] Re: net ads join

2012-03-06 Thread Adam
Thanks for all of the input. Yeah this code is part of a larger manifest, and no its not verbatim what I have written, but for the topic I figured it would get the jist of what I was trying to do across (and it seems to have done that). You know, I don't know if I just tried the grep only... for

[Puppet Users] Import username/password list to hash

2012-05-02 Thread Adam
Fellow Puppet Users! I have a continually growing list of 600 remote users that I need to ensure exist across 3 web servers. I only need to ensure these users exist, and that the password is set with the what they provide via a secure web interface. Within my puppet configuration, I don't know

[Puppet Users] puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread adam
/usr/bin/ mysql -NBe CREATE DATABASE testdb CHARACTER SET utf8' returned 1: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) I figured I would just debug the code in the module, but it's pretty unclear to me how the mysql command is sup

[Puppet Users] Re: puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread adam
Thanks, guys. Told you it was a stupid question. I know quite a bit about programming and CS but am not fluent in mysql config. Thanks again! On Oct 11, 1:01 pm, Bruno Leon wrote: > ~/.my.cnf ? > > On 11-10-11 10:18 AM, adam wrote: > > > > > > > > > Stupid

[Puppet Users] How to restart Winbind when hung?

2012-07-18 Thread Adam
Hello fellow puppet masters, We currently use winbind to allow our admins to log onto our Linux servers with their Windows AD accounts. Every now and then, a comms issue will drop AD out from under the server, which causes winbind to stop checking AD. The service is still technically running

Re: [Puppet Users] How to restart Winbind when hung?

2012-07-19 Thread Adam
Matt, Good thinking, I hadn't thought of that! Even though it does override the usual puppet behavior, if winbind is stopped then that query will also fail; therefore, the functionality is all still there. Thanks! Adam On Wednesday, July 18, 2012 10:59:50 AM UTC-4, Matthew Burgess

[Puppet Users] Firewall module during kickstart

2013-11-05 Thread Adam
kstart" tag is present, but i have no idea how to implement that. Any help would be most appreciated! - Adam -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails fro

Re: [Puppet Users] Re: Puppet unless behaviour with a dependency

2012-02-17 Thread Adam Heinz
Something like this? exec { "second command": refreshonly => true, subscribe => Exec["first command"], } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe fr

Re: [Puppet Users] Display puppet managed resources in motd?

2012-02-18 Thread Adam Gibbins
On 19 February 2012 03:27, Ryan Bowlby wrote: > Hi All, > > I'd like to display which resources are managed by Puppet in a given > host's motd file. Does anyone know the best way to accomplish this? > > As we transition to puppet it would be helpful to know what resources > are currently being ma

Re: [Puppet Users] puppet kick failing

2012-02-24 Thread Adam Heinz
I upgraded from puppet 0.25.5 to 2.6.12 recently and ended up doing puppetca --clean then --sign again for each of my hosts. Seemed a bit brute force, but it got me out of the bind. On Fri, Feb 24, 2012 at 12:30 PM, Dan Urist wrote: > puppet kick ceased working for me when I upgraded to 2.6.3; I

Re: [Puppet Users] Doc about RH6 + Passenger

2012-02-29 Thread Adam Heinz
I use puppet to bootstrap my puppet master. Here is my passenger module (reliably tested on Fedora 14 and CentOS 6). class httpd::passenger { package {[ gcc, ruby-devel, rubygems ]: ensure => latest, provider => yum, } package { rack: ensure => "1.0.1",

Re: [Puppet Users] Re: Developers having access to deploy

2012-03-02 Thread Adam Heinz
We do something similar to what you describe with foreman (which can be used as an ENC). The user sets the my-app-version parameter on the node, then runs puppet on that node. The main drawback is that foreman does not currently have a permission for puppetrun, so the users have to be admins, so

Re: [Puppet Users] Sanity Check Request: Trying something Out-Of-The-Box - MasterLess Puppet

2012-03-14 Thread Adam Heinz
That's pretty much how I bootstrap a puppet master, except that I use svn to copy configuration into /etc/puppet, and I don't use an alternate module path. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pupp

Re: [Puppet Users] Database and user not created (Puppetlabs mysql module)

2012-03-14 Thread Adam Heinz
I don't know anything about that particular module, but I have been using github.com/camptocamp/puppet-mysql for over a year without much trouble. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@

Re: [Puppet Users] Disable polling interval

2012-03-19 Thread Adam Heinz
Have you looked into using the 'schedule' type to prevent the restarts from happening during business hours? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from

Re: [Puppet Users] Puppet equivalent for mysql['tunable'] in chef

2012-03-19 Thread Adam Heinz
puppet 2.6+, derived from https://github.com/camptocamp/puppet-mysql $mycnf = $::operatingsystem ? { /RedHat|Fedora|CentOS/ => "/etc/my.cnf", default => "/etc/mysql/my.cnf", } augeas { $mycnf: context => "/files$mycnf", changes => [ "set mysqld/key_buffer 250M",

[Puppet Users] virtual resources vs fqdn_rand

2012-03-22 Thread Adam Heinz
Running puppet-2.6.13-2.el6.noarch on CentOS 6. define backup($apphost, $appfqdn) { cron { "backup-${apphost}-daily": command => "/usr/bin/rsync -a $appfqdn:backups/ $backdir/daily --delete", hour=> "2", minute => fqdn_rand(60), } } then elsewhere @@backu

[Puppet Users] file type with links => follow uses wrong permissions if not explicit

2012-04-17 Thread Adam Heinz
I think I've hit a minor permissions bug using puppet-2.6.13-2.el6.noarch from EPEL on CentOS 6. In order to reproduce production bugs on a test environment, I use puppet to copy the latest backup to a test server, followed by the remainder of the puppet-driven configuration necessary. I just sta

Re: [Puppet Users] Re: file type with links => follow uses wrong permissions if not explicit

2012-04-18 Thread Adam Heinz
Ticket filed. http://projects.puppetlabs.com/issues/14066 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr..

Re: [Puppet Users] Uninstalling/downgrading a module?

2012-04-30 Thread Adam Heinz
On Mon, Apr 30, 2012 at 3:24 PM, Chris Hirsch wrote: > Are there any patterns or recommendations on uninstalling or downgrading a > puppet module (read as software) on a node? I have a puppet-newrelic module for a pay-per-seat monitoring package that I uninstall when I'm done using it on a partic

Re: [Puppet Users] Re: puppet way of handling rdist and triggers

2012-05-01 Thread Adam Heinz
I can't say that my puppet installation is even close to best practices, but I think I have a situation similar enough to OP to put it up for scrutiny. I deploy 7600 files to /var/www/html using puppet and rsync. Puppet manages an rssh + chroot-jailed read-only file share and provides the web hea

Re: [Puppet Users] Master Timeout

2012-05-16 Thread Adam Heinz
> Maybe I'm lazy but on our puppetmasters I have a cron job doing "puppet apply > /etc/puppet/manifests/site.pp". I don't think that works with storeconfigs. [root@puppet ~]# rpm -q puppet-server puppet-server-2.6.16-1.el6.noarch [root@puppet ~]# grep storeconfigs /etc/puppet/puppet.conf st

[Puppet Users] members of collected resources

2012-06-12 Thread Adam Heinz
Is it possible to get the value of a member variable on a collected resource? Something like Host <<| name == 'nagios' |>> $nagiosip = Host["nagios"]::ip Gepetto has red lined all of my guesses so far. -- You received this message because you are subscribed to the Google Groups "Puppe

Re: [Puppet Users] Re: members of collected resources

2012-06-13 Thread Adam Heinz
On Wed, Jun 13, 2012 at 9:37 AM, jcbollinger wrote: > I would recommend instead recording host 'nagios''s IP in a class variable > or an external data file, and having other nodes retrieve it from there. > Yeah, I put it in my ENC as a global variable. Not very elegant, but it works. -- You re

Re: [Puppet Users] Re: The require function

2011-09-07 Thread Adam Gibbins
On 7 September 2011 23:22, Douglas Garstang wrote: > We'l see. To be honest, motivation is rather low right now because I > was just kicked off the mcollective mailing list by Mr Pienaar for > asking a question not in a manner to his liking. > > I'll be honest, hoping you get kicked off this list

Re: [Puppet Users] dynamically edit node definition

2011-09-17 Thread Adam Gibbins
On 17 September 2011 16:42, Sav wrote: > Is it possible to dynamically edit a node definition? Basically, given a > node, add or remove from it's node definition on the fly. > > Right now, I am doing a find on the /etc/puppet/manifests/nodes directory > on all ".pp" files, grepping for "node hos

Re: [Puppet Users] Feature 4815: Allow Mount to create a mount point and set the under lying permission?

2011-10-06 Thread Adam Gibbins
On 6 October 2011 18:15, Jeffrey Ollie wrote: > Having this feature would be very useful to me... Other than doing > the work myself, is there any hope of getting this any time soon? > > -- > Jeff Ollie > This doesn't really seem the work of a provider, but rather a define. Could you not just w

Re: [Puppet Users] can we alter the 30-min run time?

2011-11-03 Thread Adam Crews
On Thu, Nov 3, 2011 at 12:41 PM, Jo Rhett wrote: > Nigel, As you've said, the time chosen for the run cycle will be consistent. >  All of these settings are already set -- this isn't a question of how to > change how often to run, it's how to affect the chosen runtime? > I've got an awful lot of s

Re: [Puppet Users] Class name clashes

2011-12-08 Thread Adam Gibbins
On 7 December 2011 23:09, Gonzalo Servat wrote: > Hi All, > > I have a module called "openvpn" which lives in > /etc/puppet/modules/openvpn/. It just sets up generic OpenVPN stuff. I then > set-up another class called s_jumpbox::openvpn, which lives in > /etc/puppet/services/s_jumpbox/manifests/o

Re: [Puppet Users] proper way to mirror apt.puppetlabs.com?

2012-01-05 Thread Adam Gibbins
The recommendation for mirroring debian repositories is generally to use something like apt-mirror or apt-cacher-ng. Is there a reason you can't do this? These work by checking the index (e.g. http://apt.puppetlabs.com/ubuntu/dists/lucid/main/binary-amd64/Packages) and pulling the packages. You

Re: [Puppet Users] temporarily editing sudoers

2010-05-07 Thread Adam Crews
t manage the master sudoers file. http://www.sudo.ws/sudo/man/sudoers.html#including_other_files_from_within_sudoers -Adam -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups

[Puppet Users] facter values in upper case

2010-05-27 Thread Adam Winberg
I guess i could do something like if $type == "laptop" { $type = "LAPTOP" } but im looking to see if there is any other smarter ways of doing this. Thanks, //Adam Winberg -- You received this message because you are subscribed to the Google Groups "Puppet Users

Re: [Puppet Users] facter values in upper case

2010-05-28 Thread Adam Winberg
ck. I'm new to puppet and my ruby is rubbish, am i doing something wrong? //Adam On 28 May 2010 08:53, Ohad Levy wrote: > you can use inline_template to sanitize your values.. e.g.: > > $my_type = inline_template("<%= type.upcase %> > > Ohad > > On Fri, May

Re: [Puppet Users] facter values in upper case

2010-05-28 Thread Adam Winberg
way to make it work: $my_type = "$type" $my_type = inline_template("<%= my_type.upcase %>") notify { "type is set to $my_type":; } thanks for your help! //Adam On 28 May 2010 13:47, Daniel Pittman wrote: > Ohad Levy writes: > > > you are

[Puppet Users] inventory of managed resources

2010-07-07 Thread Adam Winberg
ative way of syncing the client_yaml data centrally or any other way of doing this? I need a script-friendly way of checking which clients have this or that configuration, i.e. "which ip addresses are managed by puppet on client X" or "which files..." and so on. Regards, Ad

Re: [Puppet Users] inventory of managed resources

2010-07-10 Thread Adam Winberg
ah, good point! i will look into it, thank you. //Adam On 9 July 2010 09:23, David Schmitt wrote: > On 7/7/2010 4:33 PM, Adam Winberg wrote: > >> Hi, >> >> are there any good ways of scripting an inventory of managed resources >> on all nodes? I've found

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Adam Winberg
1 group then my query would result in a list of files: my.cnf--DBGROUP1 resolv.conf--serverA any ideas on how to accomplish this? //Adam On 10 July 2010 10:48, Adam Winberg wrote: > ah, good point! i will look into it, thank you. > > //Adam > > > On 9 July 2010 09:23, David Schmitt

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Adam Winberg
m wrong, I would be very grateful for an example query. //Adam On 10 August 2010 22:59, R.I.Pienaar wrote: > > - "Luke Kanies" wrote: > > > That really does seem like something storeconfigs can give you, at > > least if you write the query. > > > >

Re: [Puppet Users] inventory of managed resources

2010-08-27 Thread Adam Winberg
FAULT that is matched for my clientX. i could do a simple grep/awk/sort script which looks through the log file and collects fileserver entries with the 200 return code. not so pretty though, would be nice to have a native command in the puppetmaster for this. //Adam On 11 August 2010 08:28, Adam

Re: [Puppet Users] DEPRECATION WARNING

2010-11-21 Thread Adam Gibbins
On Sun, Nov 21, 2010 at 6:15 PM, Markus Falb wrote: > On 18.11.10 21:17, CraftyTech wrote: > > Hello All, > > > > Is there a way of suppressing DEPRECATION WARNINGS? Ever since I > > upgraded rails, I keep on getting deprecation warnings that I run > > puppetd. Is there any way of turning

[Puppet Users] What is Puppet capable of?

2010-11-24 Thread Adam Nielsen
config exactly matches the current server config) then apply that to the new server? Would this result in the new server being set up exactly the same as the old one, with the same software installed (albeit newer versions) and the same config set? Many thanks, Adam. -- You received this mess

Re: [Puppet Users] Re: Puppet replaces deleted files

2010-11-29 Thread Adam Gibbins
On Mon, Nov 29, 2010 at 3:54 PM, Mohit Chawla wrote: > On Mon, Nov 29, 2010 at 9:21 PM, ZipKid wrote: > >> You should propably package these files. Then you will not have this >> problem. >> The replace option for the file type is NOT intended for what you are >> trying. >> > > Sorry for barging

Re: [Puppet Users] Mysql Admin

2010-12-10 Thread Adam Heinz
On Fri, Dec 10, 2010 at 6:34 AM, Patrick wrote: > I'm trying to administer the mysql database on some servers using puppet. > When I'm done, I want: > > *) The DB to have a root password. > *) I want to define a few databases, users and grants. > > Any advice what to use? > I've had good succes

Re: [Puppet Users] puppetlabs.com down?

2010-12-12 Thread Adam Gibbins
On Mon, Dec 13, 2010 at 3:17 AM, John Warburton wrote: > It seems it isn't me - > http://downforeveryoneorjustme.com/www.puppetlabs.com > Seems to be up now. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to

[Puppet Users] bootstrapping puppetmaster on passenger / syntax ideas

2010-12-17 Thread Adam Heinz
I've been working on a puppet module to bootstrap a 0.25.5 puppetmaster based on these instructions: http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger There is a point in the installation where you need to start /etc/init.d/puppetmaster to get it to generate the necessary .pem files,

[Puppet Users] How do you extend a previous setting?

2010-12-29 Thread Adam Nielsen
idea being including all the necessary classes will install the software, configure it, and make me a member of all the necessary groups) I get this error: Error 400 on SERVER: Duplicate definition: User[adam] is already defined in file ...; cannot redefine at ... Is there any way I can make

Re: [Puppet Users] How do you extend a previous setting?

2010-12-29 Thread Adam Nielsen
n_group_foo inherits my_user { User["bla"] { groups +> [ "foo", "bar" ] } } Include those subclasses as appropriate. Ah, of course! I'm still new to Puppet and had forgotten about class inheritance. I just tried this and it works perfectly. Many t

[Puppet Users] Puppet doesn't work over slow connections?

2010-12-29 Thread Adam Nielsen
Normally you get a few minutes before getting disconnected, so either it's not working or the timeout defaults to a value far too low for Puppet to work when the servers are a long distance apart. Any suggestions as to how I might get Puppet working with hosts on different continents? M

Re: [Puppet Users] Puppet doesn't work over slow connections?

2010-12-30 Thread Adam Nielsen
Adam, can you vote or watch that bug please so we know other people are being affected by it? Thanks Nigel, done. It's actually suggesting that you edit the puppet source code. Obviously this is not a long term solution, but it would be very helpful if you had success doing this and coul

Re: [Puppet Users] Certificate / Private Key Mismatch

2011-01-06 Thread Adam Heinz
I get that message when I rebuild a server in place. Puppetmaster is complaining that the public key it expects for your node has changed. On your puppetmaster as root, do: find /var/lib/puppet/ssl/ -name $1.pem -delete sed '/$1/d' /var/lib/puppet/ssl/ca/inventory.txt > /tmp/inventory.txt mv -f /

Re: [Puppet Users] Certificate / Private Key Mismatch

2011-01-06 Thread Adam Heinz
On Thu, Jan 6, 2011 at 12:48 PM, Daniel Pittman wrote: > A better way to do this is to use the Puppet CA application: > > ] puppet cert --clean $1  # $1 is the node name, as before > > (on older releases, puppetca --clean) > > That does pretty much the same thing, but does the right locking and >

Re: [Puppet Users] Certificate / Private Key Mismatch

2011-01-07 Thread Adam Heinz
On Thu, Jan 6, 2011 at 1:33 PM, wrote: > This process seemed to work as far as keys go. However, when I > restarted the puppetd client now I get a message > In the log that states: > Starting puppet client version 2.6.4 > Could not retrieve catalog from remote server; hostname was not a match > w

[Puppet Users] Inheriting doesn't work with files?

2011-01-08 Thread Adam Nielsen
nition. What am I doing wrong? Many thanks, Adam. class lighttpd { file { "/etc/lighttpd/conf-enabled": source => "puppet:///files/lighttpd/$hostname/", recurse => true,

[Puppet Users] Is there a nice syntax for calling functions?

2011-01-08 Thread Adam Nielsen
e to make sure this only happened if the file contents changed. I'm using this function-call "design" in a few places so if it can be rewritten in a nicer way I'd like to know as I can then tidy up a few other classes too. This is all I have been able to decipher from the ex

Re: [Puppet Users] Inheriting doesn't work with files?

2011-01-08 Thread Adam Nielsen
when lighttpd runs, it sees all these files in the same folder and uses them all to read its configuration. Cheers, Adam. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@goo

Re: [Puppet Users] Is there a nice syntax for calling functions?

2011-01-08 Thread Adam Nielsen
r and then copying it, that's an interesting workaround. Cheers, Adam. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to pup

Re: [Puppet Users] Inheriting doesn't work with files?

2011-01-08 Thread Adam Nielsen
that's exactly what I needed :-) Problem solved, many thanks! Cheers, Adam. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this

[Puppet Users] Puppetmaster 2.6.x on Ubuntu Lucid

2011-01-10 Thread Adam Ryczkowski
hiaz doesn't provide puppetmaster. Can anyone suggest me any hints on how to do it? Maybe there is someone, who actually managed to run puppetmaster on Ubuntu 10.4 and who would share how did he achieve it? Thank you in advance, Adam Ryczkowski -- You received this message because you are subscr

[Puppet Users] Selector with arrays

2011-01-11 Thread Adam Crews
Hello, I like to use selectors like this in a few locations: $shell = $operatingsystem ? { 'freebsd' => '/usr/local/bin/bash', default => '/bin/bash', } However it appears broken if I use an array value as my selection criteria: $info = [ "acrews

Re: [Puppet Users] Selector with arrays

2011-01-13 Thread Adam Crews
On Thu, Jan 13, 2011 at 5:04 AM, Felix Frank wrote: > On 01/11/2011 10:48 PM, Adam Crews wrote: >> $info = [ "acrews", "Adam", "/bin/bash" ] >> $shell = $info[2] ? { >>    /bin/ => $info[2], >>    default => "/sbin/nologin&

[Puppet Users] Virtual resources, account module help.

2011-01-13 Thread Adam Crews
up_datadir = "/etc/puppet/manifests/extdata" $extlookup_precedence = [ "people" ] $extuser = extlookup("$name") # At this point extuser look like [ "acrews", "1000", "Adam Crews", "/bin/bash", "enable

Re: [Puppet Users] Re: puppet, mongrel and apache

2011-01-14 Thread Adam Heinz
On Fri, Jan 14, 2011 at 9:47 AM, Jake - USPS wrote: > Thanks for letting me know.  Also, what is Passenger?  I'm new to > puppet and not super familiar with ruby. http://www.modrails.com/ "Phusion Passenger™ — a.k.a. mod_rails or mod_rack — makes deployment of Ruby web applications, such as thos

Re: [Puppet Users] Re: Virtual resources, account module help.

2011-01-18 Thread Adam Crews
On Fri, Jan 14, 2011 at 2:23 AM, luke.bigum wrote: > Hi Adam, > > Shame you can't use LDAP or NIS ;) But anyway... > Yes it makes me sad. I'd really, really, really like to use ldap but my hands are tied. --snip-- > > Lastly, what you're trying to do is

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-23 Thread Adam Nielsen
https://projects.puppetlabs.com/issues/2476 This does seem to confuse a fair few new users. What would be a better name for "--test"? Using Gentoo's emerge as an example, how about --oneshot? Cheers, Adam. -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-24 Thread Adam Nielsen
7;s true, and it is similar to --onetime. How about --explain? The end result is that you get a detailed explanation of what is happening. --test could be deprecated and --dry-run (like the 'make' parameter) added to do the same with no-op as well. Cheers, Adam. -- You received th

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-24 Thread Adam Nielsen
active as well. Come to that, if people are using --test in production environments, maybe options like --ignorecache *shouldn't* be included in --test or its replacement? Cheers, Adam. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Re: Do we need a new name for "--test"?

2011-01-24 Thread Adam Nielsen
iciency), but then you're not going to get it perfect unless you call the option something like --verbosely-run-once-non-daemonised-with-disabled-cache-and-some-other-things, so it's always going to be a compromise. Cheers, Adam. -- You received this message because you are subscribed to t

Re: [Puppet Users] Re: Do we need a new name for "--test"?

2011-01-24 Thread Adam Nielsen
The problem seems to be --test does so many things you can't concisely describe it. On the other hand, maybe --live-test would be good, as it makes it clear changes will be made which seems to be the biggest complaint about --test. Cheers, Adam. -- You received this message because yo

[Puppet Users] Re: Do we need a new name for "--test"?

2011-01-26 Thread Adam Stephens
On Jan 23, 4:33 pm, Nigel Kersten wrote: > https://projects.puppetlabs.com/issues/2476 > > This does seem to confuse a fair few new users. > > What would be a better name for "--test"? What about "--manual" ? -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] Wierd debian package issue...

2011-01-28 Thread Adam Gibbins
On 28 January 2011 16:52, Peter Berghold wrote: > This one has me scratching my head. Simply enough I have the following in > one of my manifests: > > package { postgresq1: ensure => latest } > > I checked with the Debian site to ensure that I had the correct package > name, puppetd did its th

Re: [Puppet Users] Stored configs - error

2011-02-02 Thread Adam Crews
an ActiveRecord bug, but I think puppet should still handle the issue when it occurs. -Adam -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this

Re: [Puppet Users] Migrating from 0.25.4 to 2.6

2011-02-03 Thread Adam Heinz
On Thu, Feb 3, 2011 at 2:39 AM, Matthew Macdonald-Wallace wrote: > I'm also wondering what impact the move would have on our puppet > manifests.  Are there any "gotcha's" that I need to be aware of that > could prevent my current manifests working under 2.6.2 or 0.24.5? I personally have been bit

[Puppet Users] Ordering

2011-02-03 Thread Adam Gibbins
Hi All, I'm trying to implement a template (for my collectd config) that gives different results depending on the other modules included on that machine. I tried to do this by checking for the class tags but it turns out that due to bug #3049 this is a huge pain and 90% of the time the tags aren't

Re: [Puppet Users] Re: Ordering

2011-02-03 Thread Adam Gibbins
On 3 February 2011 17:58, Richard Crowley wrote: > On Thursday, February 3, 2011 at 9:53 AM, Adam Gibbins wrote: > > Hi All, > I'm trying to implement a template (for my collectd config) that gives > different results depending on the other modules included on that machine.

Re: [Puppet Users] Unwanted whitespace generated by template

2011-02-10 Thread Adam Gibbins
On 10 February 2011 22:15, Mohamed Lrhazi wrote: > I have this in a template: > > ===cut here= > # Allow ICMP traffic > -A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT > > <% if netbackup_master_servers %> > <% netbackup_master_servers.each do |master_serve

Re: [Puppet Users] Puppet on a purely push basis no possible?

2011-02-15 Thread Adam Gibbins
On 15 February 2011 19:21, Kristopher wrote: > I would like to confirm that the following is not possible: > I have servers I would like to manage via puppet in my DMZ, I have my > puppet server in the trusted zone of my network. Due to this > arrangement (which cannot be changed due to other serv

Re: [Puppet Users] Puppet master exposed on internet

2011-02-23 Thread Adam Gibbins
On 23 February 2011 22:08, Sky wrote: > I need to use puppet over internet for a distributed scenario. I will > have 100 pops, with around 5 servers per pop. I will use cloud, VPS > and other kind of services, so my servers will change all the time and > number of server propably increase and decr

Re: [Puppet Users] add all group members to file

2011-03-22 Thread Adam Heinz
I think you would have each host export @@host { $fqdn: ..., tag => 'mygroup', } then also have each host consume those hosts Host <<| tag == 'mygroup' |>> On Tue, Mar 22, 2011 at 7:40 AM, danh wrote: > Hello all, > > I am trying to work out how to populate "/etc/hosts" with the IPs and

Re: [Puppet Users] Upgrade guide?

2011-03-23 Thread Adam Gibbins
On 23 March 2011 22:49, Michel wrote: > Hello; > > Is there any documentation on how to perform a puppet upgrade?  I > download the tarball and extracted it to my copied puppetmaster > server.  Right now I have all the node definitions working, but any > modules are not working. > (not even a simp

Re: [Puppet Users] Re: manage /etc/passwd and /etc/group

2011-04-01 Thread Adam Heinz
augtool> ins + after /files/etc/group/*[last()] augtool> set /files/etc/group/+/password : augtool> set /files/etc/group/+/gid : augtool> set /files/etc/group/+/user : augtool> save Saving failed augtool> print /augeas/files/etc/group/error /augeas/files/etc/group/error = "put_failed" /augeas/files

Re: [Puppet Users] Re: manage /etc/passwd and /etc/group

2011-04-01 Thread Adam Heinz
Small copy/paste error: > augtool> print /files/etc/group/foo > Saved 1 file(s) Was actually: augtool> save Saved 1 file(s) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To

Re: [Puppet Users] Catalog changes not picked up immediately

2011-04-05 Thread Adam Winberg
> On 04/05/2011 04:10 PM, hai wu wrote: > > We have same problem, using modules for all and using passenger. Have > > to run puppet agent -tv at least 2 times if need to test a change > > right away .. > > I can confirm this behavior with puppet 2.6.2, using modules and running > on passenger on RH

Re: [Puppet Users] augtool/augeas -- clearly missing something...

2011-04-12 Thread Adam Heinz
>      context => "/etc/network/interfaces", Shouldn't this be "/files/etc/network/interfaces"? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group,

[Puppet Users] Distributed Puppet Architecture and Management

2011-04-22 Thread Arm Adam
Posting here as well as on the developers group (they suggested that I repost here). How does puppet kick work in a scenario where a puppet master is managing puppet masters who manage puppet masters who manage agents? Do I have to kick from the immediate Master of the agent I want to kick? Do I

Re: [Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread Adam Heinz
On Fri, May 13, 2011 at 4:30 PM, PBWebGuy wrote: > What would your recommended versions be or what are the ones that you > are presently successful with?  Can you list your configured stack? http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger#Dependency-versions -- You received this

Re: [Puppet Users] Stopping two services at once

2011-05-16 Thread Adam Heinz
On Mon, May 16, 2011 at 7:16 AM, Jonathan Gazeley wrote: > Is it possible to format that like this?: > > service { "disabledemail": >        name => ['sendmail', 'exim'], >        ensure => stopped, >        enable => false, > } I think you mean service {[ 'sendmail', 'exim']: ensure => stoppe

Re: [Puppet Users] Should puppet manage its own client configs?

2011-05-16 Thread Adam Heinz
On Mon, May 16, 2011 at 3:14 PM, Jonathan Gazeley wrote: > The hostname of the puppetmaster is hard-coded, in our case. Can anyone > think of a better way of identifying the puppetmaster, so our manifests will > run anywhere, if we decide to make a different machine the puppetmaster? I just refer

Re: [Puppet Users] Should puppet manage its own client configs?

2011-05-16 Thread Adam Heinz
On Mon, May 16, 2011 at 4:08 PM, Chris Phillips wrote: > Why the distinction between the two? What's wrong with using a LAN IP on the > puppetmaster machine as well? To me that's much clearer that misusing > loopback. I seem to recall doing that to allow a newly provisioned puppetmaster to bootst

Re: [Puppet Users] How can i copy a directory

2011-05-23 Thread Adam Heinz
On Mon, May 23, 2011 at 10:08 AM, Aaron Grewell wrote: > You'll have to copy the entire contents of /usr into the Puppet tree to do > this, you can't serve it in place.  I wouldn't do what you're doing anyway. > Puppet is great for serving config files but for serving all of /usr I'd > choose eith

Re: [Puppet Users] nice real world web server + db server example

2011-05-24 Thread Adam Heinz
On Tue, May 24, 2011 at 10:13 AM, S Ahmed wrote: > I know there is forge.puppetlabs and example42. > I'm looking for a real world example that someone uses (and has open > sourced) of setting up a config for a website (web server + db server). > Is there anything?  Something that uses the latest v

Re: [Puppet Users] Dependency of the collection of virtual ressources.

2011-05-26 Thread Adam Heinz
On Thu, May 26, 2011 at 7:14 AM, elderdakkar wrote: > And this > results in one problem on the puppet side: it seems, that > Nagios_service <<||>> locks the config file and the Nagios_host <<||>> > process can't write its config to the same file. Is it a requirement that all puppet-written nagios

Re: [Puppet Users] Managing /etc/fstab options with augeas

2011-06-08 Thread Adam Heinz
On Thu, Jun 2, 2011 at 4:22 AM, Giovanni Bordello wrote: > I'm trying to manage mount options in /etc/fstab with Augeas but can't > figure out how to add more than one option. Have you looked at puppet's 'mount' type? -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Puppet, Mongrel, Apache and Debian

2009-08-26 Thread Adam Gibbins
Hi all, I've recently set all of our servers up with puppet, which for the majority has been working perfectly. Last week I had to disable puppet on all machines as I stupidly overloaded webrick so much and no requests were ever getting processed. My puppetmaster was previously setup for testin

[Puppet Users] Re: User's and managing expired passwords

2009-08-28 Thread Adam Crews
tand on it's own (in case nis, or ldap, or radius, ect.. goes away). I enforce the password rules on my puppetmaster (that only sysadmins can login to). When a password expires, you change it on the puppetmaster, and it is pushed to all the clients. If anyone is interested in my configs,

[Puppet Users] How to handle failures of resources

2009-10-18 Thread Adam Ryczkowski
- Thank you for your reply, Adam Ryczkowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from

[Puppet Users] How to determine if there is a room for a copied file in puppet before copying?

2009-10-18 Thread Adam Ryczkowski
only 500MB free space on target... -- Thank you for your reply, Adam Ryczkowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users

[Puppet Users] Re: How to determine if there is a room for a copied file in puppet before copying?

2009-10-19 Thread Adam Ryczkowski
> Really, though, you probably don't want to use Puppet to copy a 1gb > file - it still copies the files into memory. Is this true also for local copies (i.e. copies which doesn't involve file server, and where source and destination are on the same system)? --~--~-~--~~---

[Puppet Users] Re: How to handle failures of resources

2009-10-19 Thread Adam Ryczkowski
rocess would better be handled by custom scripts, so maybe indeed there is no need for such feature. At least not when transaction support is ready. -- Adam Ryczkowski --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Installation problem on Ubuntu 8.04

2009-10-20 Thread Adam Ryczkowski
It looks that most people writing the puppet Wiki and posting letters to this list are using puppet at least 0.25. I use a Ubuntu 8.04 server, where the most recent version of puppet I can get from repositories is 0.24.4-3. In order to be up-date with others here, I tried to get more recent versio

  1   2   >