[Puppet Users] Re: The way Puppet installs things fail

2013-05-28 Thread Mayur
Did you get any solution for this? I am facing the same problem. Please let me know. On Thursday, January 31, 2013 11:34:54 AM UTC-8, Ayub wrote: > > Basically, the way puppet installs things things with > > /usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install > > > fails due to au

[Puppet Users] Puppet displays title as 'main'

2013-05-28 Thread avery
I have a file with this code in it: notify {'a': message => "${title}" } The output after running 'puppet apply file.pp': notice: main notice: /Stage[main]//Notify[a]/message: defined 'message' as 'main' notice: Finished catalog run in 0.57 seconds I expected this output: notice: a notice: /

[Puppet Users] Re: mcollective getaddrinfo: Name or service not known

2013-05-28 Thread amd2arm
Had the same problem, but worked when i have commented out path. filebucket { 'main': server => 'learn.localdomain', #path => false, } and it was only one time weird, then i uncommented it out and worked fine filebucket { 'main': server => 'learn.localdomain', path => false, } Dont

Re: [Puppet Users] runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Eric Sorenson
Absolutely true Tim and while I thank the folks on the thread who chimed in, I totally understand your frustration. Sure docs are never perfect but the fact is you were looking for something specific and couldn't find it, and that sucks. Were you looking at the output of 'puppet master --genco

[Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Tim Schaefer
Thanks for your response, and I'm sorry for ranting, but I remain unhappy with the docs. My expectations do remain high for Puppet Enterprise, and the open source product, I am certainly a huge fan. But I don't think it's unreasonable to have complete docs that include working examples of code an

Re: [Puppet Users] Re: PuppetDB database tunning

2013-05-28 Thread shell heriyanto
Hi Ken thanks for your reply, We using Postgresql, we just have about 150 puppet agent, and for 130 agent its just run once per day, every day its take about 150MB. We using puppetDB 1.1.0. I will try to update puppetDB today. On Tue, May 28, 2013 at 10:23 PM, Ken Barber wrote: > What kind of d

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread Barry D
Thanks David for the detailed response. This helps a lot. I'll take a step back to regroup and look at Vagrant and see if I need to put into better words exactly what it is I'm trying to accomplish. Best regards - Barry On Tuesday, May 28, 2013 9:49:54 PM UTC-4, David R. wrote: > > Typical pup

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread David Rolston
Typical puppet use is to write manifests. Manifests can easily install packages using the package manager of your choice, update configuration files, start services, run scripts, etc.. so there is probably a way to do what you want, however, I've never tried to do this using the REST api. Further

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread Barry D
This looks promising. Is this the only way to install VMs using Puppet? Thanks On Tuesday, May 28, 2013 8:34:35 PM UTC-4, David R. wrote: > > Have you taken a look at http://www.vagrantup.com/ > > > On Tue, May 28, 2013 at 5:01 PM, Barry D > > > wrote: > >> Mainly Linux, but other OSs are fine.

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread Barry D
Thanks! I'll take a look at this. On Tuesday, May 28, 2013 8:16:02 PM UTC-4, Ygor wrote: > > Try: Google [ puppet vmware ] > > https://puppetlabs.com/solutions/vmware/ > http://docs.puppetlabs.com/pe/2.0/cloudprovisioner_vmware.html > > https://puppetlabs.com

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread David Rolston
Have you taken a look at http://www.vagrantup.com/ On Tue, May 28, 2013 at 5:01 PM, Barry D wrote: > Mainly Linux, but other OSs are fine. > I will need to install VMs. Then uninstall them later. > > > On Tuesday, May 28, 2013 7:35:12 PM UTC-4, Ygor wrote: >> >> On May 28, 2013, at 4:35 PM, Bar

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread Dan White
Try: Google [ puppet vmware ] https://puppetlabs.com/solutions/vmware/ http://docs.puppetlabs.com/pe/2.0/cloudprovisioner_vmware.html https://puppetlabs.com/blog/introducing-the-latest-vmware-and-puppet-labs-integration/ https://puppetlabs.com/blog/featured-forge-module-craig-watsons-vmware-tools

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread Barry D
Mainly Linux, but other OSs are fine. I will need to install VMs. Then uninstall them later. On Tuesday, May 28, 2013 7:35:12 PM UTC-4, Ygor wrote: > > On May 28, 2013, at 4:35 PM, Barry D wrote: > > > Hi, > > > > I am currently evaluating Puppet and have some questions: > > • How do

Re: [Puppet Users] Puppet REST API Questions

2013-05-28 Thread Dan White
On May 28, 2013, at 4:35 PM, Barry D wrote: > Hi, > > I am currently evaluating Puppet and have some questions: > • How do we (or can we) trigger software installs using the REST API? > • How can we (can we at all) use the REST API to list what software is > available to install? >

[Puppet Users] Re: Puppet REST API Questions

2013-05-28 Thread Barry D
Already tried. It wasn't very helpful with the info I'm seeking. On Tuesday, May 28, 2013 5:09:58 PM UTC-4, windowsrefund wrote: > > > I suggest taking a few hours/days to go through the existing documentation. > -- *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic me

Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Ellison Marks
Well, it's an open source project. If you feel the docs aren't clear enough, you can file a ticket or submit a pull request via git. http://docs.puppetlabs.com/contribute.html On Tuesday, May 28, 2013 1:42:40 PM UTC-7, Tim Schaefer wrote: > > Puppet docs are the last place I look not the first p

[Puppet Users] Re: Puppet REST API Questions

2013-05-28 Thread windowsrefund
I suggest taking a few hours/days to go through the existing documentation. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroup

Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Matthew Burgess
On 28 May 2013 21:42, Tim Schaefer wrote: > Puppet docs are the last place I look not the first place, and that's my > annoyance with the documentation. > That just sounds...odd. Where would you expect to find things documented, if not in the documentation? > Anyway I did find the snippet of

Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Tim Schaefer
Puppet docs are the last place I look not the first place, and that's my annoyance with the documentation. Clear, complete, unambiguous, working docs with real-world examples are what we need. It gets really annoying to have to download modules from forge and have to wade through code to see what

[Puppet Users] Puppet REST API Questions

2013-05-28 Thread Barry D
Hi, I am currently evaluating Puppet and have some questions: - How do we (or can we) trigger software installs using the REST API? - How can we (can we at all) use the REST API to list what software is available to install? - Can a client browse the Puppet repository using a REST

Re: [Puppet Users] Re: Execution order of classes in a node

2013-05-28 Thread Bikram
jcbollinger stJude.org> writes: > If you apply only the first two classes to a clean system, does the domain get created?  I bet it does.John > Yes, if I run the first two classes first and then separately run the wldomain_create class, it creates the domain successfully. When I run all of

Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Matthew Kennedy
It is there, just where Eric said it was. No need to get upset. It might be helpful to mention where the time notation format can be found in the sections where it is used. Would preempt issues like this in the future. Matt On May 28, 2013 1:46 PM, "Tim Schaefer" wrote: > Item 175: runinterval

Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Tim Schaefer
Item 175:runinterval How often puppet agent applies the client configuration; in seconds. Note that a runinterval of 0 means “run continuously” rather than “never run.” If you want puppet agent to never run, you should start it with the --no-client option. Can be specified as a duration. - *De

[Puppet Users] Re: Suppress deprecation warnings because of Referencing Variables

2013-05-28 Thread Eric Sorenson
Chris, thanks very much for the pull requests to fix the modules. I'll work up a fix for the docs; it looks like in particular the second bullet at http://docs.puppetlabs.com/guides/templating.html#referencing-variables needs to reflect the deprecation and, as you note, the second half still u

[Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Eric Sorenson
http://docs.puppetlabs.com/references/latest/configuration.html Top of the page, just under the headers: Settings that represent time intervals should be specified in duration format: an integer immediately followed by one of the units ‘y’ (years of 365 days), ‘d’ (days), ‘h’ (hours), ‘m’ (minu

[Puppet Users] Re: Puppet master 3.2.1 crashing

2013-05-28 Thread Eric Sorenson
Hi Alexsei, when I look at your log this seems like the problem (line 114 and 124): 1. Info: Caching node for %REMOTE_AGENT_HOSTNAME% 2. This looks like the web front-end is not passing the certificate subject to the Puppet master back-end. Can you paste more details about your web s

[Puppet Users] Link agents to a server...

2013-05-28 Thread Alejo Granero
Hello to all. I have a question, how can I do to link de agents to a server? Im using Puppet Dashboard and I've created the nodes on the Dashboard but they are "unrecognised".. Im sorry, my English is very bad. -- You received this message because you are subscribed to the Google Groups "Puppe

Re: [Puppet Users] Re: PuppetDb Query Help/Problems

2013-05-28 Thread Deepak Giridharagopal
On Fri, May 24, 2013 at 5:27 PM, Worker Bee wrote: > Actually, I am getting no results.. > > [ ] > > I assume this means that facts are not being stored but, I cannot figure > out why/how to troubleshoot... > FWIW, if you want to find all the facts for a node you can just hit "/v2/nodes/myhost.m

Re: [Puppet Users] Issue with Puppet & Packages which are installed multiple times

2013-05-28 Thread Nan Liu
On Tue, May 28, 2013 at 3:57 AM, bjoern pohl wrote: > Hi, > hopefully this hasn't been discussed too often, haven't found anything in > the group: > > I'm having some issues when a package gets installed twice ( x86 & x64 > version). > #system is a RHEL5/x64 system. > *#following manifest:* > [roo

Re: [Puppet Users] Re: PuppetDB database tunning

2013-05-28 Thread Ken Barber
What kind of database is this? Postgresql or the built-in HSQLDB? And - how are you calculating the database size? On Tue, May 28, 2013 at 12:19 PM, shell heriyanto wrote: > no efect, this my configuration: > > gc-interval = 60 > node-ttl = 30m > node-purge-ttl = 30m > report-ttl = 30m > > I make

Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server

2013-05-28 Thread Ripunjay Godhani
Thanks a lot will go through it On 28 May 2013 20:20, Matthew Burgess wrote: > On 28 May 2013 15:48, Ripunjay Godhani wrote: > >> Hi Stan >> Thanks for your quick support , tell me how can i get started.. >> >> i haven't yet installed puppet on my machine any instructions would be >> gre

Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server

2013-05-28 Thread Matthew Burgess
On 28 May 2013 15:48, Ripunjay Godhani wrote: > Hi Stan > Thanks for your quick support , tell me how can i get started.. > > i haven't yet installed puppet on my machine any instructions would be > greatly appreciated > PuppetLabs provide some pretty comprehensive documentation at http://docs.

Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server

2013-05-28 Thread Ripunjay Godhani
Hi Stan Thanks for your quick support , tell me how can i get started.. i haven't yet installed puppet on my machine any instructions would be greatly appreciated On 28 May 2013 20:12, Stan wrote: > hi > > Server > /etc/init.d/puppetmaster start > > > Client > /etc/init.d/puppet start > > > re

[Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server

2013-05-28 Thread Stan
hi Server /etc/init.d/puppetmaster start Client /etc/init.d/puppet start regards Le mardi 28 mai 2013 16:35:14 UTC+2, Ripunjay Godhani a écrit : > > Hello friends, > > Please tell me can i have puppet master and puppet agent on same machine > > I am new to this world. > > Please tell me how c

[Puppet Users] attention Puppet Experts: can i run puppet master and agent on same server

2013-05-28 Thread Ripunjay Godhani
Hello friends, Please tell me can i have puppet master and puppet agent on same machine I am new to this world. Please tell me how can i get started. Thanks and Regards, *Ripunjay Godhani* *"The Great Man Shows his Greatness by the Way He treats the Little man"* -- You received this messag

[Puppet Users] runinterval - is it seconds or minutes? Docs are incomplete!

2013-05-28 Thread Tim Schaefer
OK so is it minutes or seconds for runinterval? And what's the correct format Please put an example in the docs! Do I use 15m for 15 minutes or is it 900 for 900 seconds? I hate ambiguity in documentation! Be precise! -- You received this message because you are subscribed

[Puppet Users] Puppet master 3.2.1 crashing

2013-05-28 Thread Алексей Щербаков
How can I debug Puppet master? I try start master like this: puppet master --debug --verbose --no-daemonize And when I launch remote agent on some step master is crashing. Master log: http://pastebin.com/c2CMu5L2 Agent log: http://pastebin.com/ewcWPLDD -- You received this message because you

[Puppet Users] Bootstrapping Puppet

2013-05-28 Thread mjuszczak
Hi folks, I'm mostly following this methodology of bootstrapping puppet/puppetdb/postgres without issue: http://forge.puppetlabs.com/puppetlabs/puppetdb#multiple-node-setup However, our puppet setup also involves OpenLDAP. because we use it to store node configs (variables, however, live in hi

[Puppet Users] Re: puppetlabs-nginx & dashboard parameters

2013-05-28 Thread Pedro Pessoa
I had to do this: https://github.com/serverdensity/puppetlabs-nginx/commit/663124ec3437b3ccfedd6226608258d9440b6e33 from: https://github.com/ashwoods/puppetlabs-nginx/commit/04bf6444750f9d2d59e72be8e99655a66a24b908 On Thursday, July 26, 2012 12:11:51 AM UTC+1, LeonB wrote: > > I would like to s

[Puppet Users] Issue with Puppet & Packages which are installed multiple times

2013-05-28 Thread bjoern pohl
Hi, hopefully this hasn't been discussed too often, haven't found anything in the group: I'm having some issues when a package gets installed twice ( x86 & x64 version). #system is a RHEL5/x64 system. *#following manifest:* [root@kermit ~]# cat install_expect.pp package { 'expect': ensur

[Puppet Users] Using Puppet to Puppetize Multiple Puppet Masters

2013-05-28 Thread mjuszczak
How do folks tend to go about puppetizing multiple puppet masters for use in other environments from a central puppet master? Since there are overlapping directories (such as SSL), is it possible to puppetize new puppet servers which will eventually live standalone from an existing puppet mast

[Puppet Users] Error "Illegal instruction (core dumped)" when running puppet agent (version 3.2.1)

2013-05-28 Thread Aqeel Nazeer
Hi, I just upgraded my puppet to version to 3.2.1, and when running the agent, I get an error saying "Illegal instruction (core dumped)". Here is some details: - both master and agent is run on the same machine - # cat /etc/redhat-release CentOS release 6.2 (Final) - # uname -r 3.9.3-x86_

Re: [Puppet Users] PuppetDB 1.3/ HSQLDB vs Postgres

2013-05-28 Thread Worker Bee
Thank you VERY much! I will check this out ASAP! Bee On Tue, May 28, 2013 at 8:27 AM, Matthew Burgess < matthew.2.burg...@gmail.com> wrote: > http://docs.puppetlabs.com/puppetdb/latest/scaling_recommendations.htmlhas a > few points regarding the pros/cons of each of the DB backends for > pupp

Re: [Puppet Users] Re: Execution order of classes

2013-05-28 Thread jcbollinger
On Monday, May 27, 2013 8:48:48 AM UTC-5, Markus Shorty Uckelmann wrote: > > Am 24.05.2013 16:20, schrieb jcbollinger: > > >>Whenever I run this code on a client, the "directories" class gets > >>executed first > > > > As judged how? > > Running "puppet apply --test" in a Client, des

Re: [Puppet Users] PuppetDB 1.3/ HSQLDB vs Postgres

2013-05-28 Thread Matthew Burgess
http://docs.puppetlabs.com/puppetdb/latest/scaling_recommendations.html has a few points regarding the pros/cons of each of the DB backends for puppetDB. Regards, Matt. On Sat, May 25, 2013 at 6:09 PM, Worker Bee wrote: > Hi everyone; > > I was just wondering if anyone has any opinion/informa

[Puppet Users] Re: custom type and provider testing

2013-05-28 Thread Daniel Kerwin
Hi Corey, you would basically test it like normal ruby code. Here's a example for a type test. You could check out one of my type tests here: https://gist.github.com/anonymous/5662336 Hope this helps! Cheers, Daniel Am Dienstag, 28. Mai 2013 04:06:59 UTC+2 schrieb Corey Osman: > > Hi, > > I

Re: [Puppet Users] PuppetDB

2013-05-28 Thread Worker Bee
Thank you so much for the reply! I posted a thread asking just that question. I was having difficulty finding documentation about pros/cons of using the embedded HSQLDB vs Postgres. Thanks again! Bee On Tue, May 28, 2013 at 4:20 AM, Martijn wrote: > Just to clarify that statement: Postgres

Re: [Puppet Users] Re: PuppetDB database tunning

2013-05-28 Thread shell heriyanto
no efect, this my configuration: gc-interval = 60 node-ttl = 30m node-purge-ttl = 30m report-ttl = 30m I make ttl fast to see the change but still, my database still grow bigger. Its need to remove the database fast and create again, to make this work? how ttl work? is it just count when we do ad

[Puppet Users] Re: Suppress deprecation warnings because of Referencing Variables

2013-05-28 Thread Martijn
Op vrijdag 24 mei 2013 16:13:49 UTC+2 schreef Christopher Rutter het volgende: > > I feel like this new "warning" might have been a bit premature, then > again, I suppose this will force people to fix the problem. > -Chris > > That's exactly what a deprecation warning is for. It doesn't break an

Re: [Puppet Users] PuppetDB

2013-05-28 Thread Martijn
Just to clarify that statement: Postgres is actually optional, but recommended for production use. The embedded db works fine for testing but doesn't scale well. Regards, Martijn Op vrijdag 24 mei 2013 23:36:13 UTC+2 schreef Ashley Penney het volgende: > > You definitely still need postgres! I

Re: [Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)

2013-05-28 Thread Martijn
Eric, I've not used the puppetlabs-release deb at all. my EC2 hosts have the puppetlabs repo added at bootstrap time, through cloud-init user-data. This is the entire config. #cloud-config manage_etc_hosts: true hostname: fqdn: .example.com apt_sources: - source: "deb http://apt.puppetlabs.com

[Puppet Users] Re: Puppetdbquery 1.1.0, now featuring hiera backendception

2013-05-28 Thread Martijn
That is very cool, Erik, and looks very useful. Thanks, Martijn Op maandag 27 mei 2013 20:44:19 UTC+2 schreef Erik Dalén het volgende: > > I just released dalen-puppetdbquery 1.1.0, one cool new feature in this > release is a hiera backend. > > -- You received this message because you are subs