[Puppet Users] Re: puppet-dashboard - rake API not working

2012-11-19 Thread Jacob
Thanks :) Now I get # sudo -u puppet-dashboard rake -f /usr/share/puppet-dashboard/Rakefile 'node:list' (in /usr/share/puppet-dashboard) DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are deprecated. Use lib/tasks instead. (called from /usr/share/puppet-dashboard/vendor/

[Puppet Users] Re: Scope object available functions and getting the local scope, or node scope variable values

2012-11-19 Thread Jayapandian Ponraj
I have a node(b) inheriting another node(a). node(a) includes a class(c) which inturn inherits class(d). I need to access the variable defined in node (b) from class (d). I am not sure if its possible As far as i know the node scope ends at node (a)Wat ll be the fully qualified name for

Re: [Puppet Users] Re: Issue with service => disabled and stopped

2012-11-19 Thread Matthaus Owens
Both of these init scripts always return 0. Puppet assumes that the init script will return 0 as a status for a running service and nonzero for a stopped service. Because of this, when Puppet calls `service hidd status` to see if hidd needs to be stopped, it thinks it does, as status returns 0. hi

[Puppet Users] Announce: Puppet 2.7.20 Available

2012-11-19 Thread Moses Mendoza
Puppet 2.7.20 is a maintenance release for Puppet in the 2.7.x series with bug fixes and backwards-compatible performance improvements back-ported from the 3.0.x series. Downloads are available at: * Source https://downloads.puppetlabs.com/puppet/puppet-2.7.20.tar.gz Windows package is available

[Puppet Users] Re: inconsistencies with arrays: want multiple requires

2012-11-19 Thread Philip Brown
Huh. I could have SWORN I tried that syntax already. First thing,even. But... it works. Thanks for the reply :) On Monday, November 19, 2012 5:31:25 PM UTC-8, joe wrote: > > I think you misunderstand what puppet is doing there. Variables are not a > literal character replacement, they have typ

[Puppet Users] Re: inconsistencies with arrays: want multiple requires

2012-11-19 Thread joe
I think you misunderstand what puppet is doing there. Variables are not a literal character replacement, they have types. I think what you want is require => Package[$pkglist] The [] in your variable assignment tells puppet it is an array. The [] in the Package example I provided tells puppet

[Puppet Users] Solaris processor count facts - bug or feature?

2012-11-19 Thread Alex Harvey
Hi all, This relates to a discussion we are having in the Redmine ticket https://projects.puppetlabs.com/issues/11612. I am extending the processorcount, physicalprocessorcount and processorX facts that exist for Linux and Solaris. I personally find the behaviour of the processor facts on Sola

[Puppet Users] Re: Issue with service => disabled and stopped

2012-11-19 Thread Forrie
Thanks for the explanation, I appreciate it. These services are provided by Redhat as are the init scripts, which report: # /etc/init.d/cups-config-daemon status cups-config-daemon is obsolete # /etc/init.d/hidd status hidd is stopped I can see where the first one is unexpected to Puppet. I

[Puppet Users] hiera-puppet

2012-11-19 Thread Josh Cooper
As of the release of Puppet 3.0.0, hiera-puppet has been incorporated into the puppet codebase. See ticket #11608 for more details[1]. The standalone hiera-puppet package is only needed for releases of puppet prior to 3.0.0[2]. The 1.x branch of hiera-puppet is for those older versions of puppet,

[Puppet Users] inconsistencies with arrays: want multiple requires

2012-11-19 Thread Philip Brown
I've poked around the puppet docs, and google, and so far I'm stuck on an apparent inconsistency of usage, when it comes to using arrays, and variables, interchangably. I should mention this is with puppet 3.0.1 If you use literal arrays, both of the following are possible and accepted by puppe

[Puppet Users] Re: Puppet dashboard over passenger: The environment must be purely alphanumeric, not ''

2012-11-19 Thread Eric Sorenson
Hi Andrew, sorry I wasn't clear -- The config.ru is probably fine, the problem is more likely in the Apache configuration (usually in /etc/httpd/conf.d/) that sets up the two virtual hosts (One for the puppetmaster and the other for Dashboard). There might be an overlapping virtualhost definiti

Re: [Puppet Users] Seeking some Puppet advice for a newbie (specifically Virtualmin/CSF related)

