Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-10 Thread Jason Koppe
Thanks, that works as expected. On Sun, Aug 8, 2010 at 4:58 PM, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 08/07/2010 01:31 AM, Jason Koppe wrote: > > I ended up getting this syntax to work: > > just minor note: > > > > 4 $id, > > 5

Re: [Puppet Users] variable confusion

2010-08-10 Thread David Schmitt
On 8/9/2010 6:23 PM, Christopher Johnston wrote: Why can't variables be reassigned with a setup like this? node /.*mydomain.com/ { import mydomain.pp } node /*.yourdomain.com/ { import yourdomain.pp } In manifest mydomain.pp and yourdomain.

Re: [Puppet Users] Puppet and Andorid

2010-08-10 Thread Michael Gliwinski
On Tuesday 10 Aug 2010 04:06:22 Rohan McGovern wrote: > They need to be managed, just like everything else. Yeah, I fully agree. Especially since puppet can simply manage what needs to be managed and leave the rest alone, it's very useful to be able to "scale it down" and run on routers, tablet

Re: [Puppet Users] "ensure => running" an init script that isn't actually a service ?

2010-08-10 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> Which is what we want, but i'm curious as to _why_ this is so, >> given (again) that we're talking about an init script, and not a >> particular service that sits in memory. Granted, the effects of >> the script can be known - is puppet smart enoug

[Puppet Users] Installing packages that use dbconfig-common on Debian

2010-08-10 Thread Craig Box
I have been trying to use Puppet to install the Zabbix server, which uses dbconfig-common to set up its database. If you don't do anything more than package { "zabbix-server-mysql": ensure => installed }, then you end up with errors that look much like this (snipped for brevity) : err: //zabbix::

[Puppet Users] Adding a new User

2010-08-10 Thread parag(PK)
Hey, I tried to add a new user using puppet on my Ubuntu client,but i am getting problems when i get logged in . i get a complete empty desktop screen with an error ... HELP!! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Adding a new User

2010-08-10 Thread James Turnbull
parag(PK) wrote: > Hey, > > I tried to add a new user using puppet on my Ubuntu client,but i am > getting problems when i get logged in . i get a complete empty > desktop screen with an error ... > HELP!! > So... How about the following information: 1. Your Puppet version 2. Your manifest

[Puppet Users] Re: RHEL4 puppet-dashboard 1.0.3

2010-08-10 Thread ScubaDude
Packages I needed to get dashboard running on a RHEL4 Server: >From the Extra Packages for Enterprise Linux repository: http://fedoraproject.org/wiki/EPEL 32-bit: http://download.fedora.redhat.com/pub/epel/4/i386/repoview/ 64-bit: http://download.fedora.redhat.com/pub/epel/4/x86_64/repoview/

Re: [Puppet Users] Puppet and Andorid

