[Puppet Users] Scope problem in 2.7.12, bug?

2012-11-18 Thread Walter Heck - OlinData.com
I was playing around with scopes, and I noticed the following behaviour, which strikes me as odd? This was done with Puppet Enterprise 2.5.3 which is really Puppet 2.7.12. I'm not sure what I would expect, quite likely an error message or at the very least 'mysql-server' package gettign installed.

[Puppet Users] puppet DB for inventory

2012-11-18 Thread vioilly
I am a little confused :) Couple of questions: Is the puppet DB the same as the inventory DB ? If so, can I have all my puppet masters pointing to the same DB and point dashboard at this DB so I can see all my puppet nodes and inventory through one puppet-dashboard? If not, then what is the d

[Puppet Users] Re: Scope problem in 2.7.12, bug?

2012-11-18 Thread Stefan Heijmans
No, i's not, it is correct, see http://docs.puppetlabs.com/guides/scope_and_puppet.html At the moment you 'include mysql' only the top scope package variable is known, so there fore mysql package will be installed. swap them around and mysql-server package will get installed. class mysql_serve

[Puppet Users] Re: Scope problem in 2.7.12, bug?

2012-11-18 Thread Stefan Heijmans
or here; http://docs.puppetlabs.com/puppet/2.7/reference/lang_scope.html -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/hVzytyGJ6rUJ. To post to this group

[Puppet Users] How do I uninstall Puppet on Mac?

2012-11-18 Thread Laurence Cope
Hi I followed the install instructions to install the dmg package on Mac. I got errors when setting up the group and users, cant find help on that. So I decided to not to use it on my Mac. I will set puppet up on Linux instead. but I cannot find any help on how to remove puppet from my Mac? T

[Puppet Users] Re: Dynamic Collection?

2012-11-18 Thread Nick Osborn
On Friday, November 16, 2012 9:04:44 PM UTC, Rajul Vora wrote: > > define realize_helper( ) { > User <| group == $name |> > } > ITYM 'groups' not 'group'. -- Nick -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion

Re: [Puppet Users] Re: Dynamic Collection?

2012-11-18 Thread rajulvora
>From official documentation: User <| (group == dba or group == sysadmin) or title == luke |> On Sun, Nov 18, 2012 at 8:55 AM, Nick Osborn wrote: > On Friday, November 16, 2012 9:04:44 PM UTC, Rajul Vora wrote: >> >> define realize_helper( ) { >> User <| group == $name |> >> } >> > >

[Puppet Users] HOME is not set when running post-installation script on Ubuntu

2012-11-18 Thread Rajul Vora
Trying to install mcollective with RabbitMQ. The following package install produces the errors listed below in Bold. I know exec resource unsets HOME and USER now starting with 3.0 and the workaround for that is to set "environment => 'HOME=/root'" for the exec resource. It looks like it is t

[Puppet Users] Re: Scope problem in 2.7.12, bug?

2012-11-18 Thread Walter Heck - OlinData.com
Hello, On Sun, Nov 18, 2012 at 6:47 PM, Stefan Heijmans wrote: > No, i's not, it is correct, see > http://docs.puppetlabs.com/guides/scope_and_puppet.html > > At the moment you 'include mysql' only the top scope package variable is > known, so there fore mysql package will be installed. > swap th

Re: [Puppet Users] "No support for http method HEAD"

2012-11-18 Thread Olaf Schreck
On Mon, Nov 12, 2012 at 01:47:33PM +0100, Bernd Adamowicz wrote: > The versions might be the reason. Never run agents with a higher version than > the master. Try upgrading your master or downgrading your agent. Most > presumably this will solve the problem. If not, just get back to the list. Th

[Puppet Users] Re: puppet DB for inventory

2012-11-18 Thread Felipe Salum
http://docs.puppetlabs.com/puppetdb/1/using.html#using-the-inventory-service If you are using puppetdb backend you just need to enable the dashboard inventory service and it will automatically get the inventory information from puppetdb. No more need to add those mysql settings on puppet.conf fo

[Puppet Users] Please document reports:prune Task Leaves Orphaned Data in Dashboard Documentation

2012-11-18 Thread John Warburton
Dear Puppet Labs I recently upgraded dashboard from 1.2.2 to 1.2.14. It was somewhat painful given the number of orphaned records that needed purging during database conversion Some weeks later, my 20 Gb mysql partition fills up with what should be a 1.5 Gb database. I assumed that with the orpha

Re: [Puppet Users] Re: razor hang

2012-11-18 Thread Markus Falb
On 11.10.2012 18:02, Daniel Pittman wrote: > On Thursday, October 11, 2012 5:34:47 AM UTC-7, Markus Falb wrote: >> I tried a virtualbox guest instead on my laptop with similar experience. >> It downloaded the kernel but hangs at the initrd. > Hrm. That seems to point fairly squarely to some od

[Puppet Users] Re: Pass args as array to definition, Template...

2012-11-18 Thread mickael avedissian
On Friday, November 6, 2009 5:24:54 PM UTC-5, Douglas wrote: > > Can I do this in puppet? I think the example is pretty self explanatory. > > jboss::create_inst { > tfel0: > version => $jboss_version, > naming_port => "1099", > db_info => [ db_name

[Puppet Users] Puppet passing an array to a define to move directories

2012-11-18 Thread mickael avedissian
Hi, I'm trying to use puppet to move some folders from one directory to another in Windows. That being said I have a parameterized define which looks like that: define module_name::move ($dir_name, $arg2){ $dir_origin = "c:/${dir_name}" $dir_destination = "c:/tmp/${arg2}" file { $dir_destinat