2012-11-19 Thread Ilya Dmitrichenko
Hi, Yes, you probably want to do something like this: class virtualmin::install { $version = '1.2.3-foo' exec { 'get installer script': command => 'wget http://software.virtualmin.com/gpl/scripts/install.sh', cwd => '/tmp', creates => '/tmp/install.sh', } file { '/tmp/install.s

Re: [Puppet Users] Seeking some Puppet advice for a newbie (specifically Virtualmin/CSF related)

2012-11-19 Thread Laurence Cope
Whe I ask what is a package, I mean is a package installed using yum in a repo. And if so, is it any repo installed on the server, or the default ones or what? For packages not in the default repo but somewhere else I guess I add that repo using puppet first then install the package? I don't kn

Re: [Puppet Users] Seeking some Puppet advice for a newbie (specifically Virtualmin/CSF related)

2012-11-19 Thread Laurence Cope
Thanks. But my main stumbling block is installing Virtualmin. I am not sure it's a "package". How do I know? What defines a package? I could use exec to install it I think maybe. But what about the questions it asks during the manual install? Can Puppet answer manual questions asked during ins

Re: [Puppet Users] Seeking some Puppet advice for a newbie (specifically Virtualmin/CSF related)

2012-11-19 Thread Jakov Sosic
On 11/19/2012 08:57 PM, Laurence Cope wrote: > I wondered if this is very possible with Puppet so I can continue to > learn, OR if not then I will give up now as I already spent a while on > this. Yes, you can manage firewall and everything else with puppet. Just write your own modules or use ex

[Puppet Users] Re: Question about PuppetDB queries

2012-11-19 Thread Chris Price
Hi, Thanks for letting us know about the log messages you are seeing! A few thoughts: 1) Re: the first query that you sent (DELETE FROM catalogs...): this is the PuppetDB "garbage collector", which cleans up unused data from the tables every so often. It's not entirely shocking that this quer

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-19 Thread Jeff McCune
On Mon, Nov 19, 2012 at 3:38 PM, Oliver Leach wrote: > Great to hear that Jeff. Confirmed, 3.0.1 it is. Is there a bug list I can > track? The best way I've found to track what issues we know about and what version we plan to fix them in is available at: https://projects.puppetlabs.com/projects/p

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-19 Thread Oliver Leach
Great to hear that Jeff. Confirmed, 3.0.1 it is. Is there a bug list I can track? On Mon, Nov 19, 2012 at 6:53 PM, Jeff McCune wrote: > On Fri, Nov 16, 2012 at 7:13 AM, vioilly wrote: > > That's a another reason for me to go toward 3.0.1. I assume it is a > stable > > release? > > The long answ

[Puppet Users] Seeking some Puppet advice for a newbie (specifically Virtualmin/CSF related)

2012-11-19 Thread Laurence Cope
HI Forgive me if this is such a newbie issue. I am learning Puppet to manage several servers we have. The tutorials on manifests etc. seem a bit simplistic for I want, if what I want can be achieved with Puppet. Our servers are web hosting servers. We use Virtualmin (and Webmin) to manage the

Re: [Puppet Users] Puppet Package Provider Continuously Re-installing Packages

2012-11-19 Thread Reginald Choudari
Ah this works perfectly, thanks a lot. Reggie On Monday, November 19, 2012 12:50:38 PM UTC-5, Josh Cooper wrote: > > Hi Reggie, > > On Mon, Nov 19, 2012 at 7:57 AM, Reginald Choudari > > wrote: > > We have specified in our manifests some Package resources to install > some > > self-extractin

Re: [Puppet Users] puppet verion 2.7 or 3?

2012-11-19 Thread Jeff McCune
On Fri, Nov 16, 2012 at 7:13 AM, vioilly wrote: > That's a another reason for me to go toward 3.0.1. I assume it is a stable > release? The long answer... It's an officially supported release, if that's what you mean. I can't say there aren't any bugs though. =) We're actively developing the

Re: [Puppet Users] Re: Getting Started with Hiera

2012-11-19 Thread Jeffrey Watts
I'd like to second Michael's suggestion. Kelsey's various presentations involving Hiera and data bindings were all excellent, and really cleared things up for me. Jeffrey. On Mon, Nov 19, 2012 at 11:57 AM, Michael Hall wrote: > Yup, we have some work to do on this. I recently joined the Puppet

[Puppet Users] Re: puppet-dashboard - rake API not working

2012-11-19 Thread Stefan Heijmans
Yes, I noticed it in 1.2.13 ( https://groups.google.com/d/msg/puppet-users/-s07XIymxCo/Yp3DpRU4t6EJ) but not in 1.2.14. Fixed it by running the mentioned 'rake gems:refresh_specs' Stefan On Monday, November 19, 2012 10:11:35 AM UTC+1, Jacob wrote: > > Hello all, > > I am quite new to the pupp

[Puppet Users] Re: Getting Started with Hiera

2012-11-19 Thread Michael Hall
Yup, we have some work to do on this. I recently joined the Puppet Labs documentation team, and getting Hiera better documented is high on my list of priorities. If you don't mind spending the time watching a video of a talk, I can recommend Kelsey Hightower's presentation at PuppetConf '12:

Re: [Puppet Users] Puppet Package Provider Continuously Re-installing Packages

2012-11-19 Thread Josh Cooper
Hi Reggie, On Mon, Nov 19, 2012 at 7:57 AM, Reginald Choudari wrote: > We have specified in our manifests some Package resources to install some > self-extracting .exe's onto our Windows Puppet machines. Currently we are > seeing that our agents are running these installers every Puppet run. We >

Re: [Puppet Users] Re: Dynamic Collection?

2012-11-19 Thread rajulvora
Ok, got it. Thanks for that clarification. I totally missed that distinction. Rajul On Mon, Nov 19, 2012 at 6:34 AM, jcbollinger wrote: > > > On Sunday, November 18, 2012 12:13:20 PM UTC-6, Rajul Vora wrote: >> >> >> From official documentation: >> >> User <| (group == dba or group == sysadmin)

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Dawn Foster
On Mon, Nov 19, 2012 at 12:09 AM, Martin Alfke wrote: > > On 19.11.2012, at 09:06, Geoff Galitz wrote: > >> Hi. >> >> I'd be in (with enough notice, of course). I'd be even more in if the >> conference was on the other side of Germany near Cologne or even in >> Belgium. I'm assuming you already

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

2012-11-19 Thread David Schmitt
On 2012-11-19 16:22, mickael avedissian wrote: Thank you for your answer Dave. This is the intended purpose of having the puppet agent move those folders every time it is called. Would it be an easier (more proper) way of doing it? Without knowing your actual requirements, a possible solutio

[Puppet Users] Puppet Package Provider Continuously Re-installing Packages

2012-11-19 Thread Reginald Choudari
We have specified in our manifests some Package resources to install some self-extracting .exe's onto our Windows Puppet machines. Currently we are seeing that our agents are running these installers every Puppet run. We have specified 'ensure => installed' but they are re-installing anyway. We

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

2012-11-19 Thread Laurence Cope
Ah right. that may explain the issue then. in that case do you or anyone know how to remove all trace of this install on my Mac? I usually use AppZapper but there is no app created. I cannot see anything to help undo the install. I decided to install some CentOS VMs in VirtualBox to learn Pup

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

2012-11-19 Thread mickael avedissian
Thank you for your answer Dave. This is the intended purpose of having the puppet agent move those folders every time it is called. Would it be an easier (more proper) way of doing it? Thanks, Mike On Monday, November 19, 2012 6:22:55 AM UTC-5, David Schmitt wrote: > > > You are passing an arr

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

2012-11-19 Thread jcbollinger
On Sunday, November 18, 2012 2:35:56 PM UTC-6, Walter Heck - OlinData.com wrote: > > 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 mys

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

2012-11-19 Thread jcbollinger
On Sunday, November 18, 2012 11:58:35 PM UTC-6, mickael avedissian wrote: > > > > 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 =>

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

2012-11-19 Thread jcbollinger
On Sunday, November 18, 2012 1:36:18 PM UTC-6, Rajul Vora wrote: > > > 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 s

Re: [Puppet Users] Re: Dynamic Collection?

2012-11-19 Thread jcbollinger
On Sunday, November 18, 2012 12:13:20 PM UTC-6, Rajul Vora wrote: > > > From official documentation: > > User <| (group == dba or group == sysadmin) or title == luke |> > > You are missing Nick's point. In your example, you declare *secondary*groups for your users via their 'groups' properties,

Re: [Puppet Users] Issue with service => disabled and stopped

2012-11-19 Thread jcbollinger
On Friday, November 16, 2012 6:51:19 PM UTC-6, Steven wrote: > > If it is happening every time, it is usually an issue with init script. > Puppet is not understanding the output of the init script, so it is not > saving the correct state. > Minor correction: it's not about what state Puppet

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

2012-11-19 Thread Jeff McCune
On Sun, Nov 18, 2012 at 9:35 AM, Laurence Cope wrote: > 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. This

[Puppet Users] Re: Scope object available functions and getting the local scope, or node scope variable values

2012-11-19 Thread jcbollinger
On Friday, November 16, 2012 6:30:43 AM UTC-6, Jayapandian Ponraj wrote: > > Is there a way to get the local scope values of puppet variables via > scope.? wat r all the available functions in scope? can anyone provide a > working example. One normally accesses local-scope variables direc

[Puppet Users] vcsrepo: Could not create repository (non-repository at path)

2012-11-19 Thread bowlby
Hi, I'm running into a problem using the puppetlabs provided vcsrepo-module. It keeps giving the same error: -- notice: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: Creating repository from latest err: /Stage[main]//Vcsrepo[/usr/share/test2]/ensure: change from absent to latest f

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

2012-11-19 Thread David Schmitt
On Mon, 19 Nov 2012 09:32:27 +1100, John Warburton wrote: > 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 fill

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

2012-11-19 Thread David Schmitt
You are passing an array (dir_name) into a single resource. Instead you want to create three separate resources: module_name::move { [ dir1, dir2, dir3 ]: ... } Also, I feel compelled to point out that having verbs or actions as names of resources is a big red warning flag, that you're doing

Re: [Puppet Users] Re: Puppet version 2.7 or 3?

2012-11-19 Thread David Schmitt
On Mon, 19 Nov 2012 11:21:34 +0100, David Schmitt wrote: >> bash-4.1$ rpm -qa | grep foreman >> foreman-1.0.1-4.20121022.el6.noarch >> foreman-postgresql-1.0.1-4.20121022.el6.noarch >> foreman-proxy-1.0.0-3.20121022.el6.noarch That I didn't notice, is that those are from 2012-10-22, which is not

[Puppet Users] Question about PuppetDB queries

2012-11-19 Thread ak0ska
Hello, We get a good amount of warnings regarding queries that couldn't be executed within the threshold. There are 2 types of queries that usually get logged with this warning, I just wanted to ask if these queries look normal, because we cannot really judge, as we're fairly new to PuppetDB.

Re: [Puppet Users] Re: Puppet version 2.7 or 3?

2012-11-19 Thread David Schmitt
On Sat, 17 Nov 2012 07:20:18 +0200, Ohad Levy wrote: > On Fri, Nov 16, 2012 at 10:10 AM, Thomas Bendler > wrote: > >> Hi Ohad, >> >> 2012/11/16 Ohad Levy >> >>> [...] >>> For the record, Puppet 3 support was added to foreman a couple of days >>> ago. >>> [...] >>> >> >> do you know when the pupp

[Puppet Users] Re: puppet DB for inventory

2012-11-19 Thread vioilly
Perfect. Thank you - I actually came across this URL and have read through it. Thanks for your reply On Sunday, November 18, 2012 10:07:44 PM UTC, Felipe Salum wrote: > > > http://docs.puppetlabs.com/puppetdb/1/using.html#using-the-inventory-service > > If you are using puppetdb backend you just

[Puppet Users] puppet-dashboard - rake API not working

2012-11-19 Thread Jacob
Hello all, I am quite new to the puppet arena, but I am really impressed with puppet as a tool and the possibilities it gives you with regards to managing many systems. I am running dashboard 1.2.14 and am trying to query via the rake API: http://docs.puppetlabs.com/dashboard/manual/1.2/rake_a

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread James Turnbull
Geoff Galitz wrote: > Hi. > > I'd be in (with enough notice, of course). I'd be even more in if the > conference was on the other side of Germany near Cologne or even in > Belgium. I'm assuming you already have a space you can use in Berlin, > though? > Geoff We're also going to have a Puppet

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Thorsten Biel
Hi Martin, I'm interested, depending on the actual date.. My location is near Stuttgart, not exactly around the corner, but Berlin isn't that much further away than Amsterdam. :) Do you have a tentative list of topics, maybe there's something where I could help out? Cheers, Thorsten On Mon, Nov

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Geoff Galitz
I'm only one man so don't make all your decisions around me, but do you happen to know the specific dates for those two months? Those just happen to be two difficult months for me. If necessary I can help to arrange a space on a different date. -G On Mon, Nov 19, 2012 at 3:09 AM, Martin Alfke

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Martin Alfke
On 19.11.2012, at 09:06, Geoff Galitz wrote: > Hi. > > I'd be in (with enough notice, of course). I'd be even more in if the > conference was on the other side of Germany near Cologne or even in > Belgium. I'm assuming you already have a space you can use in Berlin, > though? > > -G (located

Re: [Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Geoff Galitz
Hi. I'd be in (with enough notice, of course). I'd be even more in if the conference was on the other side of Germany near Cologne or even in Belgium. I'm assuming you already have a space you can use in Berlin, though? -G (located near Cologne) On Mon, Nov 19, 2012 at 3:02 AM, Martin Alfke

[Puppet Users] Do you want a Puppet Conference in Berlin, Germany

2012-11-19 Thread Martin Alfke
Hello everybody, I am thinking about running a Puppet Conf in Berlin/Germany. Are there any people on this list from nearby? Do you want to support (talk, workshop)? Many thanks, Martin -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post