[Puppet Users] Problem running 3.2.1 master with parser=future
First off, I was under the impression from what I have been able to find about the future parser that old manifests should remain working. If there are backwards incompatibilities I missed, then please ignore this (and point me to where they are mentioned, please). I have reduced my problem to a very simple and basic setup. If I leave out the line parser=future from my [main] section in puppet.conf on my master (hostname 'dua'), the following setup works: in nodes/dua.pp - node 'dua' inherits 'sistemdasar' {} in nodes/sistemdasar.pp node 'sistemdasar' { package { 'screen': ensure = latest, } } And in my debug output I also see that screen is checked to be the latest version. When I insert the line parser=future in my [main] section in puppet.conf and change nothing else, I get the following error when running 'puppet agent --test': Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find parent resource type 'sistemdasar' of type node in production at /etc/puppet/manifests/nodes/dua.pp:1 on node dua Is this a bug? Wrong expectations? Deprecated syntax (I'm coming back to puppet after a very long time, and those manifests above are an adaptation of quite old stuff I had)? Thijs -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Puppetdbquery 1.1.0, now featuring hiera backendception
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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: apt repository appears to have dependency issue with latest release (3.2.1)
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: hostname fqdn: hostname.example.com apt_sources: - source: deb http://apt.puppetlabs.com $RELEASE main keyid: 4BD6EC30 filename: puppetlabs.list apt_update: true apt_upgrade: true packages: - puppet puppet: conf: agent: server: puppet.example.com certname: %i.hostname.eu-west-1 ...where hostname is set to the, well, desired hostname. This is enough to add the repo, install and configure Puppet and connect to our master, which then takes over. Puppet then configures the server, including taking over management of puppet.conf and puppetlabs.list. To resolve this upgrade issue, I've made two changes. I've modified the cloud-init script to correctly bootstrap new nodes: source: deb http://apt.puppetlabs.com $RELEASE main dependencies Also, I've fixed existing nodes by pushing a similar change through Puppet before attempting the upgrade to 3.2.1. Regards, Martijn Op donderdag 23 mei 2013 23:25:52 UTC+2 schreef Eric Sorenson het volgende: Quick question for those of you affected by this -- what did you to do to add the puppetlabs apt repo? Did you do it through the method described here: http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu .. or some other way? I'm trying to suss out whether the docs / packages are messing people up. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] PuppetDB
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! If you grab http://forge.puppetlabs.com/puppetlabs/puppetdb instead of installing it manually, it will help you get postgres and all the other dependencies you need installed. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Suppress deprecation warnings because of Referencing Variables
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 anything yet, but gets people to take notice. :-) Thankfully, deprecation warnings only show when the puppet master is restarted. Regards, Martijn -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: PuppetDB database tunning
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 add the option, so the older database still save? thanks for any comment. On Thu, May 23, 2013 at 9:50 AM, shell heriyanto shell.heriya...@gmail.comwrote: This what i'am find, thank you Klavs. On Wed, May 22, 2013 at 9:44 PM, Klavs Klavsen kl...@enableit.dk wrote: http://docs.puppetlabs.com/puppetdb/1.3/maintain_and_tune.html Den onsdag den 22. maj 2013 09.56.36 UTC+2 skrev Heriyanto: Hi, I've been use puppetdb about 6 months ago, and now the database more than 6gigs Is that any way to recycle database? the data on database more than 30days removed, I try to find is that any option in puppetDB so far, or we need to tune from database side(i use postgresql)? Thanks for any comment. Best regards, Heriyanto -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] PuppetDB
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 mart...@heemels.com wrote: 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! If you grab http://forge.puppetlabs. **com/puppetlabs/puppetdbhttp://forge.puppetlabs.com/puppetlabs/puppetdb **instead of installing it manually, it will help you get postgres and all the other dependencies you need installed. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: custom type and provider testing
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 am writing a custom native type/ provider and want to perform some rspec testing but I can't seem to find any documentation on how to test native types and providers. Can someone point me in the right direction. Corey -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] PuppetDB 1.3/ HSQLDB vs Postgres
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 beeworke...@gmail.com wrote: Hi everyone; I was just wondering if anyone has any opinion/information on the pros and cons of using the built-in HSQLDB vs Postgres. Thanks! Bee -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: Execution order of classes
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, destroying the client(it's a Vagrant instance) and doing it again... ;) All of the methods you tried for declaring the needed relationship are valid and appear correct. I conclude that you have diagnosed the problem incorrectly. How should I have diagnosed this? Would have the debug switch helped? those classes' implementations. I suggest you read the documentation on that area (http://docs.puppetlabs.com/puppet/3/reference/lang_containment.html) for information on that problem and and least one possible solution. That did the trick. Now my code looks like this: class database ( $serverpackage = 'mariadb' ) { class { 'database::packages': serverpackage = $serverpackage, } # setup data dirs(should change my.cnf and restart mysql!) class { 'database::directories': require = Class['database::packages'], } anchor {'db_first':} - Class['database::packages'] - anchor {'db_last':} [...] } After a handful of testruns it seems to work. I had read the documentation you mentioned and didn't make the connection. My mistake. I'm glad you got it working. In response to your question, when I said you had diagnosed the problem incorrectly, I meant you had come to an incorrect conclusion, not necessarily that you had done anything inherently wrong. However, the --debug switch is definitely your friend when you are trying to figure out Puppet problems. If you had enabled it on the agent then you might have seen resources from the several classes being applied in an intermingled fashion (instead of first all belonging to one class, then all belonging to another, etc.), which would have been a clearer sign of a containment problem. Best, John -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] PuppetDB 1.3/ HSQLDB vs Postgres
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 puppetDB. Regards, Matt. On Sat, May 25, 2013 at 6:09 PM, Worker Bee beeworke...@gmail.com wrote: Hi everyone; I was just wondering if anyone has any opinion/information on the pros and cons of using the built-in HSQLDB vs Postgres. Thanks! Bee -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Error Illegal instruction (core dumped) when running puppet agent (version 3.2.1)
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_64-linode33 - #ruby --version ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux] - RPM installed is puppet-3.2.1-1.el6.noarch.rpm However when I run puppet agent with the same version on another host, everything goes fine. Problem is only while running agent on the same machine as the server. Any idea what is going on ? -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Issue with Puppet Packages which are installed multiple times
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': ensure = present, } *#ok, let's apply* [root@kermit ~]# puppet apply install_expect.pp Notice: /Stage[main]//Package[expect]/ensure: created Notice: Finished catalog run in 14.25 seconds *#let's see what we've got* [root@kermit ~]# rpm -qa|grep expect expect-5.43.0-8.el5 expect-5.43.0-8.el5 *#so we have two versions installed ( in fact it's the x64 and x86 version. for whatever reason yum installs both ( it's yum, a dry-run with yum results in the same situation) #I would not have expected this for expect ( :) ) , but for libs that's normal on an x64 system.* * #ok, lets uninstall expect* [root@kermit ~]# cat uninstall_expect.pp package { 'expect': ensure = absent, } [root@kermit ~]# puppet apply uninstall_expect.pp Notice: /Stage[main]//Package[expect]/ensure: removed Notice: Finished catalog run in 0.27 seconds [root@kermit ~]# rpm -qa|grep expect expect-5.43.0-8.el5 *#here's my problem - there's still one left.* *#2nd run:* [root@kermit ~]# puppet apply uninstall_expect.pp Notice: /Stage[main]//Package[expect]/ensure: removed Notice: Finished catalog run in 0.61 seconds [root@kermit ~]# rpm -qa|grep expect [root@kermit ~]# *#now it's completely absent* Any Idea how I can avoid multiple runs to completely remove it ( so, basically what rpm -e --allmatches rpm would do )? thanks a lot best regards, Björn -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Using Puppet to Puppetize Multiple Puppet Masters
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 master? In our current working environment, I'm just applying catalogs locally, but I'd like to get away from that. Is it as simple as having a different configuration for the [puppet] settings versus the puppet master process settings? Thanks, Matt -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: puppetlabs-nginx dashboard parameters
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 set the nx_daemon_user variable using puppet-dashboard but I can't get it to work. Is this even possible? If I this in my own module: class { 'nginx::params': nx_daemon_user = 'master.pp'; } class { 'nginx': } I get the message: Invalid parameter nx_daemon_user I'm just starting with Puppet so I'm curious why both methods don't work. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Bootstrapping Puppet
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 hiera). By doing so, we also setup centralized authentication (ldap auth) and internal DNS (pdns) for our systems alongside it. I'm wondering, from a methodology standpoint, what the best way to go about bootstrapping the multiple server setup in that case would be. Should I bootstrap the puppet/puppetdb/postgres servers with the procedure above out of box, without setting up LDAP, and then use the newly run puppetmaster to puppetize OpenLDAP servers and then, once certificates are signed, the puppetmasters will automatically enable centralized authentication and other bits and pieces on themselves, therefore completing their configuration? Or would it be better to bootstrap the OpenLDAP server as part of the bootstrapping process for puppet itself, and knock it all out at once before any certs are signed and any puppetmaster processes are running? I'm just curious to know what folks tend to do in more complex setups. Thanks! -MJ -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Puppet master 3.2.1 crashing
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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] runinterval - is it seconds or minutes? Docs are incomplete!
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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] attention Puppet Experts: can i run puppet master and agent on same server
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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server
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 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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server
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 stanislas.lev...@gmail.com wrote: 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 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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server
On 28 May 2013 15:48, Ripunjay Godhani ripunj...@gmail.com 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.puppetlabs.com/#puppetpuppet . It should certainly be enough to get you started. Regards, Matt. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: attention Puppet Experts: can i run puppet master and agent on same server
Thanks a lot will go through it On 28 May 2013 20:20, Matthew Burgess matthew.2.burg...@gmail.com wrote: On 28 May 2013 15:48, Ripunjay Godhani ripunj...@gmail.com 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.puppetlabs.com/#puppetpuppet . It should certainly be enough to get you started. Regards, Matt. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: PuppetDB database tunning
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 shell.heriya...@gmail.com wrote: 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 add the option, so the older database still save? thanks for any comment. On Thu, May 23, 2013 at 9:50 AM, shell heriyanto shell.heriya...@gmail.com wrote: This what i'am find, thank you Klavs. On Wed, May 22, 2013 at 9:44 PM, Klavs Klavsen kl...@enableit.dk wrote: http://docs.puppetlabs.com/puppetdb/1.3/maintain_and_tune.html Den onsdag den 22. maj 2013 09.56.36 UTC+2 skrev Heriyanto: Hi, I've been use puppetdb about 6 months ago, and now the database more than 6gigs Is that any way to recycle database? the data on database more than 30days removed, I try to find is that any option in puppetDB so far, or we need to tune from database side(i use postgresql)? Thanks for any comment. Best regards, Heriyanto -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Issue with Puppet Packages which are installed multiple times
On Tue, May 28, 2013 at 3:57 AM, bjoern pohl pohlbjo...@googlemail.comwrote: 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': ensure = present, } *#ok, let's apply* [root@kermit ~]# puppet apply install_expect.pp Notice: /Stage[main]//Package[expect]/ensure: created Notice: Finished catalog run in 14.25 seconds *#let's see what we've got* [root@kermit ~]# rpm -qa|grep expect expect-5.43.0-8.el5 expect-5.43.0-8.el5 *#so we have two versions installed ( in fact it's the x64 and x86 version. for whatever reason yum installs both ( it's yum, a dry-run with yum results in the same situation) #I would not have expected this for expect ( :) ) , but for libs that's normal on an x64 system.* * #ok, lets uninstall expect* [root@kermit ~]# cat uninstall_expect.pp package { 'expect': ensure = absent, } [root@kermit ~]# puppet apply uninstall_expect.pp Notice: /Stage[main]//Package[expect]/ensure: removed Notice: Finished catalog run in 0.27 seconds [root@kermit ~]# rpm -qa|grep expect expect-5.43.0-8.el5 *#here's my problem - there's still one left.* *#2nd run:* [root@kermit ~]# puppet apply uninstall_expect.pp Notice: /Stage[main]//Package[expect]/ensure: removed Notice: Finished catalog run in 0.61 seconds [root@kermit ~]# rpm -qa|grep expect [root@kermit ~]# *#now it's completely absent* Any Idea how I can avoid multiple runs to completely remove it ( so, basically what rpm -e --allmatches rpm would do )? The behavior you are seeing is actually the one noted in the provider code[1]. I'm not sure why it was implemented this way since removing both seems to be the correct action. I would open a ticket since this requires a change to the rpm package provider. Thanks, Nan 1. https://github.com/puppetlabs/puppet/blob/master/lib/puppet/provider/package/rpm.rb#L120-L124 -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: PuppetDb Query Help/Problems
On Fri, May 24, 2013 at 5:27 PM, Worker Bee beeworke...@gmail.com 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.mydomain.com/facts instead of hitting /v2/resources + a query. There are a bunch of other routes like this that you may find nicer to use: http://docs.puppetlabs.com/puppetdb/1.3/api/query/v2/nodes.html As for why you got no results, do you see anything in the logs about replace facts commands? If you aren't seeing any of those, then that means that your puppetmasters aren't sending over facts, just catalogs. Did you follow the instructions here: http://docs.puppetlabs.com/puppetdb/1.3/connect_puppet_master.html#edit-routesyaml That should add the correct settings to routes.yaml that lets the puppetmaster know to send its facts to puppetdb (you'll need to restart your puppetmaster for those changes to take effect). Thanks! On Fri, May 24, 2013 at 7:23 PM, Worker Bee beeworke...@gmail.com wrote: Hi All; I am using the PuppetDD 1.3 docs. I am attempting to run the following query: curl -H 'Accept: application/json' -X GET http://localhost:8080/v2/resources --data-urlencode query@db_look Contents of db_look: [=, certname, puppet-satellite] However, I get no results with this... I also do not get an errors I do see this in the log file (as indicated by the docs) 2013-05-24 19:17:26,464 INFO [command-proc-46] [puppetdb.command] [140d6911-3d86-483c-9c00-3e637fc13ea8] [replace catalog] puppet-satellite But, I am also getting the error 2013-05-24 19:17:34,325 WARN [qtp17805761-41] [server.AbstractHttpConnection] /v2/resources com.fasterxml.jackson.core.JsonParseException: Unexpected character ('#' (code 35)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') Any advice would be greatly appreciated! Bee -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Link agents to a server...
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 Puppet Users group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Puppet master 3.2.1 crashing
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 server conf and Rack config.ru? On Tuesday, May 28, 2013 7:09:57 AM UTC-7, Алексей Щербаков wrote: 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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
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’ (minutes), or ‘s’ (seconds). The unit cannot be combined with other units, and defaults to seconds when omitted. Examples are ‘3600’ which is equivalent to ‘1h’ (one hour), and ‘1825d’ which is equivalent to ‘5y’ (5 years). On Tuesday, May 28, 2013 7:07:34 AM UTC-7, Tim Schaefer wrote: 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 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Suppress deprecation warnings because of Referencing Variables
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 uses the bareword. As an aside it's totally awesome that people are picking up on all the new stuff in the 3.2 release. Keep 'em coming! eric0 On Friday, May 24, 2013 7:13:49 AM UTC-7, Christopher Rutter wrote: I am in the same boat here. For example there are a few puppetlabs modules that currently don't have a stable release that fixes this: - https://github.com/puppetlabs/puppetlabs-mysql - tag 0.6.1 (pull request https://github.com/puppetlabs/puppetlabs-mysql/pull/185) - https://github.com/puppetlabs/puppetlabs-apache - tag 0.6.0 (fixed in master branch) - https://github.com/puppetlabs/puppetlabs-apt - tag 1.1.0 (pull request https://github.com/puppetlabs/puppetlabs-apt/pull/116) And this isn't even all of them, only the ones that I use... Sure this issue is addressed in the master branch of these modules (or pending pull requests, that I just submitted today) but I don't feel comfortable running 'master' in production. Heck, even the documentationhttp://docs.puppetlabs.com/guides/templating.html (iteration section and below) breaks down halfway down the page and stops using the '@'. 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 On Friday, May 24, 2013 12:09:51 AM UTC-4, Nam Nguyen wrote: Hey guys, after upgrading Puppet to version 3.2.1 I got lots of warning like this: Warning: Variable access via 'logroot' is deprecated. Use '@logroot' instead. template[/etc/puppet/modules/apache/templates/vhost-default.conf.erb]:24 I used puppet many modules which don't use @ or $ in front of reference variables, so I will be a pain to fix them all. Is there any way I can suppress (hide | disable) these warnings? NN. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
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. - *Default*: 30m So, do I put 15m? 900? 900s? There is nothing there that says anything you just said. None of what you said is in the runinterval documentation. This is the first I've ever seen it. You need to update your docs. And don't tell me to go over to forge, that's a lazy, inexcusable response. You can do better. I don't mind hacking but really when there is no where else to find this information you have a responsibility to document in a clear, unambiguous form. Thanks, Tim On Tue, May 28, 2013 at 12:07 PM, Eric Sorenson eric.soren...@puppetlabs.com wrote: 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’ (minutes), or ‘s’ (seconds). The unit cannot be combined with other units, and defaults to seconds when omitted. Examples are ‘3600’ which is equivalent to ‘1h’ (one hour), and ‘1825d’ which is equivalent to ‘5y’ (5 years). On Tuesday, May 28, 2013 7:07:34 AM UTC-7, Tim Schaefer wrote: 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 to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Tim Schaefer iphone 650-839-3277 voip 650-646-9636 email asysarchit...@gmail.com web A System Architect http://www.asystemarchitect.com skype asystemarchitect -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
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 asysarchit...@gmail.com wrote: 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. - *Default*: 30m So, do I put 15m? 900? 900s? There is nothing there that says anything you just said. None of what you said is in the runinterval documentation. This is the first I've ever seen it. You need to update your docs. And don't tell me to go over to forge, that's a lazy, inexcusable response. You can do better. I don't mind hacking but really when there is no where else to find this information you have a responsibility to document in a clear, unambiguous form. Thanks, Tim On Tue, May 28, 2013 at 12:07 PM, Eric Sorenson eric.soren...@puppetlabs.com wrote: 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’ (minutes), or ‘s’ (seconds). The unit cannot be combined with other units, and defaults to seconds when omitted. Examples are ‘3600’ which is equivalent to ‘1h’ (one hour), and ‘1825d’ which is equivalent to ‘5y’ (5 years). On Tuesday, May 28, 2013 7:07:34 AM UTC-7, Tim Schaefer wrote: 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 to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Tim Schaefer iphone 650-839-3277 voip 650-646-9636 email asysarchit...@gmail.com web A System Architect http://www.asystemarchitect.com skype asystemarchitect -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: Execution order of classes in a node
jcbollinger John.Bollinger at 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 them together, in that order, that's when it fails. I'm baffled. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Puppet REST API Questions
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 API, and trigger an install using the APIs? - As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? - Can you direct me to clean documentation and directions needed for this application? - Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. Barry Dresdner -- *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
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 is the correct approach is, especially when so many modules don't have documentation either. pe_accounts is a classic example of incomplete, confusing documentation. Some of it just makes no sense at all, especially since it has no authoritative examples that are complete enough to use. No docs on how to set up external data sources. Very annoying and ironic, since Puppet is supposed to save me time. Instead I find myself constantly hunting for examples. Anyway I did find the snippet of information at the top of the doc, where I would never expect to see it. Tim On Tue, May 28, 2013 at 12:58 PM, Matthew Kennedy mattkenn4...@gmail.comwrote: 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 asysarchit...@gmail.com wrote: 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. - *Default*: 30m So, do I put 15m? 900? 900s? There is nothing there that says anything you just said. None of what you said is in the runinterval documentation. This is the first I've ever seen it. You need to update your docs. And don't tell me to go over to forge, that's a lazy, inexcusable response. You can do better. I don't mind hacking but really when there is no where else to find this information you have a responsibility to document in a clear, unambiguous form. Thanks, Tim On Tue, May 28, 2013 at 12:07 PM, Eric Sorenson eric.soren...@puppetlabs.com wrote: 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’ (minutes), or ‘s’ (seconds). The unit cannot be combined with other units, and defaults to seconds when omitted. Examples are ‘3600’ which is equivalent to ‘1h’ (one hour), and ‘1825d’ which is equivalent to ‘5y’ (5 years). On Tuesday, May 28, 2013 7:07:34 AM UTC-7, Tim Schaefer wrote: 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 to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Tim Schaefer iphone 650-839-3277 voip 650-646-9636 email asysarchit...@gmail.com web A System Architect http://www.asystemarchitect.com skype asystemarchitect -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Tim Schaefer iphone 650-839-3277 voip 650-646-9636 email asysarchit...@gmail.com web A System Architect http://www.asystemarchitect.com skype asystemarchitect -- You received this message because you are subscribed to the Google Groups
Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
On 28 May 2013 21:42, Tim Schaefer asysarchit...@gmail.com 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 information at the top of the doc, where I would never expect to see it. Again, maybe I've just got a different mindset, but the parameter you need information on is a configuration setting. An explanation for the valid values for that setting is in a section titled 'Configuration Settings' and somehow that's not where you would expect to see it? Where do you think a better place would be? Thanks, Matt. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: Puppet REST API Questions
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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
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 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 is the correct approach is, especially when so many modules don't have documentation either. pe_accounts is a classic example of incomplete, confusing documentation. Some of it just makes no sense at all, especially since it has no authoritative examples that are complete enough to use. No docs on how to set up external data sources. Very annoying and ironic, since Puppet is supposed to save me time. Instead I find myself constantly hunting for examples. Anyway I did find the snippet of information at the top of the doc, where I would never expect to see it. Tim On Tue, May 28, 2013 at 12:58 PM, Matthew Kennedy mattke...@gmail.comjavascript: wrote: 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 asysar...@gmail.comjavascript: wrote: 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. - *Default*: 30m So, do I put 15m? 900? 900s? There is nothing there that says anything you just said. None of what you said is in the runinterval documentation. This is the first I've ever seen it. You need to update your docs. And don't tell me to go over to forge, that's a lazy, inexcusable response. You can do better. I don't mind hacking but really when there is no where else to find this information you have a responsibility to document in a clear, unambiguous form. Thanks, Tim On Tue, May 28, 2013 at 12:07 PM, Eric Sorenson eric.s...@puppetlabs.com javascript: wrote: 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’ (minutes), or ‘s’ (seconds). The unit cannot be combined with other units, and defaults to seconds when omitted. Examples are ‘3600’ which is equivalent to ‘1h’ (one hour), and ‘1825d’ which is equivalent to ‘5y’ (5 years). On Tuesday, May 28, 2013 7:07:34 AM UTC-7, Tim Schaefer wrote: 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 to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com javascript:. To post to this group, send email to puppet...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- Tim Schaefer iphone 650-839-3277 voip 650-646-9636 email asysar...@gmail.com javascript: web A System Architect http://www.asystemarchitect.com skype asystemarchitect -- 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...@googlegroups.com javascript:. To post to this group, send email to puppet...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to a topic in the Google Groups Puppet Users group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/fBC1VXt9nPA/unsubscribe?hl=en . To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com javascript:. To post to this group, send email to puppet...@googlegroups.comjavascript: .
[Puppet Users] Re: Puppet REST API Questions
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 message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
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? • Can a client browse the Puppet repository using a REST API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. Barry Dresdner I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
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 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 API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. Barry Dresdner I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
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/ https://puppetlabs.com/blog/why-you-want-to-start-using-puppet-enterprise-with-vmware-today/ https://puppetlabs.com/blog/manage-and-automate-vmware-virtual-environments-with-puppet-enterprise/ On May 28, 2013, at 8: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, 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? • Can a client browse the Puppet repository using a REST API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. Barry Dresdner I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
Have you taken a look at http://www.vagrantup.com/ On Tue, May 28, 2013 at 5:01 PM, Barry D bdresd...@globalinfotek.comwrote: 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 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 API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. Barry Dresdner I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
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 ] http://lmgtfy.com/?q=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/ https://puppetlabs.com/blog/why-you-want-to-start-using-puppet-enterprise-with-vmware-today/ https://puppetlabs.com/blog/manage-and-automate-vmware-virtual-environments-with-puppet-enterprise/ On May 28, 2013, at 8: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, 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? • Can a client browse the Puppet repository using a REST API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
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 bdre...@globalinfotek.comjavascript: 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, 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? • Can a client browse the Puppet repository using a REST API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- 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...@googlegroups.com javascript:. To post to this group, send email to puppet...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Puppet REST API Questions
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. Furthermore, Puppet really isn't a procedural system. When I first set out on the road of deciding which way to go, I read any number of opinions about my options, and primarily looked at Chef vs Puppet. I'm quite happy with what we've been able to achieve with Puppet, but there are alternatives that are purported to be far more procedural in nature, like Chef or perhaps salt stack. In a way, we are utilizing vm's in that our cluster is deployed through aws. Our strategy is to create AMI's for each machine type we need, that has the majority of the configuration taken care of. We use some scripts that utilize the AWS rest api to start up the servers, setup dns, and position the machine where it is needed, and we use puppet to do the rest of the setup. It seems to me that you are looking for something similar, and this is where in my opinion, you are expecting puppet to do something it's not designed for... which is getting a machine started with enough type/identity for it to run. If these are vm's running on a server, then between xen/vmware/virtualbox/whatever your host os is, there are ways to start vm's up with enough identity, that a tool like puppet could get you the rest of the way. Vagrant is a tool that could be used as that glue that handles what the aws instance API + AMI's provides. On Tue, May 28, 2013 at 6:22 PM, Barry D bdresd...@globalinfotek.comwrote: 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 bdre...@globalinfotek.comwrote: 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 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 API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- 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...@**googlegroups.com. To post to this group, send email to puppet...@googlegroups.com. Visit this group at http://groups.google.com/**group/puppet-users?hl=enhttp://groups.google.com/group/puppet-users?hl=en . For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit
Re: [Puppet Users] Puppet REST API Questions
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 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. Furthermore, Puppet really isn't a procedural system. When I first set out on the road of deciding which way to go, I read any number of opinions about my options, and primarily looked at Chef vs Puppet. I'm quite happy with what we've been able to achieve with Puppet, but there are alternatives that are purported to be far more procedural in nature, like Chef or perhaps salt stack. In a way, we are utilizing vm's in that our cluster is deployed through aws. Our strategy is to create AMI's for each machine type we need, that has the majority of the configuration taken care of. We use some scripts that utilize the AWS rest api to start up the servers, setup dns, and position the machine where it is needed, and we use puppet to do the rest of the setup. It seems to me that you are looking for something similar, and this is where in my opinion, you are expecting puppet to do something it's not designed for... which is getting a machine started with enough type/identity for it to run. If these are vm's running on a server, then between xen/vmware/virtualbox/whatever your host os is, there are ways to start vm's up with enough identity, that a tool like puppet could get you the rest of the way. Vagrant is a tool that could be used as that glue that handles what the aws instance API + AMI's provides. On Tue, May 28, 2013 at 6:22 PM, Barry D bdre...@globalinfotek.comjavascript: wrote: 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 bdre...@globalinfotek.comwrote: 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 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 API, and trigger an install using the APIs? • As the SysAdmin, can I use those REST APIs to install/maintain new software on the Puppet Server? • Can you direct me to clean documentation and directions needed for this application? • Direct me to some Java samples using the REST API to accomplish the functionality requested above. Thanks very much for any assistance you can provide. I think you have unrealistic expectations of what Puppet and/or the Puppet REST API is capable of. What operating system are you using ? What sort of software packages are you looking to install/maintain ? -- 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...@googlegroups.com. To post to this group, send email to puppet...@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com javascript:. To post to this group, send email to puppet...@googlegroups.comjavascript: . Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- *Global InfoTek, Inc. (GITI) PROPRIETARY DATA NOTICE* - This electronic message and any files transmitted with it contain confidential and proprietary information, and are intended for use only by the person(s) to whom it is addressed. Any use, distribution, copying or disclosure to any other person is strictly prohibited. If you have received this message in error, please notify the e-mail sender immediately, and delete the original message without making a copy. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from
Re: [Puppet Users] Re: PuppetDB database tunning
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 k...@puppetlabs.com wrote: 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 shell.heriya...@gmail.com wrote: 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 add the option, so the older database still save? thanks for any comment. On Thu, May 23, 2013 at 9:50 AM, shell heriyanto shell.heriya...@gmail.com wrote: This what i'am find, thank you Klavs. On Wed, May 22, 2013 at 9:44 PM, Klavs Klavsen kl...@enableit.dk wrote: http://docs.puppetlabs.com/puppetdb/1.3/maintain_and_tune.html Den onsdag den 22. maj 2013 09.56.36 UTC+2 skrev Heriyanto: Hi, I've been use puppetdb about 6 months ago, and now the database more than 6gigs Is that any way to recycle database? the data on database more than 30days removed, I try to find is that any option in puppetDB so far, or we need to tune from database side(i use postgresql)? Thanks for any comment. Best regards, Heriyanto -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out. -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
[Puppet Users] Re: runinterval - is it seconds or minutes? Docs are incomplete!
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 and even diagrams to show the overall architecture. I wish I had the bandwidth to work on the docs myself, but too busy with my regular work to do that. Anyway... Anything you can do to make end users more capable of using your product is a win for you and not your competition. Thanks, Tim On May 28, 2:32 pm, Ellison Marks gty...@gmail.com wrote: 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 -- 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...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.