2010-08-10 Thread Disconnect
Nothing that involves ruby counts as "scaling it down". At that point, you have so much spare ram and cpu that you are trying to use it all up somehow.. (That isn't a cut on ruby, although it does seem to be a little less efficient than, say, perl. The same thing would apply to any large interpret

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Adam Winberg
i've tested the storeconfigs option but i'm not fully getting what i want (do we ever..?). i've got quite a lot of files i sync with my clients via puppets fileserving capabilities. these files are tagged with different suffixes as labels, like: resolv.conf--serverA resolv.conf--CLUSTER1 resolv.co

Re: status of e-mail (Re: Re: [Puppet Users] Puppet and Andorid)

2010-08-10 Thread Disconnect
Enjoy your "off in the world", but how about not replying to list postings with this spam..? On Tue, Aug 10, 2010 at 10:34 AM, Joey B'Shalom wrote: > Hey, > > I’m often out in the world and only able to check email a couple of times > each day. I should be able to get back to you fairly soon, but

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-10 Thread Nigel Kersten
Argh. Everyone is doing this require dance because of the docs on definitions right? http://docs.puppetlabs.com/guides/language_tutorial.html#definitions We had a chat about that on the list a while ago and realized that was horribly out of date, I'll try to get a patch in to fix it. On Tue, A

[Puppet Users] puppet (puppet apply) and reporting and fact sync

2010-08-10 Thread Marc Zampetti
If I run in the disconnected mode using 'puppet' or 'puppet apply', is it possible to still have reports and facts synced to a central server? I've tried and it doesn't appear to be so, but I thought I would ask to make sure. Marc Zampetti -- You received this message because you are subscri

[Puppet Users] Recipe for Debians MySQL

2010-08-10 Thread Brent Clark
Hiya Would anyone have a recipe for Debian's MySQL. Thats to install and configure (i.e. root password). Kind Regards Brent Clark -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.co

[Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Jean Baptiste FAVRE
Hello everyone, While discovering puppet, I just figured out that facter does not recognise my server as Xen HVM DomU, at least not in virtual fact: # facter facterversion => 1.5.1 manufacturer => Xen operatingsystem => Debian operatingsystemrelease => 5.0.5 productname => HVM domU puppetversion

[Puppet Users] networking on centos

2010-08-10 Thread cola
Hi All. I'm new to puppet, just want to know which is the right way to configure networking on centos (5). Is there something built in, or should I use a module from puppet forge ? Following this thread : http://groups.google.com/group/puppet-users/browse_thread/thread/44dfd59abfb6a87e/968ef2708

[Puppet Users] Puppet/OpenSUSE 11.3 and packages

2010-08-10 Thread jose
I'm looking at using puppet with OpenSUSE 11.3. I've been using it happily with Centos 5 but am thinking of switching our lab clients to the former. I'm having a little trouble getting packages to install. Out of the box I get an error that "RPMs must specify a package source". I found a puppet gui

[Puppet Users] 403 after changing from webrick to mongrel

2010-08-10 Thread Darren Worrall
Hey folks, We're on the verge of deploying puppet into production so have changed from using webrick to mongrel with an apache reverse proxy. The nodes were behind a NAT firewall under webrick but it didnt seem to mind, however something isnt right with my reverse proxy configuration and I cant fi

Re: status of e-mail (Re: Re: [Puppet Users] Puppet and Andorid)

2010-08-10 Thread Joey B'Shalom
Gah. Sorry, everyone. Total faux pas on my part... I forgot to add this list address to my "don't respond to this" filter for my autoresponder. Mea maxima culpa. It's fixed now. joey On Tue, Aug 10, 2010 at 08:18, Disconnect wrote: > Enjoy your "off in the world", but how about not replying to l

Re: [Puppet Users] Re: RHEL4 puppet-dashboard 1.0.3

2010-08-10 Thread Rein Henrichs
Excerpts from ScubaDude's message of Tue Aug 10 06:58:53 -0700 2010: > Packages I needed to get dashboard running on a RHEL4 Server: Thanks for detailing your installation procedure. We'll add it to the Dashboard instructions. -- Rein Henrichs http://puppetlabs.com -- You received this message

Re: [Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > A quick look into virtual.rb, and a dirty hack later, I can see my HVM > domU as what they are. Now I wonder to know if I use the right fact ? this could be a bug, actually a missing recognition due to the difference of HVM domU (I guess). Can you f

Re: [Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Rein Henrichs
Excerpts from Jean Baptiste FAVRE's message of Sat Aug 07 05:46:12 -0700 2010: > Hello everyone, > > While discovering puppet, I just figured out that facter does not > recognise my server as Xen HVM DomU, at least not in virtual fact: > > [ snip ] > > A quick look into virtual.rb, and a dirty ha

Re: [Puppet Users] networking on centos

2010-08-10 Thread Jeff McCune
On Mon, Aug 9, 2010 at 5:46 AM, cola wrote: > I've puppet up running, and now the first thing I'm trying to achieve > is to configure the network interface ( /etc/sysconfig/network and / > etc/sysconfig/network.scripts/ifcfg-eth0 ) for a host as soon as it's > being provisioned. Managing these tw

Re: [Puppet Users] Re: RHEL4 puppet-dashboard 1.0.3

2010-08-10 Thread Igal Koshevoy
On 08/10/2010 06:58 AM, ScubaDude wrote: > Packages I needed to get dashboard running on a RHEL4 Server: > Thanks for describing this, we'll incorporate these into a future release of the Puppet Dashboard's documentation. I've added a feature ticket for this at http://projects.puppetlabs.com/iss

[Puppet Users] Re: Puppet + OpenVZ

2010-08-10 Thread Matthew Cluver
Rein, I'm not sure if you've seen the message on github, I wanted to respond here to make sure that you'd seen it. I've tested and confirmed that the patch Kai submitted will work correctly moving forward. Regards, Matt On Aug 9, 4:20 pm, Rein Henrichs wrote: > Excerpts from Matthew Cluver's m

Re: [Puppet Users] Puppet/OpenSUSE 11.3 and packages

2010-08-10 Thread Michael Knox
Jose, rug disappeared from OpenSuSE about 11.1/11.2. zypper as a package provider should be fully (thanks to patches #3802 & #1223) supported in puppet 2.6. I'm using 0.25.5 with those patches. The other hassle which I've just been dealing with is repo definitions, you can use yumrepo but I t

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Luke Kanies
That really does seem like something storeconfigs can give you, at least if you write the query. It's basically finding all files owned by the host in question. Something like (in ActiveRecord): Puppet::Rails::Node.resources.find_all { |resource| resource.type == "file" }.collect { |reso

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread R.I.Pienaar
- "Luke Kanies" wrote: > That really does seem like something storeconfigs can give you, at > least if you write the query. > > > It's basically finding all files owned by the host in question. > Something like (in ActiveRecord): > > > Puppet::Rails::Node.resources.find_all { |resource|

Re: [Puppet Users] Re: Puppet + OpenVZ

2010-08-10 Thread Rein Henrichs
Excerpts from Matthew Cluver's message of Tue Aug 10 12:59:51 -0700 2010: > I'm not sure if you've seen the message on github, I wanted to respond > here to make sure that you'd seen it. I've tested and confirmed that > the patch Kai submitted will work correctly moving forward. Thanks Matt. I'm m

Re: [Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Jean Baptiste FAVRE
Hello Rein, Strange, my mail took 3 days to be delivered :-/ By the way, I just had a look on the tickets you mentionned. As far as I can see, they are not duplicates with mine: it's definitelyt more dom0 detection failure related, not only domU. In my case, dom0 is perfectly detected. I can't sa

Re: [Puppet Users] Puppet and Andorid

2010-08-10 Thread Daniel Pittman
Disconnect writes: > Nothing that involves ruby counts as "scaling it down". At that point, you > have so much spare ram and cpu that you are trying to use it all up > somehow.. > > (That isn't a cut on ruby, although it does seem to be a little less > efficient than, say, perl. The same thing wo

Re: [Puppet Users] Puppet and Andorid

2010-08-10 Thread Disconnect
Looking at http://code.google.com/p/android-ruby/, it is an interpreted language on top of a mix of bytecompiled and native code. (So, slightly worse than other environments, where it is simply interpreted+native.) Puppet, being an interpreter in it's own right written in ruby, adds another layer

Re: [Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Rein Henrichs
Jean, Thanks for the info, I'll add it to the ticket. -- Rein Henrichs http://puppetlabs.com -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, se

[Puppet Users] Documentation contribution opportunity - Please help!

2010-08-10 Thread James Turnbull
Hi all One of the big pieces of work we undertook earlier in the year was migrating the wiki from Trac and establishing the Puppet Docs site at: http://docs.puppetlabs.com During this process we began doing a programmatic conversion of the Restructured Text output from the automatically generate

[Puppet Users] puppetrun with --class argument not working, ver. 0.25.5

2010-08-10 Thread alcy
I am experiencing the behavior reported in another bug report (http:// projects.puppetlabs.com/issues/1006) in version 0.25.5, that is: puppetrun --host xyz.def.com --class apache --debug --trace gives this: You must be using LDAP to specify host classes My puppet.conf looks like this: [ma

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-10 Thread Jason Koppe
Yes, that's part of the reason. I was working on my module at an obscene hour and that probably factors in to my extra require dance. On Tue, Aug 10, 2010 at 10:39 AM, Nigel Kersten wrote: > Argh. Everyone is doing this require dance because of the docs on > definitions right? > > http://docs.p

Re: [Puppet Users] inventory of managed resources

2010-08-10 Thread Adam Winberg
i've tested the localconfig.yaml parser and it works well, but it only shows which files puppet handles from a client point of view. i.e it shows that puppet manages "/etc/my.cnf" for my client but i really want to see which file it manages from a server point of view, i.e. "/path/to/fileshare/etc/

Re: [Puppet Users] Facter does not recognise Xen HVM DomU

2010-08-10 Thread Paul Nasrat
On 11 August 2010 03:26, Rein Henrichs wrote: > Jean, > > Thanks for the info, I'll add it to the ticket. Note that the "supported" way in terms of hardware is via the cpuid Hypervisor present leaf and Hypervisor CPUID Information Leaf See eg http://git.annexia.org/?p=virt-what.git;a=blob;f=vir