Tuesday, 2010-06-29

[2010/06/29 00:05:38] @ Log started by gepetto
[2010/06/29 00:05:38] @ Quit: pkhamre: Ping timeout: 265 seconds
[2010/06/29 00:07:03] @ floess_chris joined channel #puppet
[2010/06/29 00:08:55] @ spawnyd joined channel #puppet
[2010/06/29 00:12:28] @ m1nish joined channel #puppet
[2010/06/29 00:15:47] @ kolla joined channel #puppet
[2010/06/29 00:16:01] <joschi> manlymatt83: what do you intend to achieve with "-eq 0" at the end?
[2010/06/29 00:16:58] @ bodepd joined channel #puppet
[2010/06/29 00:17:30] <joschi> manlymatt83: also I'd use a "positive" test: unless => "/usr/bin/test -f /root/sources/pymssql-1.9.908-py2.6-win32.egg"
[2010/06/29 00:17:45] @ Quit: m1nish: Ping timeout: 265 seconds
[2010/06/29 00:20:04] <manlymatt83> thanks :) I got it working with unless =>
[2010/06/29 00:23:28] @ giskard joined channel #puppet
[2010/06/29 00:23:40] @ Quit: dandiep: Ping timeout: 260 seconds
[2010/06/29 00:26:58] @ yannL joined channel #puppet
[2010/06/29 00:27:19] @ kc7zzv joined channel #puppet
[2010/06/29 00:29:03] @ Quit: blahdeblah: Ping timeout: 260 seconds
[2010/06/29 00:29:23] @ Ramonster joined channel #puppet
[2010/06/29 00:29:43] @ Quit: bodepd: Quit: bodepd
[2010/06/29 00:32:19] @ Quit: kc7zzv: Quit: kc7zzv
[2010/06/29 00:32:55] @ Quit: jaredrhine: Ping timeout: 260 seconds
[2010/06/29 00:34:30] @ m1nish joined channel #puppet
[2010/06/29 00:35:11] @ nexx joined channel #puppet
[2010/06/29 00:36:21] @ lkoranda joined channel #puppet
[2010/06/29 00:37:07] @ alcy_ joined channel #puppet
[2010/06/29 00:37:34] @ pmorillo joined channel #puppet
[2010/06/29 00:46:45] @ Quit: QMan: Remote host closed the connection
[2010/06/29 00:47:06] <manlymatt83> one more question
[2010/06/29 00:47:20] <manlymatt83> instead of doing Package { [ blah, blah2, blah3, blah4 ]: ensure => installed }
[2010/06/29 00:47:30] <manlymatt83> How can I name that package group, so that I can do Require => <name>
[2010/06/29 00:47:36] <manlymatt83> elsewhere, to make sure those packages are installed first?
[2010/06/29 00:48:07] <zeroXten> use a class manlymatt83?
[2010/06/29 00:48:22] <zeroXten> require => Class["name"]
[2010/06/29 00:49:18] <manlymatt83> but this is all inside the same class. I just want to install 5 packages before installing the others. Surely, I can just refer to that Package group?
[2010/06/29 00:51:22] @ Quit: monzie: Quit: monzie
[2010/06/29 00:51:45] <Volcane> its not really a group
[2010/06/29 00:51:58] <Volcane> it loops over the array and make 5 individual package resources
[2010/06/29 00:53:51] <manlymatt83> got it..
[2010/06/29 00:54:04] <manlymatt83> so the separate class really is the only way
[2010/06/29 00:54:40] <Volcane> might be able to use tags, not sure
[2010/06/29 00:55:15] @ Quit: giskard: Remote host closed the connection
[2010/06/29 01:00:57] @ Quit: pyco_: Ping timeout: 252 seconds
[2010/06/29 01:03:04] @ thekad is now known as thekad-afk
[2010/06/29 01:03:20] @ thekad-afk is now known as thekad
[2010/06/29 01:05:47] @ Quit: kolla: Remote host closed the connection
[2010/06/29 01:05:53] @ Quit: alcy_: Quit: Page closed
[2010/06/29 01:06:32] @ bronto joined channel #puppet
[2010/06/29 01:08:06] @ Quit: pinoyskull: Ping timeout: 245 seconds
[2010/06/29 01:09:16] @ alban2 joined channel #puppet
[2010/06/29 01:11:26] @ thekad is now known as thekad-afk
[2010/06/29 01:15:47] @ TREllis joined channel #puppet
[2010/06/29 01:20:45] @ Quit: nevyn: Ping timeout: 252 seconds
[2010/06/29 01:22:14] @ monzie joined channel #puppet
[2010/06/29 01:22:41] @ nevyn joined channel #puppet
[2010/06/29 01:22:49] @ Quit: benoit_: Ping timeout: 264 seconds
[2010/06/29 01:25:15] @ StuZZZs joined channel #puppet
[2010/06/29 01:31:32] @ allsystemsarego joined channel #puppet
[2010/06/29 01:33:46] @ benoit_ joined channel #puppet
[2010/06/29 01:35:40] @ pinoyskull joined channel #puppet
[2010/06/29 01:36:11] @ Quit: p3rror: Quit: أستودعكم الله
[2010/06/29 01:38:58] @ hggh_ is now known as hggh
[2010/06/29 01:43:37] <monzie> Need some basic help
[2010/06/29 01:45:12] <ptman> shoot
[2010/06/29 01:45:51] <monzie> ls
[2010/06/29 01:46:02] <hMz> cant help with that one
[2010/06/29 01:46:03] <monzie> I am reading through http://docs.reductivelabs.com/guides/language_tutorial.html
[2010/06/29 01:46:05] * hMz laughs
[2010/06/29 01:46:14] @ Quit: freshtonic: Quit: freshtonic
[2010/06/29 01:46:19] <monzie> the first example lists the file example
[2010/06/29 01:46:36] <monzie> In which file do i put it and how do I make sure that trivial example runs across multiple systems?
[2010/06/29 01:46:54] <hMz> you have a variety of places to put it
[2010/06/29 01:46:59] <hMz> and most of it is relative to your setup
[2010/06/29 01:47:06] <hMz> but from the very basic perspective, it would be site.pp
[2010/06/29 01:47:34] <hMz> and it's already abstracted from the operatingsystem
[2010/06/29 01:47:39] <hMz> so that example already works "everywhere"
[2010/06/29 01:49:11] @ kolla joined channel #puppet
[2010/06/29 01:52:51] <monzie> hMz: so I want to run puppet on OSX. But I want the changes to be made to a debian VM running on my boxy
[2010/06/29 01:52:58] <monzie> i have installed puppet on both of them using gem
[2010/06/29 01:53:19] <monzie> is there a more step-by-side guide which tells me the locations of the files etc so that I dont have to bug people on IRC :) ?
[2010/06/29 01:53:56] @ pjsz left channel #puppet ()
[2010/06/29 01:55:32] <monzie> hMz: for example, where would that site.pp file exist on OS X and Debian?
[2010/06/29 01:57:10] <ptman> /etc/puppet/manifests/site.pp
[2010/06/29 01:57:23] <ptman> at least on debian
[2010/06/29 01:59:24] <monzie> ptman: okay
[2010/06/29 02:00:54] <monzie> not able to find the etc/puppet/manifests dir anywhere on the mac
[2010/06/29 02:01:28] <zeroXten> hmm, is it possible (wise) to have a generic 'define' which then conditionally selects specific defines? e.g a repo::repo { "name" } definition which contains a case $operatingsystem and then uses the repo::debian define?
[2010/06/29 02:01:36] <monzie> puppet is installed in the /opt/local/bin directory
[2010/06/29 02:01:52] <monzie> Ruby installed from macports.. then puppet installed using gem install puppet
[2010/06/29 02:03:55] @ alcy_ joined channel #puppet
[2010/06/29 02:06:03] @ Quit: alcy_: Quit: Page closed
[2010/06/29 02:09:52] <monzie> I installed puppet from the gem install command
[2010/06/29 02:10:02] <monzie> I cant seem to find my manifest directory
[2010/06/29 02:10:19] <monzie> "gem contents puppet" lists http://pastie.org/1023074
[2010/06/29 02:11:41] @ itguru joined channel #puppet
[2010/06/29 02:13:43] <ptman> puppet --genconfig |grep manifest
[2010/06/29 02:20:36] <spawnyd> monzie: if you install puppet by macports you want to look at /opt/local/etc/puppet
[2010/06/29 02:20:53] <monzie> ptman: I got what I was looking for .. but it threw up a *huge* number of deprecation warnings
[2010/06/29 02:20:54] <monzie> http://pastie.org/1023081
[2010/06/29 02:21:36] * monzie is confused
[2010/06/29 02:21:40] <spawnyd> monzie: I get them too, but it is not a problem
[2010/06/29 02:21:55] <monzie> spawnyd: I installed puppet from gem . The Ruby on my system was installed from macports
[2010/06/29 02:22:26] <spawnyd> monzie: you have a newer rails gem installed and the messages are a deprecation warning from rails.
[2010/06/29 02:22:31] <zipkid> manlymatt83: http://projects.puppetlabs.com/issues/3866
[2010/06/29 02:22:36] <zipkid> oops
[2010/06/29 02:22:39] <zipkid> monzie: http://projects.puppetlabs.com/issues/3866
[2010/06/29 02:23:16] <monzie> zipkid: which version of rails do I need to install to make this work?
[2010/06/29 02:23:21] <spawnyd> monzie: use https://sites.google.com/a/explanatorygap.net/puppet/ for a mac installation.
[2010/06/29 02:23:30] <zipkid> monzie: no other, it works...
[2010/06/29 02:23:54] <zipkid> The warning is only that... a warning...
[2010/06/29 02:23:58] <monzie> zipkid: ok'
[2010/06/29 02:24:17] <monzie> zipkid: so should i remove the puppet and facter gems and install the "official" ones built by reductive labs?
[2010/06/29 02:24:31] <zipkid> well, i'm talking about the warning, nothing mac specific....
[2010/06/29 02:24:44] <zipkid> monzie: eum, dunno...
[2010/06/29 02:24:46] <monzie> zipkid: ok
[2010/06/29 02:24:51] <monzie> zipkid: thanks for the help
[2010/06/29 02:24:55] <zipkid> np
[2010/06/29 02:25:12] <spawnyd> the .pkg is IIRC from greg neagle, but yes uninstall macports ruby and the facter+puppet gem
[2010/06/29 02:25:42] <monzie> acc to http://www.debian-administration.org/articles/526 I'll have to create the /etc/puppet/manifest dir by hand
[2010/06/29 02:26:17] <ssm> monzie: manifests
[2010/06/29 02:27:31] @ alcy_ joined channel #puppet
[2010/06/29 02:28:46] <spawnyd> I don't get foreman reports working. For me it seems that Puppet::Reports.register_report(:foreman) is not called in puppet/reports/foreman.rb.
[2010/06/29 02:29:10] @ Quit: pmorillo: Quit: pmorillo
[2010/06/29 02:29:22] <spawnyd> All configuration should be ok (http://theforeman.org/projects/foreman/wiki/Puppet_Reports) and #theforeman has not an idea anymore.
[2010/06/29 02:29:27] <monzie> getting rid of my convoluted setup and replacing it with gem install puppet facter
[2010/06/29 02:29:27] @ gebi joined channel #puppet
[2010/06/29 02:29:48] <spawnyd> Any hint for me?
[2010/06/29 02:32:58] <monzie> Okay, Now I am using the "official" puppet packages
[2010/06/29 02:33:08] <monzie> I still cant find a /etc/puppet dir!!!!
[2010/06/29 02:33:25] <ssm> monzie: which "official" puppet packages?
[2010/06/29 02:33:36] <spawnyd> monzie: you should create it
[2010/06/29 02:33:40] <monzie> ssm: from https://sites.google.com/a/explanatorygap.net/puppet/
[2010/06/29 02:34:18] <monzie> spawnyd: where should i create it ? in /etc/ or in ~/.puppet ?
[2010/06/29 02:34:27] <monzie> http://pastie.org/1023093 seems to suggest the latter.. *confused*
[2010/06/29 02:34:31] <spawnyd> /etc/puppet
[2010/06/29 02:34:51] <ssm> monzie: the page says: "These packages do not contain configuration files"... You need to create /etc/puppet, add puppet.conf, and /etc/puppet/manifests/site.pp
[2010/06/29 02:34:53] <spawnyd> monzie: do you use the mac as a puppetd or a puppetmasterd?
[2010/06/29 02:35:14] <ssm> monzie: if you use it as a puppetmasterd, you need /etc/puppet/manifests/site.pp, if not, you don't
[2010/06/29 02:35:21] <monzie> spawnyd: I plan to use it as the master and my debian VM as the client
[2010/06/29 02:35:45] <spawnyd> mkdir -p /etc/puppet/manifests
[2010/06/29 02:35:55] <monzie> spawnyd: yeah did it.. required a sudo
[2010/06/29 02:36:04] <spawnyd> touch /etc/puppet/puppet.conf && touch /etc/puppet/manifests/site.pp
[2010/06/29 02:36:39] <monzie> spawnyd: done.. had to sudo to do it
[2010/06/29 02:37:22] <ptman> monzie, the reason http://pastie.org/1023093 seems to suggest ~/.puppet is probably that you didn't run puppet --genconfig as root
[2010/06/29 02:37:31] <monzie> ah ok !
[2010/06/29 02:37:34] <monzie> got it .. thanks ptman !
[2010/06/29 02:37:37] @ Fibre213 joined channel #puppet
[2010/06/29 02:38:00] <ptman> puppet can be used as a non-privileged user, but you probably don't want to do that
[2010/06/29 02:38:03] <monzie> now doing apt-get install puppet on my debian VM .. which is going to be a client
[2010/06/29 02:39:32] <monzie> done.
[2010/06/29 02:39:49] <monzie> Now lets say I want to create a user on the Debian VM from the OSX machine.. how do I do it?
[2010/06/29 02:40:04] <spawnyd> monzie: look at the docs
[2010/06/29 02:40:51] <spawnyd> monzie: http://docs.reductivelabs.com/#getting_started is a really good starting point
[2010/06/29 02:41:16] <monzie> spawnyd: i am reading http://docs.reductivelabs.com/guides/introduction.html
[2010/06/29 02:41:55] <ssm> monzie: http://docs.puppetlabs.com/guides/configuring.html has your first examples
[2010/06/29 02:42:08] <monzie> ssm: okay. Thanks for the pointer!
[2010/06/29 02:42:09] @ Quit: mfournier: Ping timeout: 252 seconds
[2010/06/29 02:43:47] @ mfournier joined channel #puppet
[2010/06/29 02:44:25] <spawnyd> monzie: http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern try "our first class" with "initial manifest".
[2010/06/29 02:45:01] <monzie> spawnyd / ssm I'm not able to create the initial puppet user and group
[2010/06/29 02:45:02] <monzie> http://pastie.org/1023103
[2010/06/29 02:45:06] <spawnyd> monzie: a better link is probably http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern
[2010/06/29 02:45:34] <spawnyd> monzie: use uid 0 and gid 0 on a mac
[2010/06/29 02:45:44] <zipkid> monzie: indeed a problem on OS X
[2010/06/29 02:45:45] <monzie> spawnyd: how do I do that ?
[2010/06/29 02:45:55] @ Fibre213 left channel #puppet ()
[2010/06/29 02:45:59] <spawnyd> puppet.conf
[2010/06/29 02:46:00] <spawnyd> [main] user = 0 group = 0
[2010/06/29 02:46:01] @ Quit: alcy_: Quit: Page closed
[2010/06/29 02:46:20] <monzie> spawnyd: my puppet.conf is empty!!
[2010/06/29 02:46:48] <spawnyd> monzie: take you favourite texteditor and wirte the 3 lines I pasted
[2010/06/29 02:47:26] <monzie> spawnyd: awesome! it worked!!
[2010/06/29 02:47:40] <spawnyd> monzie: yeaha :)
[2010/06/29 02:51:36] <monzie> spawnyd: no it did not. now it says sudo puppetmasterd --mkusers
[2010/06/29 02:51:36] <monzie> Could not run: Could not create PID file: /var/puppet/run/puppetmasterd.pid
[2010/06/29 02:51:36] <monzie>
[2010/06/29 02:51:53] <spawnyd> monzie: dont use --mkusers
[2010/06/29 02:52:17] <monzie> spawnyd: what should I use then?
[2010/06/29 02:52:28] <spawnyd> monzie: ignore the docs on this part, because on osx you just use root:wheel
[2010/06/29 02:52:54] <monzie> spawnyd: well that does not work as well.. % sudo puppetd --verbose
[2010/06/29 02:52:55] <monzie> Could not prepare for execution: Could not create PID file: /var/puppet/run/puppetd.pid
[2010/06/29 02:52:55] <monzie>
[2010/06/29 02:52:56] <spawnyd> monzie: jump to the next part
[2010/06/29 02:53:11] <spawnyd> did you use sudo or do you run it as root?
[2010/06/29 02:53:18] <monzie> spawnyd: sudo
[2010/06/29 02:53:53] <spawnyd> try it useing root
[2010/06/29 02:53:55] <spawnyd> -e
[2010/06/29 02:54:34] <monzie> spawnyd: cant run it even as root!
[2010/06/29 02:54:41] <monzie> h-3.2# puppetd --verbose
[2010/06/29 02:54:41] <monzie> Could not prepare for execution: Could not create PID file: /var/puppet/run/puppetd.pid
[2010/06/29 02:54:54] <Volcane> monzie: puppetd --test
[2010/06/29 02:55:47] <monzie> Volcane: http://pastie.org/1023112
[2010/06/29 02:56:41] <spawnyd> monzie: you have to sign and request certs using puppetca
[2010/06/29 02:57:29] <monzie> all this is so confusing
[2010/06/29 02:57:30] @ Quit: TREllis: Quit: leaving
[2010/06/29 02:57:32] <spawnyd> monzie: client: puppetd --test , master: puppetca -l and puppetca -s <fqdn>
[2010/06/29 02:57:56] <monzie> spawnyd: the server and the client are the same machine at the moment
[2010/06/29 02:58:00] <spawnyd> monzie: http://docs.reductivelabs.com/guides/configuring.html#verifying_installation
[2010/06/29 02:59:15] @ TREllis joined channel #puppet
[2010/06/29 03:00:42] @ Olly_ joined channel #puppet
[2010/06/29 03:01:18] @ Quit: gebi: Ping timeout: 260 seconds
[2010/06/29 03:01:27] <monzie> spawnyd: i tried puppetd --server 127.0.0.1 --waitforcert 60 --test and puppetd --server localhost --waitforcert 60 --test
[2010/06/29 03:01:36] <monzie> it did not work : http://pastie.org/1023117
[2010/06/29 03:01:43] <monzie> (as the user root )
[2010/06/29 03:02:03] <spawnyd> the puppetmaster is not running
[2010/06/29 03:02:30] <monzie> spawnyd: How do I start it on OSX? ( I know I can start using the init script on linux )
[2010/06/29 03:02:33] <spawnyd> start one wit puppetmasterd --no-daemonize --verbose
[2010/06/29 03:02:57] <Volcane> you've specified --server, you've lost already :)
[2010/06/29 03:03:00] <spawnyd> monzie: in the future you want to use launchd http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_With_Launchd
[2010/06/29 03:03:16] <monzie> sh-3.2# puppetmasterd --no-daemonize --verbose
[2010/06/29 03:03:16] <monzie> notice: Starting Puppet server version 0.25.4
[2010/06/29 03:03:17] <monzie> Could not run: Could not create PID file: /var/puppet/run/puppetmasterd.pid
[2010/06/29 03:03:26] <monzie> (started it as root )
[2010/06/29 03:04:27] <monzie> should I just give up on OSX and use linux and be happy with it instead ?
[2010/06/29 03:05:11] <monzie> I meant linux as the puppet server?
[2010/06/29 03:05:20] <spawnyd> monzie: the directory /var/puppet/run/ exists?
[2010/06/29 03:05:39] <monzie> spawnyd: yes
[2010/06/29 03:06:00] <monzie> it contains two .pid files - puppetd.pidpuppetmasterd.pid
[2010/06/29 03:06:07] <monzie> should i delete them?
[2010/06/29 03:06:22] <spawnyd> what does ps aux |grep puppet say?
[2010/06/29 03:07:05] <monzie> spawnyd: it says http://pastie.org/1023119
[2010/06/29 03:07:43] <spawnyd> kill the puppetmasterd and try puppetmasterd --no-daemonize --verbose
[2010/06/29 03:10:29] <monzie> spawnyd: sh-3.2# puppetmasterd --no-daemonize --verbose
[2010/06/29 03:10:29] <monzie> notice: Starting Puppet server version 0.25.4
[2010/06/29 03:10:42] <monzie> and after that it does nothing.. is this the expected behaviour?
[2010/06/29 03:11:07] <spawnyd> monzie: this should be ok
[2010/06/29 03:11:10] @ Quit: mattock: Ping timeout: 264 seconds
[2010/06/29 03:11:28] <monzie> spawnyd: ok
[2010/06/29 03:11:35] <monzie> spawnyd: thanks a lot for your help
[2010/06/29 03:11:47] <monzie> spawnyd: I need to do a puppetrun now i guess
[2010/06/29 03:12:01] <spawnyd> monzie: you can use puppetd on your client
[2010/06/29 03:12:11] <monzie> spawnyd: currently it's all on my localhost
[2010/06/29 03:12:27] <monzie> once I get a hang of it.. I'll try and use my debian VM as the client
[2010/06/29 03:12:45] @ Quit: bleything: Ping timeout: 260 seconds
[2010/06/29 03:13:27] @ bleything joined channel #puppet
[2010/06/29 03:14:14] <spawnyd> monzie: it's no problem to run the puppetd on your master if you want to configure your master with puppet. Try the sudo class or something you like.
[2010/06/29 03:14:32] @ Quit: ohadlevy: Quit: ZNC - http://znc.sourceforge.net
[2010/06/29 03:14:33] <monzie> spawnyd: yeah that is the example that I am trying out
[2010/06/29 03:24:55] @ arnt joined channel #puppet
[2010/06/29 03:37:20] @ blahdeblah joined channel #puppet
[2010/06/29 03:52:20] @ Quit: bronto: Remote host closed the connection
[2010/06/29 03:59:37] @ bronto joined channel #puppet
[2010/06/29 04:00:27] <blahdeblah> Evening all.
[2010/06/29 04:01:06] <blahdeblah> Is it permissible to use the plusignment operator with existing arrays? e.g. $myvar = [ 1, 2, 3 ] ... $myvar +> 4
[2010/06/29 04:01:51] <blahdeblah> Or is that just +=?
[2010/06/29 04:02:10] * blahdeblah slaps head and goes back into his cave
[2010/06/29 04:02:25] <monzie> So now that I have site.pp in place.. How do I make foreman "see" it ?
[2010/06/29 04:21:11] @ QuackNL joined channel #puppet
[2010/06/29 04:21:40] @ gebi joined channel #puppet
[2010/06/29 04:27:05] <gebi> GNAH... puppet ssl problem, no real error message from puppet, just the normal "no trusted foo', in the end it was a wrong date/time :/
[2010/06/29 04:28:08] @ Quit: TREllis: Ping timeout: 260 seconds
[2010/06/29 04:33:40] @ Quit: monzie: Quit: monzie
[2010/06/29 04:36:37] @ alcy_ joined channel #puppet
[2010/06/29 04:36:47] @ Bass10 joined channel #puppet
[2010/06/29 04:37:10] @ Quit: Bass10: Read error: Connection reset by peer
[2010/06/29 04:37:29] @ Bass10 joined channel #puppet
[2010/06/29 04:37:54] @ jamesb_ joined channel #puppet
[2010/06/29 04:38:13] @ Quit: jamesb_: Client Quit
[2010/06/29 04:38:51] @ JM joined channel #puppet
[2010/06/29 04:42:16] @ Quit: Bass10: Ping timeout: 245 seconds
[2010/06/29 04:45:02] @ Bass10 joined channel #puppet
[2010/06/29 04:47:56] @ Quit: JM: Ping timeout: 265 seconds
[2010/06/29 04:49:51] @ Quit: alcy_: Quit: Page closed
[2010/06/29 04:55:10] @ Quit: n0ts: Ping timeout: 276 seconds
[2010/06/29 04:56:28] @ Quit: davea1: Quit: Leaving
[2010/06/29 04:56:54] <Legooolas> I'm trying to use the Lab42 suggested method of having params in a separate class, but I can't read them?
[2010/06/29 04:57:32] * Legooolas constructs a simple paste
[2010/06/29 04:58:07] <Legooolas> http://pastebin.com/7FRVZJN0
[2010/06/29 04:58:21] <Legooolas> That doesn't expand as I'd expect, and instead is blank.
[2010/06/29 04:58:54] <Legooolas> Puppet 0.25.4 on both client and server, and I suspect that I'm going to get told that it's because it's too old, aren't I? :)
[2010/06/29 04:59:32] @ n0ts joined channel #puppet
[2010/06/29 05:01:24] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/06/29 05:01:55] @ TREllis joined channel #puppet
[2010/06/29 05:02:45] @ Quit: matti: Ping timeout: 240 seconds
[2010/06/29 05:03:22] <robinbowes> Try without the { }
[2010/06/29 05:03:42] <robinbowes> Or even without the " " too
[2010/06/29 05:04:03] <robinbowes> notify { $nagios::client::params::foo: }
[2010/06/29 05:05:47] <robinbowes> Is it possible to require an instantiation of a defined class ?
[2010/06/29 05:05:51] <Legooolas> robinbowes: "Could not match '${nagios::client::params::configfile}:'" now
[2010/06/29 05:05:52] <Legooolas> Hmm.
[2010/06/29 05:06:17] <blahdeblah> Anyone seen this crazy talk? "Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Dansguardian::Groups::List_file[bannedsitelist] is already defined in file /etc/puppet/modules/dansguardian/manifests/init.pp at line 254; cannot redefine at /etc/puppet/modules/dansguardian/manifests/init.pp:254"
[2010/06/29 05:06:41] <robinbowes> You're including something twice
[2010/06/29 05:06:43] <Volcane> blahdeblah: its a define, that isnt creating unique resources and you're using the define twice
[2010/06/29 05:06:51] <Volcane> robinbowes: you can include twice :)
[2010/06/29 05:07:03] <robinbowes> Yeah, that's what i meant :p
[2010/06/29 05:07:27] <blahdeblah> The old "principle of most surprise" trick, ey?
[2010/06/29 05:07:40] <robinbowes> I have a defined class, eg. define foo::bar ( ... ) { ... }
[2010/06/29 05:07:55] <Volcane> robinbowes: require Foo::Bar["meh"]
[2010/06/29 05:08:07] <robinbowes> Hmm, I thought so
[2010/06/29 05:08:12] <blahdeblah> I don't suppose there's any way to convince puppet to tell me where i've included it from?
[2010/06/29 05:08:27] <Volcane> blahdeblah: the problem is in the define not where you're using it.
[2010/06/29 05:08:32] <robinbowes> I got a strange error:
[2010/06/29 05:08:33] <robinbowes> 2010-06-29_12:01:03.51881 err: Could not retrieve catalog from remote server: Error 400 on SERVER: undefined method `downcase' for #<Puppet::Parser::Resource::Reference:0x2aaaacade8b0> at /etc/puppet/modules/profile/manifests/my/beta.pp:6 on node a044.private.a.statcounter.com
[2010/06/29 05:08:50] <blahdeblah> Volcane: OK, now you've really lost me
[2010/06/29 05:09:04] <Volcane> blahdeblah: show /etc/puppet/modules/dansguardian/manifests/init.pp 254 and whats around it
[2010/06/29 05:09:37] <itguru> blahdeblah: Umm.. I think Volcane said, it's not you, it's the thing your trying to use is broke :)
[2010/06/29 05:09:55] @ ahasenack joined channel #puppet
[2010/06/29 05:09:56] <blahdeblah> itguru: I wrote the thing i'm trying to include, so either way, it's me. ;-)
[2010/06/29 05:10:18] * itguru hands back over to Volcane, he has a point!
[2010/06/29 05:10:36] @ beata_ joined channel #puppet
[2010/06/29 05:11:04] <blahdeblah> Volcane: http://puppet.pastebin.com/Lh8gBnj2
[2010/06/29 05:11:25] <beata_> how can i use a variable inside a variable in a template ie $myHeader = "blah blah $puppetserver"
[2010/06/29 05:11:34] <Volcane> blahdeblah: and where's line 254?
[2010/06/29 05:11:37] <blahdeblah> line 254 is line 36 of my pastebin
[2010/06/29 05:11:49] <Volcane> neverind, 36 yes
[2010/06/29 05:12:09] <Volcane> blahdeblah: so think about it, you're creating dansguardian::groups::list_file {"bannedsitelist": .... }
[2010/06/29 05:12:33] <Volcane> blahdeblah: can you do that twice? no, so if you call dansguardian::groups::filter_conf more than once, you're creating those resources twice
[2010/06/29 05:13:16] <Legooolas> If you want more than one list file for different categories etc you'll need to make the name of the list_file unique in some way
[2010/06/29 05:13:37] <Volcane> blahdeblah: inside a define all your resources need to be unique so you need to call them something like "${name}-bannedurllist" or something
[2010/06/29 05:13:47] <blahdeblah> yep - i get it now
[2010/06/29 05:14:12] <blahdeblah> It took me a long time to get the problem down to something this simple. I hate Dan's Guardian's config files - ridiculously complex.
[2010/06/29 05:14:16] @ Quit: pinoyskull: Quit: Leaving
[2010/06/29 05:15:37] @ Quit: n0ts: Ping timeout: 264 seconds
[2010/06/29 05:17:29] @ n0ts joined channel #puppet
[2010/06/29 05:17:37] @ joerg joined channel #puppet
[2010/06/29 05:17:58] @ joerg is now known as Guest21572
[2010/06/29 05:18:05] @ Guest21572 is now known as joergherzinger
[2010/06/29 05:18:14] @ jab_doa joined channel #puppet
[2010/06/29 05:18:29] @ henk joined channel #puppet
[2010/06/29 05:18:33] <henk> hi
[2010/06/29 05:18:54] <joergherzinger> hi
[2010/06/29 05:19:20] <henk> i have a module called 'syslog-ng' and an that module a class 'syslog-ng::icecast'. that class is included in site.pp for a node used for inheritance. it is not found. anything obviously wrong so far?
[2010/06/29 05:21:32] <joergherzinger> is syslog-ng::icecast in a separate file?
[2010/06/29 05:21:59] <henk> joergherzinger: it's in /etc/puppet/modules/syslog-ng/manifests/init.pp
[2010/06/29 05:23:35] @ cliff-hm joined channel #puppet
[2010/06/29 05:23:53] <joergherzinger> Which puppet version? Older version had problems with minus signs in modules names? I always had to put names with minuses in them under quotes
[2010/06/29 05:23:55] @ rgsteele joined channel #puppet
[2010/06/29 05:24:08] <henk> 0.25.4
[2010/06/29 05:24:43] <joergherzinger> Ok, thats good. Could you paste the error the client produces here.
[2010/06/29 05:24:48] <blahdeblah> Volcane: thanks for your help - your patient explanations are greatly appreciated
[2010/06/29 05:25:44] <henk> joergherzinger: http://pastie.org/1023233
[2010/06/29 05:26:57] @ Quit: shenson: Ping timeout: 258 seconds
[2010/06/29 05:27:03] <Volcane> blahdeblah: no problems
[2010/06/29 05:27:30] <joergherzinger> Ok, do you have a class syslog-ng? You need a parenting class too.
[2010/06/29 05:27:31] @ Quit: malikai: Ping timeout: 265 seconds
[2010/06/29 05:27:48] @ shenson joined channel #puppet
[2010/06/29 05:28:31] <henk> joergherzinger: yup.
[2010/06/29 05:28:36] <blahdeblah> Volcane: I had to expand that class to this: http://puppet.pastebin.com/i77CrmNf It looks like it has actually worked, but i can't exactly tell because my underpowered test machine is dragging its heels on the actual installation of Dan's Guardian.
[2010/06/29 05:29:10] <Volcane> blahdeblah: kewl, well if filtergroup is unique - else ${name} will always be a good choice
[2010/06/29 05:29:18] <Volcane> for making those resources unique
[2010/06/29 05:30:24] @ Quit: rsquared: Ping timeout: 240 seconds
[2010/06/29 05:30:31] <blahdeblah> The define is used only once for each unique filtergroup, so it should be OK unless someone comes along later and messes with it
[2010/06/29 05:30:54] <Volcane> well then supplying filtergroup should be superfluous, you can just use $name ?
[2010/06/29 05:32:14] <blahdeblah> On line 5, you mean?
[2010/06/29 05:33:15] <blahdeblah> If that's the case, i see your point
[2010/06/29 05:33:59] <joergherzinger> henk: Ok, sounds good so far. Could you paste the syslog-ng/manifests/init.pp to pastie.org?
[2010/06/29 05:34:48] <Volcane> dansguardian::groups::filter_conf{"meh": ... } and then using $name is the same as dansguardian::groups::filter_conf{"meh": filtergroup => "meh"}
[2010/06/29 05:35:08] <Volcane> blahdeblah: inside a define $name points to the resource name and is always unique
[2010/06/29 05:35:11] <henk> joergherzinger: how about the '-' in the class/module-name? do you know if and when it has been fixed?
[2010/06/29 05:35:58] @ monzie joined channel #puppet
[2010/06/29 05:36:09] <henk> joergherzinger: uh... you don't want to see that :-/
[2010/06/29 05:36:25] <joergherzinger> henk: 25.5 is newest and I am using 25.4 too and I know its fixed in that version, so I guess its not the problem but you could try to change it in site.pp: include "syslog-ng::icecast"
[2010/06/29 05:37:40] @ thefish joined channel #puppet
[2010/06/29 05:37:49] <henk> joergherzinger: hm, that's what it's like atm?! what should i change about that?
[2010/06/29 05:39:41] <joergherzinger> henk: Everything is fine then. I guess you are not using a special environment and modulepath is correct in puppet.conf
[2010/06/29 05:40:56] <henk> joergherzinger: yup, works fine for other modules... i guess i'll clear that module up a bit and see if it's still stuck. if it is, i'll be back and paste it...
[2010/06/29 05:41:06] <joergherzinger> henk: is your subclass defined in your parenting class, like: class syslog-ng { class syslog-ng::icecast {...} }
[2010/06/29 05:41:29] <henk> joergherzinger: no, completely on its own...
[2010/06/29 05:41:55] @ zorzar joined channel #puppet
[2010/06/29 05:42:26] <joergherzinger> henk: Ok, so its like: class syslog-ng {} ... class syslog-ng::icecast { }. If so, then everything sounds correct to me...
[2010/06/29 05:42:57] <henk> joergherzinger: yes, exactly. to me too :-/ anyway... cleaning up, trying again, asking back here if not working ;)
[2010/06/29 05:43:08] @ rsquared joined channel #puppet
[2010/06/29 05:43:19] <joergherzinger> henk: Ok. :)
[2010/06/29 05:44:16] @ Quit: rsquared: Client Quit
[2010/06/29 05:44:41] <monzie> is there a pre-build VM with puppet + foreman working which I can download/test?
[2010/06/29 05:44:45] @ Quit: zorzar_: Ping timeout: 240 seconds
[2010/06/29 05:44:55] @ rsquared joined channel #puppet
[2010/06/29 05:45:42] <blahdeblah> Volcane: Once everything got installed, it worked as expected. Thanks once again for your help.
[2010/06/29 05:45:49] * blahdeblah heads off to bed
[2010/06/29 05:46:42] @ MPSimmons joined channel #puppet
[2010/06/29 05:49:23] <joergherzinger> Im looking for a solution on creating several files automatically based on the values of an array. Any ideas how to do this without writing a custom type?
[2010/06/29 05:49:48] @ bjaspan joined channel #puppet
[2010/06/29 05:55:51] <Volcane> joergherzinger: need more info
[2010/06/29 05:57:05] @ M- joined channel #puppet
[2010/06/29 05:57:41] @ Quit: blahdeblah: Ping timeout: 240 seconds
[2010/06/29 05:59:04] @ Quit: brothers_: Remote host closed the connection
[2010/06/29 05:59:12] @ brothers_ joined channel #puppet
[2010/06/29 05:59:48] @ brothers__ joined channel #puppet
[2010/06/29 06:00:04] <monzie> Hello all
[2010/06/29 06:00:15] <monzie> I have puppetmasterd and puppetd running on the same machine
[2010/06/29 06:00:23] @ Quit: bjaspan: Quit: bjaspan
[2010/06/29 06:00:28] <monzie> whenver I do a puppetd --server 127.0.0.1 --waitforcert 60 --test
[2010/06/29 06:00:28] <monzie> i get
[2010/06/29 06:00:35] <monzie> err: Could not retrieve catalog from remote server: hostname was not match with the server certificate
[2010/06/29 06:00:35] <monzie> warning: Not using cache on failed catalog
[2010/06/29 06:00:35] <monzie> err: Could not retrieve catalog; skipping run
[2010/06/29 06:00:45] <monzie> Is there some step that i am missing?
[2010/06/29 06:00:56] <Volcane> done use --server
[2010/06/29 06:01:29] @ reyjrar joined channel #puppet
[2010/06/29 06:02:03] <Volcane> just make 'puppet' resolve to the machine u need it to
[2010/06/29 06:02:33] * zeroXten is back >:)
[2010/06/29 06:03:20] @ ckauhaus joined channel #puppet
[2010/06/29 06:03:31] @ Quit: brothers_: Ping timeout: 245 seconds
[2010/06/29 06:03:51] <Legooolas> Aha, I found that I really need to include classes before I try to use variables in them :<
[2010/06/29 06:03:56] @ Quit: brothers__: Ping timeout: 245 seconds
[2010/06/29 06:03:57] @ brothers_ joined channel #puppet
[2010/06/29 06:03:57] * Legooolas slaps forehead
[2010/06/29 06:04:40] <Legooolas> One thing though, "notify" (the send a message to the puppetd log one, not the metaparameter one)
[2010/06/29 06:04:50] <joergherzinger> Volcane: Its like this here: http://pastie.org/1023284. This is a testing example I am currently using.
[2010/06/29 06:05:03] <Legooolas> doesn't work for the same variable
[2010/06/29 06:05:19] <Legooolas> e.g. notice("The value is ${nagios::client::params::foo}") works
[2010/06/29 06:05:31] <Legooolas> but notify { ${nagios::client::params::foo}: ; } does not
[2010/06/29 06:05:37] <Legooolas> Why is that?
[2010/06/29 06:05:45] <joergherzinger> Volcane: The templates in bind9-zone define use CSV files to create the zone info.
[2010/06/29 06:06:13] <Volcane> joergherzinger: well, if you make a define like: define print() { notice $name }
[2010/06/29 06:06:25] <Volcane> joergherzinger: print{["one", "two", "three"]: }
[2010/06/29 06:06:30] <Volcane> joergherzinger: wwill make 3 x print reources
[2010/06/29 06:06:41] <Volcane> joergherzinger: so use the same trick to create your zones based on $myzones
[2010/06/29 06:08:39] @ brothers_ left channel #puppet ()
[2010/06/29 06:09:21] <joergherzinger> Volcane: Ah, ok, thanks. Ill try this.
[2010/06/29 06:09:44] <lisa> i was just lame and use flat files for my zones, straight from bind itself, before it was puppetized.
[2010/06/29 06:10:44] <zeroXten> what is the correct way to have multiple configurations for the same application? e.g. sshd on one server might only have GSS-API, one only PKI and other passwords only.. virtual resources?
[2010/06/29 06:11:00] <lisa> zeroXten: subclassing
[2010/06/29 06:11:15] * Volcane just use the source => [..., ...] trick
[2010/06/29 06:11:15] <lisa> sshd::gssapi vs ssh:pki vs ssh::default
[2010/06/29 06:11:17] <zeroXten> ahh.. duh
[2010/06/29 06:11:21] <Volcane> or build it with templates
[2010/06/29 06:13:22] <lisa> (of course, with a uniform sshd xor ssh parent class. oops)
[2010/06/29 06:15:24] @ blahdeblah joined channel #puppet
[2010/06/29 06:17:07] <monzie> Can someone help with my site.pp
[2010/06/29 06:17:23] <monzie> it's simple _ I just want to create a new user across my systems
[2010/06/29 06:17:34] <monzie> I read up http://docs.puppetlabs.com/guides/types/user.html but that does not seem to have too much help in it
[2010/06/29 06:17:56] <henk> monzie: there is also a language tutorial with lots of examples...
[2010/06/29 06:19:37] <zeroXten> lisa: how would that work when using the '::install','::config', '::service' module layout? something like 'sshd::config::pki'?
[2010/06/29 06:21:12] <lisa> zeroXten: beats me mate :) i'm just now moving things out of nodes.pp and site.pp and into classes
[2010/06/29 06:21:20] @ herdingcat joined channel #puppet
[2010/06/29 06:21:28] <zeroXten> :)
[2010/06/29 06:21:51] <henk> zeroXten: yes, that can work.
[2010/06/29 06:21:53] <lisa> zeroXten: but that makes sense, if you intend to split it up into what deals with configuration, installation and the service itself then you'd create another class in sshd::config
[2010/06/29 06:22:39] <lisa> personally i'd do something like sshd::base which handles installation and service manipulation and the default config (no passwords, ssh only, no root login w/o key) and then extend from there.
[2010/06/29 06:23:10] @ webb joined channel #puppet
[2010/06/29 06:24:03] <webb> wie kann man Elemente in einem Array gezielt ansprechen
[2010/06/29 06:24:59] <webb> is here anyone
[2010/06/29 06:26:04] <Volcane> is there anyone who understands german? :P
[2010/06/29 06:26:20] <henk> oh, didn't even notice it was german 'g'
[2010/06/29 06:26:24] <webb> yes here
[2010/06/29 06:26:29] * Volcane 's guessing its german
[2010/06/29 06:26:47] <AdrianBroher> it is german
[2010/06/29 06:26:48] <telmich> webb: why would you want to?
[2010/06/29 06:26:49] <henk> Volcane: it is, i am too, but i never notice what language i am reading...
[2010/06/29 06:27:17] * telmich had to look whether it's #ruby or something else first
[2010/06/29 06:27:29] <zeroXten> the only word i can't work out is gezielt
[2010/06/29 06:27:31] <henk> unless i don't understand it well of course. it means something like "how do i reference one element of an array directly?"
[2010/06/29 06:28:35] @ matti joined channel #puppet
[2010/06/29 06:29:24] <webb> i have an variable like 8.3.5-1 and i want split this into two arrays
[2010/06/29 06:29:31] @ Quit: joergherzinger: Remote host closed the connection
[2010/06/29 06:30:18] @ bjaspan joined channel #puppet
[2010/06/29 06:30:22] <webb> henk taht is, waht i want
[2010/06/29 06:30:38] <joschi> webb: http://docs.puppetlabs.com/references/latest/function.html#split
[2010/06/29 06:32:01] <webb> cann i call an elemt from a array like array[0]
[2010/06/29 06:34:10] <Volcane> not directly but you can do something like $foo = inline_template("<%= arr[1] %>")
[2010/06/29 06:39:53] @ pjsz joined channel #puppet
[2010/06/29 06:42:48] @ pheezy joined channel #puppet
[2010/06/29 06:52:53] @ jkklk joined channel #puppet
[2010/06/29 06:53:11] @ Quit: lkoranda: Quit: Ex-Chat
[2010/06/29 06:57:10] @ jkklk left channel #puppet ()
[2010/06/29 06:58:18] @ jamido joined channel #puppet
[2010/06/29 06:59:04] @ jdcasey joined channel #puppet
[2010/06/29 07:01:16] @ sebas891 joined channel #puppet
[2010/06/29 07:02:14] @ rmiller4pi8 joined channel #puppet
[2010/06/29 07:02:14] <bronto> having puppet build /etc/puppet/puppet.conf and /etc/puppet/manifests/site.pp via templates is a good or a bad idea, in your experience?
[2010/06/29 07:05:13] <bronto> ok, let's start with easier questions: what time is it? :-D
[2010/06/29 07:05:50] <fsweetser> depends on where you are, doesn't it? ;)
[2010/06/29 07:05:55] @ Quit: rmiller4pi8: Client Quit
[2010/06/29 07:06:13] <Volcane> bronto: puppet.conf fine, dont know why you would do that for site.pp
[2010/06/29 07:06:19] <bronto> fsweetser: right. So this one was simple. Now what about the difficult one? :-D
[2010/06/29 07:07:51] @ rmiller4pi8 joined channel #puppet
[2010/06/29 07:08:07] <bronto> Volcane: well, for the same reasons I'd like to have a template-based puppet.conf: it gets different settings depending on the role and location of the host, and all servers with the same (role,location) setting will have the same file contents
[2010/06/29 07:08:07] <jamido> @ Bronto, I´m creating my puppet.conf with a template, works fine. Be careful with the environments!
[2010/06/29 07:08:18] <bronto> jamido: not using environments here
[2010/06/29 07:08:29] <Volcane> bronto: site.pp lives on the master and isnt per node.
[2010/06/29 07:08:46] <Volcane> site.pp is global per environment
[2010/06/29 07:08:59] <bronto> Volcane: oh crap... what am I doing then? :-O
[2010/06/29 07:09:11] * bronto needs to read the basics again
[2010/06/29 07:09:32] <bronto> holy crap... how I could be so wrong? :(
[2010/06/29 07:09:44] <bronto> thanks Volcane
[2010/06/29 07:13:56] @ Quit: webb: Quit: Page closed
[2010/06/29 07:16:52] @ Quit: m1nish: Quit: Leaving
[2010/06/29 07:18:45] @ webb joined channel #puppet
[2010/06/29 07:19:30] <webb> can i add two variables togehter
[2010/06/29 07:19:42] <henk> sure, read the language tutorial?
[2010/06/29 07:20:02] <monzie> hello all
[2010/06/29 07:20:13] <monzie> I 've setup puppet and puppetmaster using apt get on ubuntu
[2010/06/29 07:20:39] <monzie> upon running sudo puppetd --waitforcert 60 --test
[2010/06/29 07:20:40] <monzie> i get
[2010/06/29 07:20:53] <monzie> http://pastie.org/1023367
[2010/06/29 07:21:00] <monzie> what am i doing wrong here?
[2010/06/29 07:21:12] @ Quit: pjsz: Quit: pjsz
[2010/06/29 07:23:18] <joschi> monzie: wrong pastie? I don't think that `puppetd [...]` will output host facts
[2010/06/29 07:24:09] <monzie> joschi: sorry - http://pastie.org/1023407
[2010/06/29 07:24:35] @ ecapriolo joined channel #puppet
[2010/06/29 07:24:59] <webb> I get the error Cannot append, variable pgsql_base is defined in this scope at when i compare two variables like $pgsql_base += $pgsql_base2
[2010/06/29 07:25:13] @ Quit: beata_: Quit: Lost terminal
[2010/06/29 07:25:55] <joschi> webb: and pgsql_base *is* defined in the current scope?
[2010/06/29 07:28:05] <monzie> weird. I installed puppet on a fresh machine using "gem install puppet" - it does not see to have the puppetmasterd command
[2010/06/29 07:29:28] <henk> webb: += is _not_ comparison?!
[2010/06/29 07:31:04] @ ajbourg joined channel #puppet
[2010/06/29 07:31:11] @ beata_ joined channel #puppet
[2010/06/29 07:32:11] <beata_> I am trying to use the puppet-concat module. I am importing it in my basenode, but when i try to use it in my sysctl module i get the following "err: Could not find resource type concat::fragment"
[2010/06/29 07:33:32] @ tonyskapunk joined channel #puppet
[2010/06/29 07:34:32] <ajbourg> I am having trouble getting CIDR IP addresses to work in /etc/puppet/fileserver.conf. I keep getting "Could not describe /plugins: can't convert nil into String". Ideas?
[2010/06/29 07:35:01] <pheezy> anyone use puppet on RHEL4 boxes with yum?
[2010/06/29 07:35:03] <ajbourg> the IP I have in fileserver.conf is allow 10.177.64.0/19
[2010/06/29 07:35:21] @ Quit: beata_: Client Quit
[2010/06/29 07:36:03] @ snikta joined channel #puppet
[2010/06/29 07:38:47] <pheezy> ahh interesting, if on a redhat 4 box you have yum installed, puppet decides the default provider should still be up2date if that package is installed
[2010/06/29 07:42:26] @ dandiep joined channel #puppet
[2010/06/29 07:42:47] <shenson> pheezy: because it is hard coded by os release instead of looking for yum
[2010/06/29 07:42:54] @ Quit: monzie: Quit: Bye Bye!
[2010/06/29 07:43:42] <pheezy> Yeah, makes sense.
[2010/06/29 07:45:19] @ Quit: M-: Quit: This computer has gone to sleep
[2010/06/29 07:46:55] @ Quit: lutter: Ping timeout: 260 seconds
[2010/06/29 07:47:06] <lisa> how well does a puppet client 0.24.x play with a 0.25.5 puppetmaster?
[2010/06/29 07:47:18] <tim|mac> that should work without problems
[2010/06/29 07:47:24] <shenson> lisa: not bad actually
[2010/06/29 07:47:32] <tim|mac> we do that in some places where we haven't had time to upgrade all clients yet
[2010/06/29 07:47:57] <lisa> okay
[2010/06/29 07:48:05] <shenson> but I've run into a few issues with 0.24.x configs on a 0.25 puppet master, which can be a problem if you are using puppet to manage the puppet master
[2010/06/29 07:48:22] @ Quit: rmiller4pi8: Ping timeout: 264 seconds
[2010/06/29 07:55:01] @ mapu joined channel #puppet
[2010/06/29 07:56:27] @ rmiller4pi8 joined channel #puppet
[2010/06/29 07:58:15] @ neek joined channel #puppet
[2010/06/29 07:58:31] <gepetto> ::redmine:: Wiki edit: Whos_Using_Puppet (#16) @ http://projects.reductivelabs.com/projects/1/wiki/Whos_Using_Puppet?version=16 (by Łukasz Jagiełło)
[2010/06/29 07:58:31] <gepetto> ::redmine:: Wiki edit: Whos_Using_Puppet (#17) @ http://projects.reductivelabs.com/projects/1/wiki/Whos_Using_Puppet?version=17 (by Łukasz Jagiełło)
[2010/06/29 08:05:57] @ Quit: snikta: Remote host closed the connection
[2010/06/29 08:07:49] @ Quit: rmiller4pi8: Ping timeout: 264 seconds
[2010/06/29 08:12:21] <Phibs> oy
[2010/06/29 08:13:20] @ thekad-afk is now known as thekad
[2010/06/29 08:13:33] <docelic__> zo
[2010/06/29 08:13:36] <docelic__> yo rather
[2010/06/29 08:15:12] @ kaptk2 joined channel #puppet
[2010/06/29 08:15:48] @ lkoranda joined channel #puppet
[2010/06/29 08:23:00] @ yure joined channel #puppet
[2010/06/29 08:27:04] @ Quit: tonyskapunk: Ping timeout: 276 seconds
[2010/06/29 08:27:08] @ tonyskapunk joined channel #puppet
[2010/06/29 08:33:36] @ Quit: floess_chris: Ping timeout: 252 seconds
[2010/06/29 08:35:13] @ Quit: alban2: Quit: Leaving.
[2010/06/29 08:35:47] @ alcy joined channel #puppet
[2010/06/29 08:35:48] @ Quit: bug: Quit: bug
[2010/06/29 08:36:26] <jbartus> dehaan! wtf
[2010/06/29 08:37:04] @ Quit: jason^: Quit: leaving
[2010/06/29 08:37:20] @ jason^ joined channel #puppet
[2010/06/29 08:37:20] @ Quit: jason^: Changing host
[2010/06/29 08:37:20] @ jason^ joined channel #puppet
[2010/06/29 08:37:36] * shenson just imagined rocky screaming adrian!!!!
[2010/06/29 08:37:48] <jbartus> p much
[2010/06/29 08:40:04] @ Quit: jason^: Client Quit
[2010/06/29 08:40:08] @ rmiller4pi8 joined channel #puppet
[2010/06/29 08:40:23] @ jason^ joined channel #puppet
[2010/06/29 08:40:23] @ Quit: jason^: Changing host
[2010/06/29 08:40:23] @ jason^ joined channel #puppet
[2010/06/29 08:40:44] @ Quit: tonyskapunk: Ping timeout: 240 seconds
[2010/06/29 08:41:21] @ Quit: jason^: Client Quit
[2010/06/29 08:43:13] @ jason^ joined channel #puppet
[2010/06/29 08:43:13] @ Quit: jason^: Changing host
[2010/06/29 08:43:13] @ jason^ joined channel #puppet
[2010/06/29 08:47:07] @ Quit: yannL: Remote host closed the connection
[2010/06/29 08:47:38] <manlymatt83> Can I have multiple require => statements/
[2010/06/29 08:47:46] <manlymatt83> require => Package[this], require => Package[that]
[2010/06/29 08:47:51] <Volcane> require => [.., ..., ...]
[2010/06/29 08:48:27] @ tep joined channel #puppet
[2010/06/29 08:48:27] @ Quit: tep: Changing host
[2010/06/29 08:48:27] @ tep joined channel #puppet
[2010/06/29 08:48:55] @ mgk joined channel #puppet
[2010/06/29 08:49:37] <mgk> hello, does anyone know where i may find some more advanced examples of the input puppet wants via yaml when using external nodes?
[2010/06/29 08:49:57] @ Quit: alcy: Quit: Page closed
[2010/06/29 08:50:07] <Volcane> mgk: http://docs.puppetlabs.com/guides/external_nodes.html
[2010/06/29 08:51:42] <mgk> thanks, i have seen that, was looking for something a bit more involved. im not sure how to get the primenumber variable into the yaml equivalent to http://pastie.org/1023556
[2010/06/29 08:52:14] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/06/29 08:52:56] <Volcane> mgk: you cant create resources in nodes with external nodes
[2010/06/29 08:53:16] <mgk> ah, guess thats the problem then :)
[2010/06/29 08:53:43] <manlymatt83> Volcane: require => [Package[this], Package[that]]
[2010/06/29 08:53:43] <manlymatt83> ?
[2010/06/29 08:53:48] <Volcane> yes
[2010/06/29 08:54:11] <mgk> thx anyhow
[2010/06/29 08:55:19] <manlymatt83> ok thanks.
[2010/06/29 08:55:27] <manlymatt83> If I have a multi package statement, is there a way to tag that statement or no?
[2010/06/29 08:55:38] <manlymatt83> Package { [ blah, hoarf, ribbit ]: ensure => installed }
[2010/06/29 08:55:44] <manlymatt83> require all those packages
[2010/06/29 08:56:40] @ jrichardson joined channel #puppet
[2010/06/29 08:57:08] @ Quit: ecolitan: Remote host closed the connection
[2010/06/29 08:57:43] <Volcane> $pkgs = [....]
[2010/06/29 08:57:50] <Volcane> require => Package[$pkgs]
[2010/06/29 08:57:54] <Volcane> someone said that works, not tried
[2010/06/29 08:58:12] <Volcane> i split things into classes
[2010/06/29 08:58:20] <Volcane> and require => Class["whatever::install"]
[2010/06/29 08:58:30] <Volcane> so that when i add more packages, i dont need to edit lots of other places
[2010/06/29 08:59:58] @ Quit: herdingcat: Read error: Connection reset by peer
[2010/06/29 09:00:24] @ Quit: themroc: Read error: Connection reset by peer
[2010/06/29 09:03:20] <manlymatt83> makes sense
[2010/06/29 09:03:50] @ M- joined channel #puppet
[2010/06/29 09:04:43] <manlymatt83> Volcane: in order to make that work, all I need to do is create something like install.pp inside a module, right?
[2010/06/29 09:04:56] @ Quit: M-: Client Quit
[2010/06/29 09:04:57] <manlymatt83> the nI can do require => Class["this_module::install"]
[2010/06/29 09:05:52] @ Quit: WALoeIII: Quit: WALoeIII
[2010/06/29 09:06:10] <Volcane> manlymatt83: yes, you still need to include it too like any class
[2010/06/29 09:09:25] <manlymatt83> Volcane: I'm using external nodes, so I'm not importing anything. Puppet is just figuring it out fine (my site.pp is empty). If I include it as a puppetClass in my external nodes, it doesn't need to be imported right?
[2010/06/29 09:09:44] <Volcane> if you use modules correctly you never need to import anything
[2010/06/29 09:09:50] <manlymatt83> nice
[2010/06/29 09:10:08] @ lak joined channel #puppet
[2010/06/29 09:10:53] @ Quit: yure: Ping timeout: 240 seconds
[2010/06/29 09:12:02] @ Quit: shug: Quit: Leaving
[2010/06/29 09:14:26] <jrichardson> .join #func
[2010/06/29 09:14:29] <jrichardson> sry
[2010/06/29 09:14:42] <jrichardson> at least it wasn't a passwd
[2010/06/29 09:14:44] @ tonyskapunk joined channel #puppet
[2010/06/29 09:14:48] <zirpu> funky
[2010/06/29 09:21:47] @ thekad is now known as thekad-afk
[2010/06/29 09:21:48] @ Quit: skeeziks: Remote host closed the connection
[2010/06/29 09:23:26] @ toi joined channel #puppet
[2010/06/29 09:24:16] @ yure joined channel #puppet
[2010/06/29 09:25:44] @ skeeziks joined channel #puppet
[2010/06/29 09:29:51] @ ktdreyer joined channel #puppet
[2010/06/29 09:30:46] @ Quit: tonyskapunk: Ping timeout: 276 seconds
[2010/06/29 09:31:18] @ tonyskapunk joined channel #puppet
[2010/06/29 09:35:53] @ Quit: skeeziks: Quit: ZNC - http://znc.sourceforge.net
[2010/06/29 09:36:01] @ Quit: rmiller4pi8: Ping timeout: 245 seconds
[2010/06/29 09:36:17] @ Quit: wilco: Quit: Ex-Chat
[2010/06/29 09:37:24] @ Quit: iamchrisf: Quit: iamchrisf
[2010/06/29 09:41:52] @ Quit: geekatcmu: Quit: Leaving.
[2010/06/29 09:42:19] @ Hypnoz joined channel #puppet
[2010/06/29 09:42:23] @ geekatcmu joined channel #puppet
[2010/06/29 09:43:37] @ WALoeIII joined channel #puppet
[2010/06/29 09:43:38] @ skeeziks joined channel #puppet
[2010/06/29 09:45:39] @ wilco joined channel #puppet
[2010/06/29 09:45:51] @ bug joined channel #puppet
[2010/06/29 09:48:19] @ Quit: bjaspan: Remote host closed the connection
[2010/06/29 09:48:23] @ bjaspan joined channel #puppet
[2010/06/29 09:50:58] @ rlpowell left channel #puppet ()
[2010/06/29 09:51:47] @ gniks joined channel #puppet
[2010/06/29 09:51:52] @ robinbowes_nb joined channel #puppet
[2010/06/29 09:53:59] @ lutter joined channel #puppet
[2010/06/29 09:56:40] @ Quit: MattyM: Remote host closed the connection
[2010/06/29 10:00:43] @ rmiller4pi8 joined channel #puppet
[2010/06/29 10:01:02] @ Quit: robinbowes_nb: Quit: Leaving
[2010/06/29 10:01:05] @ Quit: itguru: Ping timeout: 260 seconds
[2010/06/29 10:04:57] <manlymatt83> In puppet, if I do Require => Class[blah::hoarf], do I also need to list that as a puppetClass in external nodes?
[2010/06/29 10:05:19] <zipkid> manlymatt83: no (iirc)
[2010/06/29 10:05:42] <Volcane> it needs to be included somehow
[2010/06/29 10:05:53] <Volcane> either in another class or in your external nodes
[2010/06/29 10:06:26] @ Quit: rmiller4pi8: Ping timeout: 245 seconds
[2010/06/29 10:09:58] @ Quit: tonyskapunk: Ping timeout: 264 seconds
[2010/06/29 10:10:52] @ Quit: mqr: Quit: mqr
[2010/06/29 10:14:08] @ jaredrhine joined channel #puppet
[2010/06/29 10:14:10] @ will joined channel #puppet
[2010/06/29 10:14:27] <will> hi
[2010/06/29 10:14:45] <will> has anyone had any problems fileserving with 0.25.5?
[2010/06/29 10:15:17] <will> I get a "Could not run: Invalid pattern 127.0.0.1"
[2010/06/29 10:15:40] <will> works fine with 0.25.4
[2010/06/29 10:15:44] <lak> will: are you using auth.conf? and if so, you sure it's a valid file
[2010/06/29 10:15:53] <manlymatt83> ok, thanks
[2010/06/29 10:16:07] <will> @lak I am not no
[2010/06/29 10:16:14] <lak> fileserver.conf?
[2010/06/29 10:16:19] <will> yeah
[2010/06/29 10:16:29] @ Quit: jdcasey: Remote host closed the connection
[2010/06/29 10:17:00] @ jdcasey joined channel #puppet
[2010/06/29 10:17:59] @ Quit: will: Remote host closed the connection
[2010/06/29 10:18:31] @ Quit: jaredrhine: Ping timeout: 245 seconds
[2010/06/29 10:19:33] @ will joined channel #puppet
[2010/06/29 10:19:54] <will> apologies got disconnected
[2010/06/29 10:20:56] <dan__t> Ok, today is the puppet challenge day... I want to learn something new.
[2010/06/29 10:21:21] <will> I am going to try 0.25.4 and see if that works with this config
[2010/06/29 10:23:09] @ Quit: tecto: Read error: No route to host
[2010/06/29 10:25:13] @ Quit: dandiep: Ping timeout: 276 seconds
[2010/06/29 10:31:27] @ filler joined channel #puppet
[2010/06/29 10:33:27] @ themurph_ joined channel #puppet
[2010/06/29 10:34:09] @ jaredrhine joined channel #puppet
[2010/06/29 10:36:41] <lyric> when is the pdx puppet meeting? second monday of the month?
[2010/06/29 10:37:43] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/29 10:37:43] @ Bass10 joined channel #puppet
[2010/06/29 10:39:13] @ Quit: Bass10: Max SendQ exceeded
[2010/06/29 10:39:52] @ Bass10 joined channel #puppet
[2010/06/29 10:40:44] @ MattyM joined channel #puppet
[2010/06/29 10:41:35] <odyi> I really need to post that. It is about 2 weeks out isn't it.
[2010/06/29 10:41:41] <odyi> lyric: it is second tuesday
[2010/06/29 10:41:55] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/29 10:42:02] <odyi> one week after the pdx ruby meeting and sadly the same day as the pythong meeting.
[2010/06/29 10:42:30] <wilco> Is the Pythong meeting held at Mary's?
[2010/06/29 10:43:40] <odyi> wilco: http://calagator.org/events/1250458797
[2010/06/29 10:43:45] <odyi> calagator++
[2010/06/29 10:44:31] <Volcane> thats quite a nice service
[2010/06/29 10:44:40] <wilco> must be nice having free evenings and not going to bed at 8:30
[2010/06/29 10:44:45] @ adrian_broher joined channel #puppet
[2010/06/29 10:44:58] * odyi sure won't very soon
[2010/06/29 10:45:10] <wilco> are you expecting too?
[2010/06/29 10:45:39] <odyi> No. New job. Expecting is another year away.
[2010/06/29 10:45:55] <wilco> Ah, what where?
[2010/06/29 10:46:06] <odyi> Here
[2010/06/29 10:46:26] @ Quit: joe-mac1: Ping timeout: 245 seconds
[2010/06/29 10:46:27] <wilco> "Here" being relative to PSU or #puppet?
[2010/06/29 10:46:34] <odyi> #puppet
[2010/06/29 10:46:45] <wilco> Nice
[2010/06/29 10:47:32] @ Quit: toi: Ping timeout: 260 seconds
[2010/06/29 10:48:52] @ rmiller4pi8 joined channel #puppet
[2010/06/29 10:49:52] @ Quit: gebi: Ping timeout: 260 seconds
[2010/06/29 10:50:08] @ Quit: TREllis: Quit: leaving
[2010/06/29 10:51:13] @ plathrop joined channel #puppet
[2010/06/29 10:52:06] <lyric> odyi: thanks
[2010/06/29 10:52:16] @ dandiep joined channel #puppet
[2010/06/29 10:58:11] @ thekad-afk is now known as thekad
[2010/06/29 10:59:19] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/29 10:59:40] @ joe-mac1 joined channel #puppet
[2010/06/29 11:01:57] @ rmiller4pi8 joined channel #puppet
[2010/06/29 11:02:45] @ Wandrewvious joined channel #puppet
[2010/06/29 11:06:28] <odyi> So I suppose that is the 13th of July.
[2010/06/29 11:07:13] @ Quit: WALoeIII: Ping timeout: 264 seconds
[2010/06/29 11:07:13] @ Wandrewvious is now known as WALoeIII
[2010/06/29 11:07:20] <odyi> Volcane: Calagator is pretty cool. The rails app is an open sourced project here in portland and has spawned other calendar event sites in other towns in Oregon and the US.
[2010/06/29 11:07:39] <Volcane> nice, will check out the app
[2010/06/29 11:07:44] <Volcane> london is in dire need for soething proper
[2010/06/29 11:08:44] <Volcane> ppl here just use meetup.com or things like that
[2010/06/29 11:13:45] @ _jsman joined channel #puppet
[2010/06/29 11:14:15] @ Quit: jsman: Ping timeout: 240 seconds
[2010/06/29 11:14:16] @ _jsman is now known as jsman
[2010/06/29 11:14:18] @ Quit: jsman: Changing host
[2010/06/29 11:14:18] @ jsman joined channel #puppet
[2010/06/29 11:14:18] <odyi> I know very little about the app it's self but one of the primary contributors to calagator was also behind forge.puppetlabs.com
[2010/06/29 11:16:37] @ alban2 joined channel #puppet
[2010/06/29 11:17:43] @ Quit: themurph_: Quit: themurph_
[2010/06/29 11:18:41] @ Quit: lutter: Quit: Leaving.
[2010/06/29 11:19:11] @ Quit: jrichardson: Quit: #mutt
[2010/06/29 11:19:12] @ themurph_ joined channel #puppet
[2010/06/29 11:22:47] @ beata_ joined channel #puppet
[2010/06/29 11:22:50] <beata_> I am trying to use the puppet-concat module. I am importing it in my basenode, but when i
[2010/06/29 11:22:54] <beata_> try to use it in my sysctl module i get the following "err: Could not find resource type
[2010/06/29 11:22:57] <beata_> concat::fragment"
[2010/06/29 11:23:01] @ tecto joined channel #puppet
[2010/06/29 11:23:12] <beata_> hm that didnt copy nice at all
[2010/06/29 11:30:12] @ rmayr joined channel #puppet
[2010/06/29 11:32:11] @ blkperl_ joined channel #puppet
[2010/06/29 11:36:13] @ Quit: blkperl: Ping timeout: 248 seconds
[2010/06/29 11:38:37] @ Quit: themurph_: Quit: themurph_
[2010/06/29 11:40:17] @ themurph_ joined channel #puppet
[2010/06/29 11:41:10] @ Quit: themurph_: Client Quit
[2010/06/29 11:43:24] <pquerna> if I have existing user, with a group => ['foo', 'bar'], how would I remove them from these extra groups?
[2010/06/29 11:45:46] <pquerna> http://projects.reductivelabs.com/issues/2667
[2010/06/29 11:45:48] <pquerna> sigh
[2010/06/29 11:46:16] @ nullpointers joined channel #puppet
[2010/06/29 11:48:49] @ Quit: WALoeIII: Remote host closed the connection
[2010/06/29 11:48:55] @ WALoeIII joined channel #puppet
[2010/06/29 11:49:16] @ tonyskapunk joined channel #puppet
[2010/06/29 11:51:47] @ sijis_afk is now known as sijis
[2010/06/29 11:56:53] @ Quit: jason^: Quit: leaving
[2010/06/29 12:00:10] @ Quit: yakub: Quit: leaving
[2010/06/29 12:02:06] @ jason^ joined channel #puppet
[2010/06/29 12:02:06] @ Quit: jason^: Changing host
[2010/06/29 12:02:06] @ jason^ joined channel #puppet
[2010/06/29 12:07:45] @ HouseAway is now known as AimanA
[2010/06/29 12:08:31] @ Quit: pheezy: Ping timeout: 245 seconds
[2010/06/29 12:11:32] @ lutter joined channel #puppet
[2010/06/29 12:14:05] <pquerna> on a related topic, I'm having trouble removing a user -- i have all my users defined as virtual, and then used a realize in a few sub-classes
[2010/06/29 12:14:10] @ pting joined channel #puppet
[2010/06/29 12:14:34] <pquerna> but when I add a user foo ensure=> absent, it errors out cus its a duplicate def of the user foo
[2010/06/29 12:15:32] @ mattock joined channel #puppet
[2010/06/29 12:15:45] @ giskard joined channel #puppet
[2010/06/29 12:18:46] <Volcane> so where is the latest place to find 0.25.5 debs?
[2010/06/29 12:22:47] <matti> :)
[2010/06/29 12:24:32] <Berge> Volcane: Run rmadison puppet
[2010/06/29 12:25:23] * Volcane wont be running anything on debian machines, my pain for time for suffering under the hand of debian is over for tody, now just trying to help someone :)
[2010/06/29 12:25:36] <Volcane> s/pain for//
[2010/06/29 12:25:38] <Berge> 0.25.5-1 is in sid.
[2010/06/29 12:28:11] @ Quit: giskard: Remote host closed the connection
[2010/06/29 12:29:44] @ Quit: bug: Quit: bug
[2010/06/29 12:31:04] <gniks> where is the mailing list info?
[2010/06/29 12:31:11] <gniks> i'd like to join :p
[2010/06/29 12:31:23] <Volcane> http://groups.google.com/group/puppet-users
[2010/06/29 12:32:16] <gniks> thanks
[2010/06/29 12:34:28] @ p3rror joined channel #puppet
[2010/06/29 12:40:39] @ macfly joined channel #puppet
[2010/06/29 12:43:44] @ thekad is now known as thekad-afk
[2010/06/29 12:46:17] @ _monachus joined channel #puppet
[2010/06/29 12:48:13] @ Quit: monachus: Ping timeout: 276 seconds
[2010/06/29 12:48:22] @ _monachus is now known as monachus
[2010/06/29 12:49:37] @ mqr joined channel #puppet
[2010/06/29 13:00:03] @ ckauhaus joined channel #puppet
[2010/06/29 13:00:15] @ Quit: blahdeblah: Ping timeout: 240 seconds
[2010/06/29 13:04:49] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/29 13:10:52] @ Quit: ninjazjb: Quit: Lost terminal
[2010/06/29 13:13:06] @ ckauhaus joined channel #puppet
[2010/06/29 13:13:49] @ Quit: MattyM: Ping timeout: 264 seconds
[2010/06/29 13:18:02] <dan__t> http://projects.puppetlabs.com/projects/puppet/wiki/Raid_Fact_Patterns
[2010/06/29 13:18:04] <dan__t> Well that looks cool.
[2010/06/29 13:19:07] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/29 13:19:12] @ Quit: rgsteele: Remote host closed the connection
[2010/06/29 13:20:09] @ Quit: beata_: Quit: Lost terminal
[2010/06/29 13:20:19] <dan__t> Trying to think of a clever way of telling if this machine has a megaraid or lsi controller
[2010/06/29 13:21:11] <Volcane> lspci probably the best approach like in those facts
[2010/06/29 13:23:47] @ bug joined channel #puppet
[2010/06/29 13:24:34] @ _monachus joined channel #puppet
[2010/06/29 13:26:58] @ Quit: monachus: Ping timeout: 265 seconds
[2010/06/29 13:26:59] @ _monachus is now known as monachus
[2010/06/29 13:29:02] <dan__t> yes, it is.
[2010/06/29 13:29:32] <Kiloman> no love for sysfs eh
[2010/06/29 13:29:56] <dan__t> i was thinking /proc but hey
[2010/06/29 13:30:04] <manlymatt83> Volcane: so if I have modules/python/init.pp, and I want to install a bunch of packages before I even do anything inside init.pp, I can create modules/python/base.pp, and do class python::base { }, install the packages inside there, and then just do Require => Class["Python::base"] inside the class python {} ?
[2010/06/29 13:30:43] <dan__t> er yes sysfs
[2010/06/29 13:31:58] @ fbe joined channel #puppet
[2010/06/29 13:32:46] @ MattM joined channel #puppet
[2010/06/29 13:33:12] @ Quit: mfournier: Ping timeout: 260 seconds
[2010/06/29 13:34:12] <MattM> question: how you specify a file type is actually a directory, e.g. I wish to ensure a directory exists on all managed systems....if I just check for existence, puppet will create empty file and not dir?
[2010/06/29 13:34:30] <mstyne> ensure => directory
[2010/06/29 13:34:32] <mstyne> iirc
[2010/06/29 13:35:11] <mstyne> http://docs.puppetlabs.com/guides/types/file.html
[2010/06/29 13:35:15] <mstyne> all in the fine manual
[2010/06/29 13:35:28] <MattM> mstyne: thank you, must have missed it, did read it twice
[2010/06/29 13:37:01] @ thekad-afk is now known as thekad
[2010/06/29 13:37:20] @ jrichardson joined channel #puppet
[2010/06/29 13:37:45] @ jrichardson is now known as weaselkeeper
[2010/06/29 13:39:14] <Volcane> manlymatt83: on every resource yes
[2010/06/29 13:43:13] <manlymatt83> oy
[2010/06/29 13:43:16] <manlymatt83> there's no way around that eh?
[2010/06/29 13:43:28] @ Quit: mattock: Ping timeout: 260 seconds
[2010/06/29 13:44:52] <Volcane> there's a require () that works like include but it can easily cause loops
[2010/06/29 13:45:58] <manlymatt83> Well, that's what I was going ot use... Require => Class["Python::base"]
[2010/06/29 13:46:05] <manlymatt83> or is tht different? You mean require as in require a file.
[2010/06/29 13:46:30] @ Wandrewvious joined channel #puppet
[2010/06/29 13:49:23] <manlymatt83> alright, so:
[2010/06/29 13:49:24] <manlymatt83> require => Class["python::base"]
[2010/06/29 13:49:32] <manlymatt83> will look for modules/python/base.pp, class base {}
[2010/06/29 13:49:48] @ sebas891 left channel #puppet ()
[2010/06/29 13:49:56] @ stefan__ joined channel #puppet
[2010/06/29 13:50:37] @ Quit: WALoeIII: Ping timeout: 276 seconds
[2010/06/29 13:50:37] @ Wandrewvious is now known as WALoeIII
[2010/06/29 13:55:54] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2010/06/29 13:55:55] @ Quit: WALoeIII: Quit: WALoeIII
[2010/06/29 13:56:11] @ WALoeIII joined channel #puppet
[2010/06/29 13:57:11] @ Quit: reyjrar: Quit: Leaving.
[2010/06/29 13:59:43] <manlymatt83> I just wish I could get my basenode to always run first before anything else
[2010/06/29 13:59:49] <manlymatt83> I have a class basenode {}
[2010/06/29 14:00:05] @ jsimpson joined channel #puppet
[2010/06/29 14:00:13] <manlymatt83> in external nodes, it's setup to be a parentnode, but stuff still runs intermingled
[2010/06/29 14:03:37] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/06/29 14:04:04] <Volcane> manlymatt83: the only way to influence order is with require/before/subscribe/notify
[2010/06/29 14:04:23] <geekatcmu> Hey, in 26, will I be able to use inline_template() as a first-class entity?
[2010/06/29 14:04:50] <Volcane> whats a first class entity?
[2010/06/29 14:05:29] <geekatcmu> Put another way, I want to do something like this: http://puppet.pastebin.org/367136
[2010/06/29 14:06:40] <geekatcmu> Basically, it's back to that whole "declarative languages make you re-declare things multiple times".
[2010/06/29 14:07:04] @ Quit: nexx: Quit: quit
[2010/06/29 14:07:21] <geekatcmu> If I declare DNS zones, I need zone files for them. I *could* do this with an exec, obviously, but that really seems like The Wrong Thing(tm).
[2010/06/29 14:07:22] <Volcane> pretty sure you can do what you want already with a define
[2010/06/29 14:07:32] @ Quit: ajbourg: Quit: ajbourg
[2010/06/29 14:07:49] <Volcane> assuming my_dns_zones is a array set somewhere?
[2010/06/29 14:07:49] <geekatcmu> Really? Because I just tried and got a parse error (I'm running 25.5)
[2010/06/29 14:07:53] <geekatcmu> Yep.
[2010/06/29 14:08:07] <Volcane> well yours wont work
[2010/06/29 14:08:14] <Volcane> but you can do it with a define
[2010/06/29 14:08:27] <manlymatt83> Volcane: I asume before is the opposite of require right?
[2010/06/29 14:08:32] @ Quit: Bass10: Quit: Leaving
[2010/06/29 14:08:33] <Kiloman> wow putting your puppet class in a template
[2010/06/29 14:08:34] <Kiloman> that is evil
[2010/06/29 14:08:53] <manlymatt83> just as subscribe complements notify
[2010/06/29 14:09:33] <skeeziks> geekatcmu: Thanks again for the pastebins yesterday - I had considered implementing exactly what your CGI script does before I even saw what you'd done :)
[2010/06/29 14:09:58] <geekatcmu> I could easily get around a lot of Puppet limitations if I could ... pre-process my puppet config.
[2010/06/29 14:10:11] @ ckauhaus joined channel #puppet
[2010/06/29 14:10:15] <geekatcmu> And don't think I haven't considered doing my Puppet config is m4.
[2010/06/29 14:10:30] <geekatcmu> But down that road lies madness. And sendmail.
[2010/06/29 14:10:45] <geekatcmu> skeeziks: I'm glad you find it useful.
[2010/06/29 14:10:48] <Volcane> geekatcmu: well you're calling it a limitation, I'm calling it you didnt read about the feature i told you to read.
[2010/06/29 14:10:58] @ Quit: docelic__: Ping timeout: 260 seconds
[2010/06/29 14:11:36] <jsimpson> geekatcmu: Puppet can be plenty DRY.
[2010/06/29 14:12:43] @ Quit: wakko666: Quit: Ex-Chat
[2010/06/29 14:13:46] <Volcane> geekatcmu: i just do : bind::zone{"my.com": type => "master"} and it sets up a block of logic in my named.conf, it fetches from puppet the zone file and schedules a named reload
[2010/06/29 14:14:10] <Volcane> geekatcmu: and if i have many domains, i do bind::zone{["one.com", "two.com", .....]: type => master} and i get them all in one go
[2010/06/29 14:14:43] <geekatcmu> Can I see your bind::zone()? My attempt was apparently missing some secret sauce.
[2010/06/29 14:14:52] <Volcane> have you read about defines yet?
[2010/06/29 14:15:00] <geekatcmu> Yes.
[2010/06/29 14:15:05] <geekatcmu> And I use them in a bunch of places.
[2010/06/29 14:15:18] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/29 14:15:23] <geekatcmu> But never successfully with arrays.
[2010/06/29 14:15:33] <Volcane> there's no difference
[2010/06/29 14:15:42] <Volcane> bind::zone{["one.com", "two.com", .....]: type => master}
[2010/06/29 14:15:44] <Volcane> is the same as
[2010/06/29 14:15:55] @ wakko666 joined channel #puppet
[2010/06/29 14:16:05] <Volcane> "one.com", "two.com", .....].each {|domain| bind::zone{$domain: type => master}}
[2010/06/29 14:16:10] <Volcane> if youw ant to see it in ruby syntax
[2010/06/29 14:16:18] <geekatcmu> OK, so within the define you're using $name (the define's name)
[2010/06/29 14:16:19] <Volcane> obviously not legal in a manifests
[2010/06/29 14:16:23] <Volcane> but thats how puppet loops
[2010/06/29 14:16:27] <Volcane> yes
[2010/06/29 14:16:33] <geekatcmu> Hrm.
[2010/06/29 14:16:38] <geekatcmu> Let me see if I can make this work for me.
[2010/06/29 14:20:01] <geekatcmu> Apparently, in all my previous attempts I was passing the array in as a parameter.
[2010/06/29 14:20:07] <geekatcmu> That seems to work just fine.
[2010/06/29 14:20:15] <manlymatt83> Thanks for your help Volcane :)
[2010/06/29 14:20:29] <geekatcmu> Now if I can just get my template to DTRT. THanks.
[2010/06/29 14:20:56] <Volcane> manlymatt83: np :)
[2010/06/29 14:21:02] @ Quit: WALoeIII: Remote host closed the connection
[2010/06/29 14:21:08] @ WALoeIII joined channel #puppet
[2010/06/29 14:24:56] @ docelic__ joined channel #puppet
[2010/06/29 14:25:43] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/29 14:29:28] @ Quit: shenson: Quit: WeeChat 0.3.2
[2010/06/29 14:30:26] @ Quit: bug: Quit: bug
[2010/06/29 14:31:39] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/29 14:33:31] @ Quit: mapu: Ping timeout: 245 seconds
[2010/06/29 14:34:20] @ fredden joined channel #puppet
[2010/06/29 14:37:29] @ ciupicri joined channel #puppet
[2010/06/29 14:38:10] <ciupicri> the link from "# To submit feedback, use GetSatisfaction." at http://projects.puppetlabs.com/ does not work ("Oops, we couldn't find the page you requested!")
[2010/06/29 14:41:28] @ Quit: rmayr: Ping timeout: 276 seconds
[2010/06/29 14:49:20] @ bug joined channel #puppet
[2010/06/29 14:49:21] <geekatcmu> Yay! When add a new zone to $my_dns_zones, all the right things happen!
[2010/06/29 14:49:31] <geekatcmu> Thanks again, Volcane.
[2010/06/29 14:54:21] <robinbowes> !seen ohadlevy
[2010/06/29 14:54:21] <gepetto> robinbowes: ohadlevy was last seen 11 hours, 39 minutes and 49 seconds ago, quitting IRC (Quit: ZNC - http://znc.sourceforge.net)
[2010/06/29 15:00:23] <robinbowes> Any foreman users around?
[2010/06/29 15:00:32] <robinbowes> Am getting an error trying to do a rake upgrade
[2010/06/29 15:00:37] @ giskard joined channel #puppet
[2010/06/29 15:00:42] <robinbowes> no such file to load -- RRDTool
[2010/06/29 15:01:22] <robinbowes> Ah
[2010/06/29 15:01:59] <robinbowes> Got it
[2010/06/29 15:02:06] <robinbowes> Will raise a bug
[2010/06/29 15:03:58] <geekatcmu> I use Foreman, but only as a reporting interface.
[2010/06/29 15:05:30] <robinbowes> http://theforeman.org/issues/329
[2010/06/29 15:06:23] <cparedes> quick question: we can treat /proc stuff as files, right? so it'd be safe to provide a file {} definition and make sure that a file in the proc filesystem is set to a certain value?
[2010/06/29 15:06:47] <cparedes> (i need to enable ipv4_forwarding through the proc filesystem for openvpn to work properly)
[2010/06/29 15:07:06] <Volcane> robinbowes: 'require "RRDTool"' in the rails startup rb files
[2010/06/29 15:07:15] <cparedes> unless there's a better way to tweak the system state through puppet
[2010/06/29 15:07:18] <agaffney> cparedes: you'd be better off using sysctl
[2010/06/29 15:07:23] <Kiloman> cparedes: would /etc/sysctl.conf perhaps be better?
[2010/06/29 15:07:25] <robinbowes> Yeah, except it's 'require "RRDtool"'
[2010/06/29 15:07:38] <robinbowes> small t
[2010/06/29 15:07:44] <cparedes> a ha. it would be, i think.
[2010/06/29 15:07:53] <robinbowes> It *is*
[2010/06/29 15:07:53] <cparedes> thanks guys :)
[2010/06/29 15:07:54] <Volcane> robinbowes: I was just going on your error message above :)
[2010/06/29 15:08:01] <agaffney> http://dpaste.com/212986/
[2010/06/29 15:08:02] <robinbowes> :)
[2010/06/29 15:08:08] <agaffney> cparedes: ^^ I use that to set a different value
[2010/06/29 15:08:24] <cparedes> agaffney: do you provide a sysctl.conf template?
[2010/06/29 15:08:44] <robinbowes> agaffney: there are several sysctl modules that are nicer than that
[2010/06/29 15:08:51] <agaffney> oh, I'm sure there are
[2010/06/29 15:08:58] <agaffney> I just came up with that on a whim for a single setting :)
[2010/06/29 15:09:11] <cparedes> ahh, sorry, just noticed the paste thing was for me. :P
[2010/06/29 15:09:16] <cparedes> cool, thanks. :)
[2010/06/29 15:09:22] @ Quit: joe-mac1: Ping timeout: 264 seconds
[2010/06/29 15:10:18] <geekatcmu> I don't have RRDtool because I'm on Solaris, and Tobias and Sun apparently don't work well together.
[2010/06/29 15:10:26] <geekatcmu> Well, at least for recent versions of RRDtool.
[2010/06/29 15:10:30] <robinbowes> http://pastie.org/1024179
[2010/06/29 15:10:36] <robinbowes> agaffney: http://pastie.org/1024179
[2010/06/29 15:10:47] <robinbowes> I set several values, as you can see :)
[2010/06/29 15:11:35] <Kiloman> robinbowes: what's your provider look like?
[2010/06/29 15:12:14] @ Quit: flakrat: Quit: Leaving
[2010/06/29 15:12:49] @ Quit: stefan__: Ping timeout: 265 seconds
[2010/06/29 15:13:25] <robinbowes> I'm using a sysctl plugin
[2010/06/29 15:13:42] <robinbowes> I think I pulled it from puppet.org originally
[2010/06/29 15:14:27] <agaffney> robinbowes: is that using augeas (or whatever it's called)?
[2010/06/29 15:14:32] <robinbowes> No
[2010/06/29 15:14:37] <robinbowes> Don't think so
[2010/06/29 15:14:42] <robinbowes> Let me look
[2010/06/29 15:14:57] <cparedes> robinbowes: would this be it? http://github.com/puzzle/puppet-sysctl
[2010/06/29 15:14:59] @ Quit: pyco: Quit: Verlassend
[2010/06/29 15:15:25] <robinbowes> No
[2010/06/29 15:16:12] <robinbowes> Might be this: http://ifireball.wordpress.com/docs/installing-the-sysctl-puppet-extension-type/
[2010/06/29 15:17:39] <cparedes> arg. wget fails, it tries to go to spook.wpi.edu for the file.
[2010/06/29 15:18:01] <robinbowes> Heh
[2010/06/29 15:18:13] <robinbowes> Let me bundle mine
[2010/06/29 15:18:35] <cparedes> alright
[2010/06/29 15:20:11] @ Quit: Edgan: Quit: Edgan
[2010/06/29 15:20:37] @ Edgan joined channel #puppet
[2010/06/29 15:21:37] <robinbowes> Actually, looks a lot like this: http://markmail.org/message/7xztcjd2pkzzlddv
[2010/06/29 15:22:51] <robinbowes> Aha, found a file with a Copyright notice: admin@immerda.ch
[2010/06/29 15:24:06] <robinbowes> http://puppet-modules.git.puzzle.ch/?p=module-sysctl.git;a=summary
[2010/06/29 15:24:16] @ joe-mac1 joined channel #puppet
[2010/06/29 15:24:42] <cparedes> sweet
[2010/06/29 15:24:52] <cparedes> thanks. :)
[2010/06/29 15:26:23] @ ciupicri left channel #puppet ("Leaving")
[2010/06/29 15:26:39] <robinbowes> Yeah, mine is essentially that last one
[2010/06/29 15:28:04] @ geekatcmu left channel #puppet ("Leaving.")
[2010/06/29 15:28:23] @ geekatcmu joined channel #puppet
[2010/06/29 15:32:57] @ rodnet joined channel #puppet
[2010/06/29 15:34:33] <eric0> has anybody tried to setup a chained CA under 0.25.5 yet? supposed to be some fixes in there but i'm a little reluctant to dive back into that particular tarpit
[2010/06/29 15:34:52] <joe-mac1> eric0: i really hope if you're gonna try you have a dev master
[2010/06/29 15:35:06] <joe-mac1> the ssl shit, sucks to deal with.. it's a necessary evil though
[2010/06/29 15:35:11] <nasrat> Volcane: IIRC most EC2 ami boots used to read 169.254.169.254 to grab the keys, that may have changed
[2010/06/29 15:35:58] <joe-mac1> uh oh Volcane is getting into ec2?
[2010/06/29 15:36:29] <nasrat> just replying to a bug comment via irc
[2010/06/29 15:39:57] @ Quit: kaptk2: Quit: Leaving.
[2010/06/29 15:45:12] @ Quit: joe-mac1: Ping timeout: 265 seconds
[2010/06/29 15:45:39] @ nicklewis joined channel #puppet
[2010/06/29 15:45:43] <robinbowes> Anyone else think they might find a "--run-offset" option useful?
[2010/06/29 15:46:08] <robinbowes> Or "--startup-delay" perhaps?
[2010/06/29 15:46:12] @ Quit: jdcasey: Remote host closed the connection
[2010/06/29 15:46:45] <robinbowes> Also should read from an ENV var
[2010/06/29 15:47:20] <robinbowes> I sometimes like to spread out the run times of my clients
[2010/06/29 15:47:27] <mackn> i rather have the option to turn off splay with a commandline switch
[2010/06/29 15:47:37] <mackn> and when puppetrun is used
[2010/06/29 15:48:13] <robinbowes> I currently do something like "for each node { restart puppet ; sleep n secs }
[2010/06/29 15:48:19] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/06/29 15:48:57] <mackn> don't like using splay?
[2010/06/29 15:49:08] <robinbowes> Would be nice to be able to do something like: for each node { PUPPET_STARTUP_DELAY=n ; restart puppet }
[2010/06/29 15:49:29] * robinbowes looks up what splay does again
[2010/06/29 15:49:39] <mackn> it... sort of does what you want
[2010/06/29 15:50:05] <mackn> only thing i dont like is you can't really turn it off when you want to heh at least puppetd --test ignores it
[2010/06/29 15:50:21] <robinbowes> Can't find it
[2010/06/29 15:50:34] <mackn> it's a puppet.conf option
[2010/06/29 15:50:42] <mackn> dont' think there is a commandline equiv
[2010/06/29 15:50:49] <mackn> but it does what you want
[2010/06/29 15:50:52] <robinbowes> Got it
[2010/06/29 15:51:05] @ Quit: bjaspan: Ping timeout: 260 seconds
[2010/06/29 15:51:13] <mackn> if you need to be able to dictate it when you restart it.. maybe editing the init script is the way to go
[2010/06/29 15:51:16] <robinbowes> Ah, OK. And I can see why you would want to turn it off
[2010/06/29 15:52:32] <robinbowes> I run puppetd supervised
[2010/06/29 15:52:37] <robinbowes> with runit
[2010/06/29 15:53:11] <mackn> is there a run script that it uses to know how to start it
[2010/06/29 15:53:23] <robinbowes> How do you mean?
[2010/06/29 15:53:33] <mackn> i'm unfamiliar with runit so
[2010/06/29 15:53:45] <mackn> wondering if it's like the daemontools supervise
[2010/06/29 15:54:06] <eric0> aaauuugh daemontools
[2010/06/29 15:54:11] <mackn> haha
[2010/06/29 15:54:25] <robinbowes> Yup, v. similar to daemontools
[2010/06/29 15:54:32] <robinbowes> There is a run script
[2010/06/29 15:55:31] @ Quit: bug: Quit: bug
[2010/06/29 15:58:08] @ Quit: giskard: Remote host closed the connection
[2010/06/29 15:58:27] <robinbowes> Basically, just: exec puppetd --no-daemonize --logdest console --color false ${PUPPET_OPTS}
[2010/06/29 15:58:50] <manlymatt83> Anyone know how I can send lots of data to a server without having puppet compare every single file? I have a directory inside files I want sync'd to the server, but it will never change. Yet there's so many files in it, puppet takes 2 hours to do the initial transfer.
[2010/06/29 15:59:03] <manlymatt83> (I even have an unless => test -d so that it will only transfer the directory once)
[2010/06/29 15:59:32] <mackn> how do you restart it using runit
[2010/06/29 16:00:04] <mackn> and is there a way to pass anything to the runscript when you restart it (or start it)
[2010/06/29 16:00:11] <mackn> do you sorta see where i'm going with this
[2010/06/29 16:00:12] <mackn> heh
[2010/06/29 16:02:20] <mackn> if there is no way to alter the run environment i don't see how having the ability to send a splay time on the commandline would help when you restart things with runit
[2010/06/29 16:02:21] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/29 16:02:40] <mackn> else i'd just hardcode a sleep in the script before the exec
[2010/06/29 16:02:59] @ Wandrewvious joined channel #puppet
[2010/06/29 16:03:29] @ joe-mac1 joined channel #puppet
[2010/06/29 16:05:58] @ Quit: seanos: Ping timeout: 276 seconds
[2010/06/29 16:06:32] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/29 16:06:44] @ Quit: WALoeIII: Ping timeout: 260 seconds
[2010/06/29 16:06:44] @ Wandrewvious is now known as WALoeIII
[2010/06/29 16:10:21] @ mikey_p joined channel #puppet
[2010/06/29 16:19:42] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/29 16:25:19] @ Quit: jab_doa: Quit: Verlassend
[2010/06/29 16:27:04] @ seanos joined channel #puppet
[2010/06/29 16:27:34] @ Quit: Phibs: Quit: Lost terminal
[2010/06/29 16:27:54] @ Phibs joined channel #puppet
[2010/06/29 16:33:42] <robinbowes> mackn: Restart is "sv restart puppet"
[2010/06/29 16:34:00] <robinbowes> The splay/delay time would have to go in an ENV var
[2010/06/29 16:34:26] <robinbowes> PUPPET_STARTUP_DELAY=270 ; sv restart puppet
[2010/06/29 16:35:55] <mackn> well does 'sv' pass along the env to the run script .. if not the fact you want to do it that way is rather moot :)
[2010/06/29 16:39:16] @ freshtonic joined channel #puppet
[2010/06/29 16:44:23] <kgraham> ugh. I see old editfiles patterns coming back up dealing w/ augeas
[2010/06/29 16:44:41] <kgraham> clear in the more-puppet-less-aug in presentation
[2010/06/29 16:45:14] <kgraham> only thing I can see is doing:
[2010/06/29 16:45:15] <kgraham> set /files/etc/fstab/*[ count(opt[. = 'noexec']) = 0 ][ file = '/var' ]/opt[last()] 'noexec'
[2010/06/29 16:45:33] <kgraham> ...or just the set and moving conditionals to a onlyif
[2010/06/29 16:45:58] <kgraham> either way that's a lot of duplication
[2010/06/29 16:46:53] <robinbowes> mackn: Hmm, doesn't seem to pass in the env
[2010/06/29 16:50:12] <mackn> you might want to try a stop/start instead of a restart... i don't think that'll work either but it has a better chance of working than a restart .. heh
[2010/06/29 16:50:23] <robinbowes> restart just does a stop/start
[2010/06/29 16:50:30] <mackn> well then there we go
[2010/06/29 16:50:31] @ davea1 joined channel #puppet
[2010/06/29 16:50:53] <robinbowes> OK, alternative approach...
[2010/06/29 16:51:56] <robinbowes> Make puppetd respond to some signal by reading PUPPET_RUN_DELAY from the environment, pausing for that amount of time, then running
[2010/06/29 16:52:51] <robinbowes> I'm not sure what signals puppetd currently handles and uses, but maybe ALRM ?
[2010/06/29 16:53:27] <mackn> yeah.. that won't happen
[2010/06/29 16:53:28] <mackn> heh
[2010/06/29 16:53:37] <robinbowes> PUPPET_RUN_DELAY=270 ; kill -ALRM <pid_of_puppet>
[2010/06/29 16:53:52] <robinbowes> It currently responds to HUP
[2010/06/29 16:54:08] <mackn> only problem is you still won't get your env to puppetd
[2010/06/29 16:54:29] <robinbowes> Hrm, could be right
[2010/06/29 16:55:13] @ Quit: lkoranda: Quit: Ex-Chat
[2010/06/29 16:55:32] <mackn> easiest way to do it.. write a script.. have the script re-write the run script with a sleep and restart
[2010/06/29 16:55:44] <mackn> sounds ugly tho
[2010/06/29 16:55:46] <mackn> but it'll work
[2010/06/29 16:55:47] <mackn> *shrug8
[2010/06/29 16:56:20] <mackn> unless there's some feature runit has that you can use
[2010/06/29 16:56:22] @ Quit: jsimpson: Quit: jsimpson
[2010/06/29 16:56:33] @ weaselkeeper left channel #puppet ("Leaving")
[2010/06/29 16:56:45] <mackn> i'm working under the assumption runit has no features to help.. since i don't know runit :)
[2010/06/29 16:58:21] <robinbowes> Sounds like I'll have to use something like: delay=0 ; for n in $(list of nodes); do ssh $n "sleep $delay ; sv restart puppet" & let delay=delay+20 ; done
[2010/06/29 16:58:43] @ bug joined channel #puppet
[2010/06/29 17:00:40] <robinbowes> Actually, this works:
[2010/06/29 17:01:00] <robinbowes> delay=0 ; for n in $(list of nodes); do ( sleep $delay ; ssh $n "sv restart puppet" ) & let delay=delay+20 ; done
[2010/06/29 17:01:15] @ Quit: nullpointers: Ping timeout: 252 seconds
[2010/06/29 17:02:25] @ plathrop is now known as plathrop-away
[2010/06/29 17:02:35] @ plathrop-away is now known as plathrop
[2010/06/29 17:05:59] @ Djelibeybi joined channel #puppet
[2010/06/29 17:08:10] @ Quit: gniks: Quit: Leaving.
[2010/06/29 17:10:52] @ PaulWay[w] joined channel #puppet
[2010/06/29 17:12:46] @ Quit: bug: Quit: bug
[2010/06/29 17:15:56] <robinbowes> mackn: you assume right - runit doesn't have that functionality
[2010/06/29 17:19:13] <geekatcmu> Anyone online using Puppet to deploy Solaris 10 zones? I'm having problems getting a clean (read non-interactive) build.
[2010/06/29 17:19:42] <geekatcmu> When I use zlogin, it appears to want a hostname. Yet that is clearly contained in the sysidcfg file.
[2010/06/29 17:23:00] <manlymatt83> boy, puppet's file server is slow. I have a 100 MB file inside one of my puppet modules and it really kills the RAM transferring it.
[2010/06/29 17:23:36] <geekatcmu> Puppet isn't really designed as a file server.
[2010/06/29 17:23:56] <geekatcmu> It can *do* it, but you're really better of with just about anything else for non-trivial files.
[2010/06/29 17:24:24] <manlymatt83> *shrug* I know. But building an RPM out of a .tgz is hard
[2010/06/29 17:24:34] <geekatcmu> alien?
[2010/06/29 17:24:55] <manlymatt83> ?
[2010/06/29 17:25:14] <geekatcmu> It's a program for converting between various package formats, including tgz.
[2010/06/29 17:25:33] <manlymatt83> so it'll convert .tgz to .rpm?
[2010/06/29 17:25:55] <geekatcmu> And really, building packages (RPM, pkg, deb, HP-UX package) isn't *hard*. Only tedious.
[2010/06/29 17:25:58] <manlymatt83> basically, this is what I've got: file { "/usr/java/jdk1.6.0_19.tgz": source => "puppet:///modules/java/jdk1.6.0_19.tgz" }
[2010/06/29 17:26:06] <geekatcmu> Yes.
[2010/06/29 17:26:16] <manlymatt83> I have a Exec {} to uncompress that into /usr/java. Works well, but takes forever.
[2010/06/29 17:26:44] <geekatcmu> However, since your source is a tgz, it'll basically only know how to unpack it. No installation scripts.
[2010/06/29 17:27:18] <manlymatt83> Don't need any installation scripts.
[2010/06/29 17:27:24] <manlymatt83> all I need it to do is unpack it into /usr/java, that's it
[2010/06/29 17:27:27] <geekatcmu> I take it your linux distro of choice doesn't have Java packages?
[2010/06/29 17:27:32] <manlymatt83> CentOS
[2010/06/29 17:27:38] <manlymatt83> (old)
[2010/06/29 17:27:44] <geekatcmu> Funny, I'm using CentOS without a problem.
[2010/06/29 17:27:46] <geekatcmu> Oh, old.
[2010/06/29 17:28:00] <manlymatt83> Not my choice, and not my fault, but the devs need new
[2010/06/29 17:28:02] <geekatcmu> Yeah, current software is often not packaged for old systems.
[2010/06/29 17:28:10] <geekatcmu> I understand.
[2010/06/29 17:28:26] <rohanpm> manlymatt83: I usually put tarballs on an HTTP server, then have an `exec' like: "/bin/sh -c 'wget $server/java/jdk1.6.0_19.tgz -O - | tar -C /path/to/extract -xz'"
[2010/06/29 17:28:34] <rohanpm> with an appropriate `creates'
[2010/06/29 17:28:35] @ thekad is now known as thekad-afk
[2010/06/29 17:28:39] <robinbowes> manlymatt83: really, bundling that into an RPM is your path of least resistance
[2010/06/29 17:28:54] <geekatcmu> That's what I do for installing stuff like, oh, Foreman.
[2010/06/29 17:29:09] <manlymatt83> I already have my own yum repository setup, so if I can easily bundle it into an RPM, I can just add it to the repo that's already setup, and every box already knows about.
[2010/06/29 17:29:26] <manlymatt83> Problem is, while I've built repos before, never built an RPM (I'm a FreeBSD convert)
[2010/06/29 17:29:27] <geekatcmu> I have a bunch of Solaris systems and wget is used ... frequently.
[2010/06/29 17:29:43] <manlymatt83> I can use that :)
[2010/06/29 17:30:02] <geekatcmu> It'll take you an hour of reading the docs and putzing around with it, after which you'll know how to do it.
[2010/06/29 17:30:19] <geekatcmu> Especially since you don't need any fancy scripting.
[2010/06/29 17:30:26] <geekatcmu> That can be somewhat painful.
[2010/06/29 17:30:35] <geekatcmu> And on that note, I've got to go home.
[2010/06/29 17:32:25] <robinbowes> manlymatt83: http://synapse.wordpress.com/2005/12/24/convert-source-code-targz-to-an-rpm-installable/
[2010/06/29 17:32:31] <robinbowes> (not tried it myself)
[2010/06/29 17:32:44] @ cliff-hm joined channel #puppet
[2010/06/29 17:35:46] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/29 17:35:53] <manlymatt83> robinbowes: thx
[2010/06/29 17:37:11] <manlymatt83> can I do a source => "http://blah/haorf/ribbit"
[2010/06/29 17:37:16] <manlymatt83> or does it have to be a puppet:///
[2010/06/29 17:39:38] <Kiloman> I believe the puppet documentation says that all that it currently supports is puppet://server/
[2010/06/29 17:39:43] <Kiloman> where server is optional
[2010/06/29 17:39:57] <Kiloman> which is a real shame ;)
[2010/06/29 17:40:18] <manlymatt83> boo
[2010/06/29 17:40:20] <Kiloman> would be awesome if you could do svn or git checkouts, grab things over http, etc
[2010/06/29 17:41:14] <manlymatt83> yup, boo: Parameter source failed: Cannot use URLs of type 'https' as source for fileserving at /etc/puppet/modules/java/manifests/init.pp:23
[2010/06/29 17:41:21] @ gniks joined channel #puppet
[2010/06/29 17:49:28] <tmz> Kiloman: Check out puppet-vcs-repo, it provides a vcsrepo type for cvs, svn, bzr, hg, and git.
[2010/06/29 17:51:29] @ Quit: AimanA: Remote host closed the connection
[2010/06/29 17:57:17] @ Quit: stanlly: Ping timeout: 240 seconds
[2010/06/29 18:12:29] @ Quit: lak: Quit: lak
[2010/06/29 18:16:41] @ lak joined channel #puppet
[2010/06/29 18:19:31] @ AimanA joined channel #puppet
[2010/06/29 18:19:40] @ Quit: lak: Client Quit
[2010/06/29 18:23:00] @ Quit: joe-mac1: Quit: Leaving.
[2010/06/29 18:24:37] @ Quit: rodnet: Quit: rodnet
[2010/06/29 18:24:48] @ Quit: mqr: Quit: mqr
[2010/06/29 18:28:22] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/29 18:32:48] @ Quit: AimanA: Remote host closed the connection
[2010/06/29 18:39:26] @ plathrop is now known as plathrop-away
[2010/06/29 18:40:28] @ Quit: Hypnoz: Ping timeout: 260 seconds
[2010/06/29 18:46:22] @ Quit: dandiep: Ping timeout: 276 seconds
[2010/06/29 18:49:50] @ p3rror joined channel #puppet
[2010/06/29 18:55:08] @ Djelibeybi joined channel #puppet
[2010/06/29 18:58:00] @ Quit: nicklewis: Quit: Page closed
[2010/06/29 19:02:11] @ bjaspan joined channel #puppet
[2010/06/29 19:02:21] @ bug joined channel #puppet
[2010/06/29 19:11:10] @ Quit: mackn: Ping timeout: 260 seconds
[2010/06/29 19:12:21] @ Quit: ahasenack: Quit: Leaving
[2010/06/29 19:22:16] @ Quit: WALoeIII: Quit: Bai.
[2010/06/29 19:23:38] @ joe-mac1 joined channel #puppet
[2010/06/29 19:23:44] @ Quit: macfly: Ping timeout: 265 seconds
[2010/06/29 19:24:56] @ macfly joined channel #puppet
[2010/06/29 19:31:16] @ Quit: avocado: Remote host closed the connection
[2010/06/29 19:33:29] @ Quit: joe-mac1: Quit: Leaving.
[2010/06/29 19:34:20] @ Quit: davea1: Quit: Leaving
[2010/06/29 19:34:39] @ pinoyskull joined channel #puppet
[2010/06/29 19:35:17] @ markus joined channel #puppet
[2010/06/29 19:40:40] @ AimanA joined channel #puppet
[2010/06/29 19:41:23] @ jaredrhine joined channel #puppet
[2010/06/29 20:14:30] @ ivanoats joined channel #puppet
[2010/06/29 20:19:44] @ Quit: explody: Ping timeout: 260 seconds
[2010/06/29 20:19:45] @ Quit: alk`: Ping timeout: 240 seconds
[2010/06/29 20:22:41] @ Quit: rmiller4pi8: Ping timeout: 245 seconds
[2010/06/29 20:23:05] @ alk` joined channel #puppet
[2010/06/29 20:23:35] @ explody joined channel #puppet
[2010/06/29 20:27:39] @ Quit: rcrowley: Quit: rcrowley
[2010/06/29 20:28:44] @ Quit: bjaspan: Quit: bjaspan
[2010/06/29 20:44:43] @ Quit: fbe: Ping timeout: 260 seconds
[2010/06/29 20:54:47] @ Quit: mikey_p: Quit: mikey_p
[2010/06/29 20:57:52] @ fbe joined channel #puppet
[2010/06/29 21:05:29] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2010/06/29 21:05:44] @ Quit: bug: Quit: bug
[2010/06/29 21:06:48] @ mackn joined channel #puppet
[2010/06/29 21:09:36] @ Quit: ivanoats: Remote host closed the connection
[2010/06/29 21:09:36] @ vzctl_ joined channel #puppet
[2010/06/29 21:09:58] @ Quit: vzctl_: Client Quit
[2010/06/29 21:10:41] @ AimanA is now known as HouseAway
[2010/06/29 21:11:09] <manlymatt83> This is odd:
[2010/06/29 21:11:10] <manlymatt83> Jun 30 04:00:32 vesuvius puppetd[1064]: Could not run Puppet configuration client: Could not find dependency Class[python::base] for Exec[boto] at /etc/puppet/modules/python/manifests/init.pp:11
[2010/06/29 21:11:19] <manlymatt83> I have base.pp created...
[2010/06/29 21:12:06] <Djelibeybi> manlymatt83: does base.pp have Class base in it?
[2010/06/29 21:12:26] <manlymatt83> ywa
[2010/06/29 21:12:28] <manlymatt83> yes*
[2010/06/29 21:12:45] <manlymatt83> woops, nope. Class python::base
[2010/06/29 21:12:46] <manlymatt83> thanks :)
[2010/06/29 21:12:50] <Djelibeybi> Just asking the stupid questions first. :)
[2010/06/29 21:13:12] * manlymatt83 is tired
[2010/06/29 21:13:19] <manlymatt83> hmmm, still doingit
[2010/06/29 21:13:31] <manlymatt83> Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class python::base at /etc/puppet/modules/python/manifests/init.pp:5 on node vesuvius.dfw01.hubspot-networks.net
[2010/06/29 21:13:46] <manlymatt83> shut, I shouldn't have pasted that hostname....
[2010/06/29 21:13:50] <Djelibeybi> manlymatt83: permissions on base.pp?
[2010/06/29 21:13:55] <Djelibeybi> Can the puppet user read the file?
[2010/06/29 21:14:06] <manlymatt83> yes, permissions are good
[2010/06/29 21:14:32] @ Djelibeybi left channel #puppet ("Leaving")
[2010/06/29 21:14:36] @ Djelibeybi joined channel #puppet
[2010/06/29 21:14:48] <Djelibeybi> Grr. I hate it when I Apple-W/Apple-Q on the wrong window.
[2010/06/29 21:14:58] <manlymatt83> =(
[2010/06/29 21:15:08] <manlymatt83> I just did something similar :)
[2010/06/29 21:15:08] @ rcrowley joined channel #puppet
[2010/06/29 21:15:18] <manlymatt83> permissions are good. File is normal. I have class base {}
[2010/06/29 21:15:49] <Djelibeybi> manlymatt83: is there nothing in the class?
[2010/06/29 21:15:57] <Djelibeybi> How are you calling it?
[2010/06/29 21:15:59] <manlymatt83> no, there is
[2010/06/29 21:16:09] <manlymatt83> require => [ Exec["cython"], Class["python::base"] ]
[2010/06/29 21:16:33] <Djelibeybi> Yeah, but have you included Python::Base somewhere already?
[2010/06/29 21:16:46] <manlymatt83> didn't think you needed to with external nodes
[2010/06/29 21:16:46] <Djelibeybi> I'm not sure a require => implies an include
[2010/06/29 21:16:57] <Djelibeybi> Ah
[2010/06/29 21:17:04] <Djelibeybi> I haven't played with external nodes yet, so I'm not sure on that.
[2010/06/29 21:17:10] @ Quit: Bevo: Ping timeout: 260 seconds
[2010/06/29 21:17:11] <Djelibeybi> Does the external node include python::base?
[2010/06/29 21:17:33] <manlymatt83> no, because I was told earlier that you don't have to ever include anything if you are using exteral nodes.
[2010/06/29 21:17:36] <manlymatt83> lemme try adding it :)
[2010/06/29 21:18:06] <Djelibeybi> manlymatt83: I'm just guessing/suggesting stuff, btw.
[2010/06/29 21:18:07] <manlymatt83> am I including python::base or am I doing "include base" or "include base.pp"
[2010/06/29 21:18:15] @ rmiller4pi8 joined channel #puppet
[2010/06/29 21:18:20] <Djelibeybi> manlymatt83: I'd try starting with python::base
[2010/06/29 21:18:21] <manlymatt83> (this base.pp module is being called from python's init.pp FYI)
[2010/06/29 21:18:48] <Djelibeybi> Well, if you include Python and python's init.pp includes base, then a require to python::base should work (in my head)
[2010/06/29 21:19:45] @ Bevo joined channel #puppet
[2010/06/29 21:20:28] @ bug joined channel #puppet
[2010/06/29 21:20:36] @ stanlly joined channel #puppet
[2010/06/29 21:24:52] <manlymatt83> tried everything
[2010/06/29 21:24:53] <manlymatt83> didn't work
[2010/06/29 21:25:33] @ Quit: Bevo: Ping timeout: 260 seconds
[2010/06/29 21:26:54] <Djelibeybi> Sorry!
[2010/06/29 21:27:12] @ Bevo joined channel #puppet
[2010/06/29 21:28:02] <manlymatt83> figured it out
[2010/06/29 21:28:12] <manlymatt83> had to have class puppet::base in the base.pp too :) and import puppet::base
[2010/06/29 21:28:15] <manlymatt83> s/puppet/python/
[2010/06/29 21:28:22] <manlymatt83> thanks for your help. You were right, I just changed too many thing at once.
[2010/06/29 21:28:23] <manlymatt83> things*
[2010/06/29 21:29:48] <Djelibeybi> manlymatt83: no worries. Glad you worked it out
[2010/06/29 21:29:58] <skeeziks> Are there any known version of Ruby under which Puppet does not work well?
[2010/06/29 21:30:13] <Djelibeybi> skeeziks: Doesn't work with Ruby 1.9 yet, AFAIK.
[2010/06/29 21:30:22] <skeeziks> I suspect I'm hitting a deadlock in Ruby 1.8.7 on Solaris 10 x86
[2010/06/29 21:30:30] <skeeziks> 1.8.7p249
[2010/06/29 21:31:16] <skeeziks> Puppet has stopped responding (and doesn't die properly when killed), and a truss -p reveals the following messages over and over:
[2010/06/29 21:31:25] <skeeziks> /171: lwp_park(0xFE7DEF00, 0) Err#62 ETIME
[2010/06/29 21:32:11] <skeeziks> It ZOOMS by when I run the truss, so it's basically constant. I understand that ETIME is a "normal" occurance for _lwp_park(), but in this case I think I'm seeing some sort of deadlock.
[2010/06/29 21:32:26] <odyi> skeeziks: You mean a puppetmaster on Solaris 10?
[2010/06/29 21:32:31] <skeeziks> No, this is puppetd.
[2010/06/29 21:32:52] <skeeziks> Though I do also have a puppetmaster on a Sol 10 x86 box.
[2010/06/29 21:33:41] @ Quit: Bevo: Ping timeout: 265 seconds
[2010/06/29 21:34:08] <odyi> Does it show anything else if you use -f and have the truss follow to forked processes?
[2010/06/29 21:34:20] <skeeziks> Hmm, let me try that.
[2010/06/29 21:35:44] <manlymatt83> what's the general consensus? Do people tend to puppetize their puppet masters?
[2010/06/29 21:36:06] @ Bevo joined channel #puppet
[2010/06/29 21:36:31] <skeeziks> odyi: No, no forking is happening, and a ptree (and svcs -p) verify that there are no child processes of the ruby/puppetd process.
[2010/06/29 21:37:04] @ ahuman joined channel #puppet
[2010/06/29 21:37:06] <odyi> skeeziks: by not responding you mean that it eventually just stops doing scheduled runs
[2010/06/29 21:37:26] @ Quit: webb: Quit: Page closed
[2010/06/29 21:37:27] <skeeziks> There seem to be two threads, #1 (waiting in _lwp_wait()) and #171 (spinning, repeadly calling _lwp_park()).
[2010/06/29 21:37:27] <gepetto> skeeziks: #1 is http://projects.puppetlabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions - Puppet Labs"
[2010/06/29 21:37:27] <gepetto> skeeziks: #171 is http://projects.puppetlabs.com/issues/show/171 "Puppet - Feature #171: File source operations cannot currently be rolled back - Puppet Labs"
[2010/06/29 21:37:28] <skeeziks> odyi: Yes.
[2010/06/29 21:37:42] <skeeziks> (haha, whoops)
[2010/06/29 21:37:53] * skeeziks didn't realize that `#' was special around here :)
[2010/06/29 21:38:31] <skeeziks> odyi: Also, when SMF sends it a SIGQUIT it does not resond and has to be SIGKILL'd.
[2010/06/29 21:38:43] <skeeziks> s/resond/respond/
[2010/06/29 21:39:19] <skeeziks> Perhaps I should try Ruby 1.8.6 instead?
[2010/06/29 21:39:58] @ Quit: rcrowley: Quit: rcrowley
[2010/06/29 21:40:02] <odyi> skeeziks: We see this too, on SPARC and x86. Sadly we were never able to track down why and have a cron that checks to see if it is broke and then fixes it by doing a SIGKILL and restarting the service.
[2010/06/29 21:40:36] <skeeziks> You see this in puppetd? How about puppetmaster?
[2010/06/29 21:40:41] <skeeziks> Oh, and DAMN.
[2010/06/29 21:40:42] <skeeziks> :)
[2010/06/29 21:41:08] <odyi> my puppetmaster runs on ubuntu. We also have a cron on Ubuntu clients that checks to see if puppet dies and if it does then it restarts it.
[2010/06/29 21:41:33] @ Quit: pting: Read error: Operation timed out
[2010/06/29 21:41:42] <skeeziks> Is there an ticket reported to Ruby or Puppet about this?
[2010/06/29 21:41:49] <skeeziks> Also, which verion of Ruby are you on?
[2010/06/29 21:42:36] <odyi> 1.8.7 out of opencsw
[2010/06/29 21:43:07] <odyi> Seen this problem for over a year. It is really bad that we haven't figured out the real reason yet.
[2010/06/29 21:44:57] <skeeziks> Hmm, p299 was released 7 days ago. I did find this in the Ruby ticket tracking sytem: http://redmine.ruby-lang.org/issues/show/2092
[2010/06/29 21:45:04] <skeeziks> Not sure if that's in my patchlevel or not.
[2010/06/29 21:46:50] <skeeziks> Does Puppet make any use of Queue? I'm not familiar with the codebase.
[2010/06/29 21:49:29] @ nexx joined channel #puppet
[2010/06/29 21:51:55] <skeeziks> odyi: Have you gotten as far as a Ruby stacktrace while the issue is happening?
[2010/06/29 21:52:59] <odyi> Nope. Was never able to watch it closely enough. Just always noticed it after a week or so not working.
[2010/06/29 21:53:38] <skeeziks> Yuck. I'll keep you posted on my progress, then. It's happening reliably enough that I may be able to say "version XX fixed it."
[2010/06/29 21:53:44] <skeeziks> Er, *seems to* have fixed it :)
[2010/06/29 21:54:43] @ alcy joined channel #puppet
[2010/06/29 21:54:58] <skeeziks> odyi: I'm using my own locally-compiled versions of Ruby and Puppet, so I've got some flexibility here. Does puppet require threading for proper operation, I wonder?
[2010/06/29 21:56:24] @ Quit: Bevo: Ping timeout: 265 seconds
[2010/06/29 21:56:38] <Djelibeybi> manlymatt83: I puppetise my puppetmasters, btw.
[2010/06/29 21:56:58] @ Quit: will: Disconnected by services
[2010/06/29 21:57:30] @ will__ joined channel #puppet
[2010/06/29 21:57:41] @ nullpointers joined channel #puppet
[2010/06/29 22:01:00] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/29 22:08:23] <manlymatt83> Djelibeybi: do you? Do you also ldapify your ldap masters?
[2010/06/29 22:08:48] <Djelibeybi> manlymatt83: oddly, no. :) But that's handled by our Identity/Security teams anyway
[2010/06/29 22:08:59] @ dandiep joined channel #puppet
[2010/06/29 22:09:41] @ Bevo joined channel #puppet
[2010/06/29 22:12:29] @ tonyskapunk joined channel #puppet
[2010/06/29 22:13:38] <manlymatt83> Djelibeybi: interesting. Yeah, I just have a hard time puppetizing my puppet masters. Makes me think... what if I accidentally do something like ensure => absent or something to /etc/puppet? :)
[2010/06/29 22:13:42] <manlymatt83> I could just see myself messing up
[2010/06/29 22:15:13] <Djelibeybi> manlymatt83: this is why I have prep/dev/test/pre-prod and pro environments. :)
[2010/06/29 22:15:22] @ Quit: tonyskapunk: Remote host closed the connection
[2010/06/29 22:15:28] <Djelibeybi> manlymatt83: each with their own SVN branch
[2010/06/29 22:15:44] <Djelibeybi> I stuff up a lot in prep/dev. It's fun.
[2010/06/29 22:18:53] <manlymatt83> yeah, I need to do that. First I need to actually version my configs.... but does that means you have some servers that are just testing servers?
[2010/06/29 22:19:15] <Djelibeybi> manlymatt83: I have (at last count) 300+ testing servers. Not just for puppet, mind you.
[2010/06/29 22:19:20] <manlymatt83> oy
[2010/06/29 22:19:32] <manlymatt83> I hope those are virtualized :)
[2010/06/29 22:19:42] <skeeziks> odyi: I've found a bite: http://redmine.ruby-lang.org/issues/show/2739
[2010/06/29 22:19:43] <skeeziks> !!
[2010/06/29 22:19:44] <Djelibeybi> Our dev environment is 10 physical servers hosting 1000+ VMs, 300-500 of which are powered up at any one time.
[2010/06/29 22:19:51] <manlymatt83> got it
[2010/06/29 22:20:09] <Djelibeybi> We then have a 8-physical/100-VM UAT/SIT/Integration stack
[2010/06/29 22:20:19] <manlymatt83> wow, 100 VMs per physical server.... those must be wicked powerful boxes
[2010/06/29 22:20:26] <manlymatt83> VMware or Xen or something else?
[2010/06/29 22:20:48] <skeeziks> Running the testcase now.
[2010/06/29 22:21:42] <Djelibeybi> manlymatt83: Oracle VM (Xen)
[2010/06/29 22:22:02] <Djelibeybi> manlymatt83: No, 100 VMs over 8 boxes. We stack 25-50 VMs/box depending on VM type
[2010/06/29 22:22:29] <Djelibeybi> With Oracle Database, we don't like to overcommit more than 2 vCPUs to 1 core/thread
[2010/06/29 22:22:55] <Djelibeybi> But most of those VMs are either Linux running WebLogic or WebLogic Virtual Edition, which is a JVM running directly on the Xen hypervisor
[2010/06/29 22:24:00] <manlymatt83> makes sense, cool
[2010/06/29 22:24:11] <manlymatt83> this reminds me of a company i used to work at :)
[2010/06/29 22:24:40] <manlymatt83> weblogic, oracle, linux, etc., etc., etc.
[2010/06/29 22:24:52] * Djelibeybi works for Oracle. :)
[2010/06/29 22:25:14] <manlymatt83> nice :) which office? I was going to interview for a MySQL position with them (go figure) but was tied up.
[2010/06/29 22:25:21] <manlymatt83> (you don't have to answer that actually)
[2010/06/29 22:25:37] <Djelibeybi> I'm based in Melbourne
[2010/06/29 22:25:43] <manlymatt83> very nice.
[2010/06/29 22:28:15] @ rcrowley joined channel #puppet
[2010/06/29 22:29:39] @ Quit: bug: Quit: bug
[2010/06/29 22:29:40] <manlymatt83> I wish before => supported *.*
[2010/06/29 22:29:41] <manlymatt83> :)
[2010/06/29 22:31:30] <Djelibeybi> manlymatt83: next time I'm drunk (which could be a while), get me to show you our bootstrap environment
[2010/06/29 22:31:50] <Djelibeybi> manlymatt83: every single resource has a require => to create an absolutely deterministic deployment order
[2010/06/29 22:32:05] <manlymatt83> wpw
[2010/06/29 22:32:06] <Djelibeybi> It is both a) genius and b) criminally insane
[2010/06/29 22:32:06] <manlymatt83> wow*
[2010/06/29 22:32:14] <manlymatt83> I thought about it, but oy
[2010/06/29 22:32:24] <Djelibeybi> And I have require => Class[] stuff in every class too
[2010/06/29 22:33:13] <manlymatt83> I hope you guys have a single person who's job is to manage puppet...
[2010/06/29 22:33:15] <manlymatt83> at least a single person...
[2010/06/29 22:33:37] * Djelibeybi looks at himself. Oh, crap.
[2010/06/29 22:33:47] <Djelibeybi> Nah, we have a team of sysadmins who do it now.
[2010/06/29 22:34:03] <manlymatt83> nice
[2010/06/29 22:34:09] <manlymatt83> I'm setting it up on my own for a huge deployment
[2010/06/29 22:34:16] <manlymatt83> it's been 60+ hour weeks but well worth it
[2010/06/29 22:34:45] @ alk`_ joined channel #puppet
[2010/06/29 22:36:20] <manlymatt83> Djelibeybi: Maybe you can help me with one more question. What's the best way to version puppet configs? Obviously, have a place where you can edit them, commit them to SVN... but how do you deploy to /etc/puppet on the puppet master?
[2010/06/29 22:36:48] <Djelibeybi> manlymatt83: Not sure about the best way, that's probably team/deployment specific.
[2010/06/29 22:37:00] <Djelibeybi> We use SVN and manually check in/out on our main development puppetmaster.
[2010/06/29 22:37:10] <Djelibeybi> Things that are signed off are then merged into the testing branch
[2010/06/29 22:37:17] <manlymatt83> so, svn up /etc/puppet, basically
[2010/06/29 22:37:20] @ Quit: alk`: Ping timeout: 260 seconds
[2010/06/29 22:37:23] <Djelibeybi> Once things are passed by UAT/Integration, they get merged into pre-prod, etc, etc
[2010/06/29 22:37:28] <Djelibeybi> manlymatt83: yup
[2010/06/29 22:37:41] <manlymatt83> and then on your actual production puppet master?
[2010/06/29 22:37:54] <Djelibeybi> manlymatt83: also an svn up, but from the production branch
[2010/06/29 22:38:13] <Djelibeybi> We have system management stuff that handles that during scheduled maintenance windows, etc.
[2010/06/29 22:38:23] <Djelibeybi> This stuff is running a bank, so we don't upgrade production at all.
[2010/06/29 22:38:40] <Djelibeybi> Essentially, when a production server needs to be upgraded, a new one is built to replace the old one
[2010/06/29 22:38:46] <manlymatt83> Do you have scripts, or does someone actually svn update on the puppetmaster?
[2010/06/29 22:38:52] <manlymatt83> got it
[2010/06/29 22:38:53] <Djelibeybi> So at no point do we attempt to upgrade a running server
[2010/06/29 22:39:04] <Djelibeybi> We have scripts/jobs that we fire from Enterprise Manager
[2010/06/29 22:39:34] <Djelibeybi> (BTW, this idea of never upgrading a production server is the best thing about virtualization ever)
[2010/06/29 22:39:56] <manlymatt83> I agree ;) today alone I've torn down and rebuilt the cacti server 20+ times because puppet wasn't working.
[2010/06/29 22:39:59] <manlymatt83> ha
[2010/06/29 22:40:08] <manlymatt83> was my way of testing :) Though I wish I had a development environment, I'll work on that soon.
[2010/06/29 22:40:45] <Djelibeybi> manlymatt83: well, if you have VMs, building a dev environment should be pretty easy
[2010/06/29 22:41:50] <manlymatt83> the way I have things setup, is I have two virtualization environments. One has about 4 servers in it, and those are completely individually managed: no central auth, no puppet, nada. They include a jump box, a puppet/ldap/dns master, puppet/ldap/dns slave, and a management server. I take snapshots of them nightly (plus things are in SVN)
[2010/06/29 22:42:04] <manlymatt83> I have a separate environment where no one does anything as root - it's entirely puppet/ldap.
[2010/06/29 22:42:28] <manlymatt83> it works well because we have a few servers which are very active which we don't have to maintain puppet configs for, and we have the other servers which are production that we do.
[2010/06/29 22:43:20] <manlymatt83> The only thing I need to figure out at this point is where I draw the line between puppet managed and dev managed.
[2010/06/29 22:43:24] <manlymatt83> s/I/we/
[2010/06/29 22:43:43] <manlymatt83> we aren't an enterprise environment by any means - I'm surprised we're able to use puppet.
[2010/06/29 22:44:03] <Djelibeybi> manlymatt83: the more you puppet manage, the quicker you can recover from a server failure
[2010/06/29 22:44:19] <Djelibeybi> manlymatt83: also, the more your devs get their heads around puppet, the easier it is to take stuff from dev to production
[2010/06/29 22:44:33] <Djelibeybi> You'll find them building deployments with puppet in mind
[2010/06/29 22:46:31] <manlymatt83> I hope so
[2010/06/29 22:46:40] <manlymatt83> Sort of what I'm trying to move towards :)
[2010/06/29 22:46:51] <Djelibeybi> Exactly
[2010/06/29 22:47:58] @ yakub joined channel #puppet
[2010/06/29 22:48:32] <alcy> Djelibeybi: You could probably write an article about your Puppet deployment (if that's permitted and if you have time !)...could be quite useful for a hell lot of people !
[2010/06/29 22:49:04] @ Quit: alban2: Quit: Leaving.
[2010/06/29 22:49:30] <Djelibeybi> alcy: I should at some point. I still owe jamesturnbull a blog post about the upcoming Oracle support in 2.6
[2010/06/29 22:49:46] <Djelibeybi> I can talk about the general stuff, not the specific stuff (i.e. what we actually get Puppet to do)
[2010/06/29 22:50:36] <alcy> Djelibeybi: That would be great !
[2010/06/29 22:51:06] * Djelibeybi needs a secretary I can just dictate this shit to. :)
[2010/06/29 22:51:12] @ shug joined channel #puppet
[2010/06/29 22:51:32] <Djelibeybi> alcy: I'll see if I can record my upcoming sessions at SAGE-AU in August. I'm pretty sure I'll talk about a lot of this stuff in the Advanced Tutorial
[2010/06/29 22:51:43] <alcy> I don't mind being one. :p
[2010/06/29 22:51:45] <manlymatt83> Djelibeybi: thanks :)
[2010/06/29 22:52:12] <manlymatt83> Djelibeybi: I know someone really smart looking for a cheap job :)
[2010/06/29 22:52:15] <alcy> ...teh secretary I mean. Pupsec
[2010/06/29 22:52:18] <manlymatt83> (my girlfriend)
[2010/06/29 22:52:19] <Djelibeybi> Hehehe
[2010/06/29 22:52:29] <Djelibeybi> manlymatt83: will she make her own way to Melbourne?
[2010/06/29 22:53:13] <manlymatt83> Actually, if you seriously are looking for someone in Australia, my girlfriend's roommate just graduated here in the states and was looking for a job she could get back in Australia (she is a native)
[2010/06/29 22:53:15] <alcy> Djelibeybi: That would be nice too (recording the sessions at SAGE-AU)...hopefully you'll upload them not on Slideshare !
[2010/06/29 22:53:36] <Djelibeybi> manlymatt83: sadly, I'm not. I can't actually hire anyway
[2010/06/29 22:53:43] <Djelibeybi> alcy: I'll check with the SAGE guys.
[2010/06/29 22:53:56] @ mattock joined channel #puppet
[2010/06/29 22:54:00] <alcy> cool
[2010/06/29 22:54:03] <manlymatt83> figured I'd ask :)
[2010/06/29 22:54:13] @ pting joined channel #puppet
[2010/06/29 22:54:18] <manlymatt83> if anyone here is ever in Boston looking for a place to crash, you've got my couch if you're willing to talk puppet :P
[2010/06/29 22:54:39] * Djelibeybi really wants to visit Boston
[2010/06/29 22:54:50] <Djelibeybi> I haven't seen nearly enough of the east cost.
[2010/06/29 22:54:55] <Djelibeybi> coast, even
[2010/06/29 22:55:26] <manlymatt83> nice
[2010/06/29 22:55:43] <manlymatt83> ygmsg
[2010/06/29 22:58:43] @ Quit: pinoyskull: Quit: Leaving
[2010/06/29 23:01:56] <skeeziks> odyi: All signs point to patchlevel 299 being the answer, at least in my case. I can't get it to hang upon an SMF disable anymore, which was pretty easy to reproduce here. I'll run for another couple of days and let you know how it goes.
[2010/06/29 23:02:15] <odyi> skeeziks: cool thanks
[2010/06/29 23:03:05] <skeeziks> If it continues to work better, my hunch is that the patch I linked above is the answer.
[2010/06/29 23:06:00] @ Quit: rcrowley: Quit: rcrowley
[2010/06/29 23:08:46] @ Quit: ahuman: Remote host closed the connection
[2010/06/29 23:10:16] @ nicklewis joined channel #puppet
[2010/06/29 23:12:44] @ Quit: fredden: Quit: Leaving
[2010/06/29 23:17:56] @ jsimpson joined channel #puppet
[2010/06/29 23:24:34] @ Quit: mboyd: Ping timeout: 276 seconds
[2010/06/29 23:25:58] @ mvn071 joined channel #puppet
[2010/06/29 23:27:08] @ Quit: jsimpson: Quit: jsimpson
[2010/06/29 23:27:43] @ ecolitan joined channel #puppet
[2010/06/29 23:30:44] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/29 23:30:45] @ Quit: project2501b: Ping timeout: 260 seconds
[2010/06/29 23:31:07] @ project2501a joined channel #puppet
[2010/06/29 23:32:27] <alcy> is there a way to roll back changes, instead of editing *.pp files and manually ensuring ?
[2010/06/29 23:32:46] @ blkperl_ is now known as blkperl
[2010/06/29 23:32:51] @ blahdeblah joined channel #puppet
[2010/06/29 23:34:44] <blahdeblah> Hey folks, i'm trying to get a directory recursively copied, minus all the .svn directories on the puppetmaster. But ignore => ".svn" doesn't seem to be acting as i expect. Am i missing something?
[2010/06/29 23:35:32] @ m1nish joined channel #puppet
[2010/06/29 23:36:13] <blahdeblah> Here's my configuration snippet: http://puppet.pastebin.com/EbVWL21k
[2010/06/29 23:36:13] <nico> .svn*
[2010/06/29 23:36:35] <blahdeblah> nico: why would i need the * when the directory is only ever called ".svn"?
[2010/06/29 23:36:55] <nico> cause you ignore the dir but not its content then
[2010/06/29 23:37:13] <nico> .svn* works fine for me
[2010/06/29 23:37:56] <nicklewis> Sounds like a bug to me
[2010/06/29 23:38:06] <nicklewis> Though I don't know the exact semantics of ignore
[2010/06/29 23:39:22] <blahdeblah> Definitely not working as i expect...
[2010/06/29 23:40:48] @ Quit: fbe: Ping timeout: 265 seconds
[2010/06/29 23:41:27] <nicklewis> Well see if .svn* works for you
[2010/06/29 23:43:30] @ dagdamor joined channel #puppet
[2010/06/29 23:44:31] <nicklewis> Hmm ignore => ".svn" works for me
[2010/06/29 23:47:36] <blahdeblah> nicklewis: Does every .svn directory get ignored, or just the top level one?
[2010/06/29 23:48:46] <nicklewis> All of them do
[2010/06/29 23:48:56] <sejo> do you guys know if NSA compliance has been enforced before by puppet?
[2010/06/29 23:49:59] <nevyn> NSA compliance?
[2010/06/29 23:50:09] <nico> probably an US thing
[2010/06/29 23:50:21] <nevyn> surely that's 3% technology stuff and 97% paper procedure people stuff
[2010/06/29 23:50:52] <nevyn> sejo: if you're asking if puppet can handle MAC systems like selinux then the answer is yes.
[2010/06/29 23:51:53] <sejo> nico no not a US thing
[2010/06/29 23:52:21] <sejo> for ISO standards and SOX we need our servers to be NSA compliant, so going to do that with puppet
[2010/06/29 23:52:42] <sejo> nevyn: setting iptables is the thing I'm fearing
[2010/06/29 23:52:58] <sejo> as I need to be able to add single rules depending on what node
[2010/06/29 23:53:28] <nevyn> sejo: we had to implement host firewalls for a company security policy in a previous role
[2010/06/29 23:53:32] <zipkid> sejo: start by letting ppl know what NSA is ....
[2010/06/29 23:53:41] <sejo> zipkid!
[2010/06/29 23:53:57] <nevyn> zipkid: he'd tell you but then he'd have to kill you ;)
[2010/06/29 23:54:12] <sejo> NSA http://www.nsa.gov/snac/os/redhat/rhel5-guide-i731.pdf
[2010/06/29 23:54:24] <zipkid> nevyn: i'll kill him at the next inter-company meeting here....
[2010/06/29 23:54:29] <nevyn> oh those recommendations.
[2010/06/29 23:54:37] <nevyn> note.. reccommendations.
[2010/06/29 23:54:48] <sejo> zipkid: eer you _do_ know that I'm no longer working for inuits do yoU?
[2010/06/29 23:55:02] <zipkid> "08:58 < sejo> nico no not a US thing" Eum... that url looks very much USA-ish to me...
[2010/06/29 23:55:08] <nicklewis> Okay I'll test on 24.8
[2010/06/29 23:55:18] <sejo> yes but it's not only used i the US
[2010/06/29 23:55:23] <zipkid> sejo: ah yes... i do ... i'll kill you anyway...
[2010/06/29 23:55:28] <sejo> haha
[2010/06/29 23:55:38] @ rmayr joined channel #puppet
[2010/06/29 23:55:38] <nico> sejo: where then ?
[2010/06/29 23:55:47] <sejo> nico belgium
[2010/06/29 23:56:04] * nico phones to his neighbour
[2010/06/29 23:56:46] <nicklewis> blahdeblah: It seems to still work for me even on 0.24.8
[2010/06/29 23:56:52] <blahdeblah> hmmm
[2010/06/29 23:56:58] <blahdeblah> I've gotta go - bbl
[2010/06/29 23:57:04] <blahdeblah> Thanks for the help, nicklewis
[2010/06/29 23:57:05] <zipkid> sejo: adding / removing single FW rules with shorewall works perfectly...
[2010/06/29 23:57:08] @ Quit: blahdeblah: Quit: Leaving.
[2010/06/29 23:57:56] <nicklewis> Oohh he left right when I figured out his problem
[2010/06/29 23:57:59] @ monzie joined channel #puppet

Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!