Re: [Puppet Users] scaling projections for dashboard database?
FYI: MySQL performs fine with 100G files if you set it up correctly. I haven't used the dashboard or looked at the source code, but with that kind of storage I'd say you have a write-heavy application. You can tune for that quite easily, although scaling beyond a single master will be a bit more tricky as opposed to write-heavy apps where you can just add slaves. innodb_file_per_table should imho be set for every mysql server in existence for many reasons, but it will only work if you have innodb tables and not MyISAM (duh to me, not so duh to others maybe ;)). Don't go and delete binlogs at random if you love your data and want to be able to do proper backups. If you see too many binlogs, just set expire-logs-days to something sane (read: larger then the time between your backups). If you really want to get rid of some binlogs, purge them usign mysql, don't just delete the files: http://dev.mysql.com/doc/refman/5.0/en/purge-binary-logs.html Just saying: mysql is not as bad as people make it seem :) Walter On Tue, Jan 10, 2012 at 04:06, Jo Rhett jrh...@netconsonance.com wrote: On Jan 9, 2012, at 3:31 PM, Daniel Pittman wrote: Is there any reasonable estimate for what amount of space you expect one system to use? I realize this likely varies with the report size, but the rate of growth seems high enough that I'm surprised it wasn't mentioned in the installation docs. I mean, it's grown half a gigabyte in the last 6 hours. With that kind of growth rate, you'd expect a warning to provide enough space for it and how to estimate your needs. That growth rate seems ... excessive. Ultimately, the size of the stored data is pretty directly related to the size of your YAML reports; can you capture one of those and see how big it is on disk? FYI, in 10 hours the database has grown slightly more than 1G. That's an extensive growth rate. Looking at the yaml files, I'm seeing 410k per file * 400 nodes = 160Mb per 30 minutes. Is there really no optimization that is performed on the data stored in the database? Coming up with a few hundred gigabytes of file storage is one thing. Trying to make mysql perform well with 100Gb database is an entirely different matter. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Walter Heck -- follow @walterheck on twitter to see what I'm up to! -- Check out my new startup: Server Monitoring as a Service @ http://tribily.com Follow @tribily on Twitter and/or 'Like' our Facebook page at http://www.facebook.com/tribily -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Facter pick up variables from ENV hash of non-root USER
Hi, On 01/06/2012 10:57 AM, Argha Chattopadhyay wrote: Hi, Does anyone have an idea to pick up custom facts from the ENV hash of a non-root user. I'm asking as I believe the plugin modules for facter pick up the ENV variables of the root user by default. there seems to be a misconception: The environment is process-specific, not user specific. You will typically alter your user account's login shell configuration to ensure that shell has a certain environment, but that's all it is - customization of one chosen process. Don't try and alter puppet's behaviour by altering you bashrc or similar, you *will* shoot yourself in the foot. Depending on what you need to achieve, there might be several ways to go about the problem. A simple way might be to write a simple shell wrapper around puppet that exports all your desired environment variables etc. HTH, Felix -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: copying file(s) from agent to master??
Thanks Eric and Chris! If I understood correctly, I put something like this in the '/etc/ puppet/manifests/site.pp' filebucket { 'main': server = 'puppet.hep.ac.uk', path = false, } and then I set backup = main in one my file definitions but it doesn't seem to be working. after that I don't see the file (or hash) in the /var/lib/puppet/clientbucket (or bucket) at all. Am I doing the right thing? Cheers!! On Jan 9, 5:57 pm, Eric Shamow e...@puppetlabs.com wrote: Filebucket is the right answer. Good docs on it here: http://docs.puppetlabs.com/references/stable/type.html#file And also the command-line utility to query or manage the bucket: http://docs.puppetlabs.com/man/filebucket.html -Erc -- Eric Shamow Professional Serviceshttp://puppetlabs.com/ (c)631.871.6441 On Monday, January 9, 2012 at 11:14 AM, Christopher Johnston wrote: I think you want to use the filebucket setup for this, I am not 100% familiar with it though. On Mon, Jan 9, 2012 at 10:50 AM, Sans r.santanu@gmail.com (mailto:r.santanu@gmail.com) wrote: Is there a way to copy file(s) from the Puppet agent back to the master? I know it sounds silly but that's what I need to do. This is one of the s/w-tag files, gets created/modified automatically by the software installation job and then I want to overwrite the tag files on two other agents with this one. Is there a why for doing this? Cheers, San -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com (mailto:puppet-users@googlegroups.com). To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com (mailto:puppet-users%2bunsubscr...@googlegroups.com). For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com (mailto:puppet-users@googlegroups.com). To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com (mailto:puppet-users+unsubscr...@googlegroups.com). For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: inheritance
On Jan 9, 10:21 am, Antidot SAS antidot...@gmail.com wrote: But apparently was more thinking class heritance as pre-required but this seems to be the wrong understanding of the concept and the use of class inheritance as to be used only to redefined ressource or add some; at least that's what I have understand from John's messages: it should be reserved for cases where the subclass overrides properties of a superclass's resources To be clear: that's a best practices position, not a hard requirement. John -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] hiera-puppet in template
hi, hiera is working in my manifest but not within a template. x=%= scope.function_hiera(x) % err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bla/blubb.conf.erb: undefined method `function_hiera' ... Is it supposed to used in a template and how? -- Kind Regards, Markus Falb signature.asc Description: OpenPGP digital signature
Re: [Puppet Users] hiera-puppet in template
On Tue, Jan 10, 2012 at 8:53 AM, Markus Falb markus.f...@fasel.at wrote: hi, hiera is working in my manifest but not within a template. x=%= scope.function_hiera(x) % err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bla/blubb.conf.erb: undefined method `function_hiera' ... Is it supposed to used in a template and how? You may need to explicitly load the function: Try adding the following Ruby code to your template: Puppet::Parser::Functions.function(:hiera) -- Kind Regards, Markus Falb -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] I am looking to try to mixing sounrce and content in a file instance
Let's start with this: class whatever ( $myType='other' ) { file { some-config-file: ... content = $myType ? { 'this' = template(whatever/this.erb), 'that' = template(whatever/that.erb), 'other' = template(whatever/other.erb), default = template(whatever/default.erb), } ... } } I think I have all the cases covered my the myType parameter, but I would REALLY like to be able to mix this with the multiple source syntax: source = [ puppet:///modules/whatever/${fqdn}-config-file, puppet:///modules/whatever/default.config-file, ], into something like this : source = [ puppet:///modules/whatever/${fqdn}-config-file, content = $myType ? { 'this' = template(whatever/this.erb), 'that' = template(whatever/that.erb), 'other' = template(whatever/other.erb), default = template(whatever/default.erb), } ], So that I can override the type-driven template with a flat file. I am trying to design flexibility, and I am finding a conflict of purpose between the source snd content metaparameters. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
Does this mean that the tickets which are just awaiting merge (including all the relevant unit tests) will get done some day soon? On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: Love Puppet? Hate the backlog of tickets? Want to help us out? The Puppet community has grown really fast and a lot of you have logged tickets and issues. We’ve tried to give those tickets as much love as we could but some slip through the cracks and sometimes we get overwhelmed. We’ve recognized this and want to try to get a handle on the backlog of tickets. But we need your help to do this. What we’re going to do is hold a Triage-a-thon hosted locally in our offices, virtually on IRC (Freenode #puppethack) and the Web. http://puppetlabs.com/events/triagepuppet/ We’re going to review all the open tickets in the Puppet project with a view to: * Update and confirm that issues are still relevant * Ensure tickets are in the right status and all the right information is present to help us resolve it * Close any invalid or no longer relevant tickets We’ll assign blocks of tickets to every participant, have documentation explaining what you need to do and provide people on the ground to help you make decisions and answer questions. Triaging starts Saturday January 21st from 7am and last until 4pm (-8 GMT). We’ll also provide pizza, snacks (and beer!) and a venue locally in our Portland, OR offices. Virtually we’ll provide an IRC channel, IM and rewards (t-shirts, patches, stickers, badges, and books) for people who triage tickets and get involved. We’ll also offer Amazon Gift Cards to our top 3 participants! You can register for the event here: http://triagepuppet.eventbrite.com/?ref=ebtn. We hope you'll be interested in attending and helping us make Puppet better. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
Those are high priority for the platform team anyhow, but if there is something you feel we have missed shoot me an email with the ticket number and I will try and get it bumped up in priority. Daniel On Tue, Jan 10, 2012 at 10:06, Brian Gallew g...@gallew.org wrote: Does this mean that the tickets which are just awaiting merge (including all the relevant unit tests) will get done some day soon? On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: Love Puppet? Hate the backlog of tickets? Want to help us out? The Puppet community has grown really fast and a lot of you have logged tickets and issues. We’ve tried to give those tickets as much love as we could but some slip through the cracks and sometimes we get overwhelmed. We’ve recognized this and want to try to get a handle on the backlog of tickets. But we need your help to do this. What we’re going to do is hold a Triage-a-thon hosted locally in our offices, virtually on IRC (Freenode #puppethack) and the Web. http://puppetlabs.com/events/triagepuppet/ We’re going to review all the open tickets in the Puppet project with a view to: * Update and confirm that issues are still relevant * Ensure tickets are in the right status and all the right information is present to help us resolve it * Close any invalid or no longer relevant tickets We’ll assign blocks of tickets to every participant, have documentation explaining what you need to do and provide people on the ground to help you make decisions and answer questions. Triaging starts Saturday January 21st from 7am and last until 4pm (-8 GMT). We’ll also provide pizza, snacks (and beer!) and a venue locally in our Portland, OR offices. Virtually we’ll provide an IRC channel, IM and rewards (t-shirts, patches, stickers, badges, and books) for people who triage tickets and get involved. We’ll also offer Amazon Gift Cards to our top 3 participants! You can register for the event here: http://triagepuppet.eventbrite.com/?ref=ebtn. We hope you'll be interested in attending and helping us make Puppet better. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
Hello, You have selected a date for the Triage-a-thon in the middle of SCALE. Would love to help out but I am guessing many people will be at SCALE including people at Puppet Labs. -chrisl On Tue, Jan 10, 2012 at 10:20 AM, Daniel Pittman dan...@puppetlabs.com wrote: Those are high priority for the platform team anyhow, but if there is something you feel we have missed shoot me an email with the ticket number and I will try and get it bumped up in priority. Daniel On Tue, Jan 10, 2012 at 10:06, Brian Gallew g...@gallew.org wrote: Does this mean that the tickets which are just awaiting merge (including all the relevant unit tests) will get done some day soon? On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: Love Puppet? Hate the backlog of tickets? Want to help us out? The Puppet community has grown really fast and a lot of you have logged tickets and issues. We’ve tried to give those tickets as much love as we could but some slip through the cracks and sometimes we get overwhelmed. We’ve recognized this and want to try to get a handle on the backlog of tickets. But we need your help to do this. What we’re going to do is hold a Triage-a-thon hosted locally in our offices, virtually on IRC (Freenode #puppethack) and the Web. http://puppetlabs.com/events/triagepuppet/ We’re going to review all the open tickets in the Puppet project with a view to: * Update and confirm that issues are still relevant * Ensure tickets are in the right status and all the right information is present to help us resolve it * Close any invalid or no longer relevant tickets We’ll assign blocks of tickets to every participant, have documentation explaining what you need to do and provide people on the ground to help you make decisions and answer questions. Triaging starts Saturday January 21st from 7am and last until 4pm (-8 GMT). We’ll also provide pizza, snacks (and beer!) and a venue locally in our Portland, OR offices. Virtually we’ll provide an IRC channel, IM and rewards (t-shirts, patches, stickers, badges, and books) for people who triage tickets and get involved. We’ll also offer Amazon Gift Cards to our top 3 participants! You can register for the event here: http://triagepuppet.eventbrite.com/?ref=ebtn. We hope you'll be interested in attending and helping us make Puppet better. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- --- Christopher M. Lee chr...@spiralweb.com -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
#4020 has been ready for 4 months now. It really makes my efforts feel appreciated. On Jan 10, 2012, at 10:20 AM, Daniel Pittman wrote: Those are high priority for the platform team anyhow, but if there is something you feel we have missed shoot me an email with the ticket number and I will try and get it bumped up in priority. Daniel On Tue, Jan 10, 2012 at 10:06, Brian Gallew g...@gallew.org wrote: Does this mean that the tickets which are just awaiting merge (including all the relevant unit tests) will get done some day soon? On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: Love Puppet? Hate the backlog of tickets? Want to help us out? The Puppet community has grown really fast and a lot of you have logged tickets and issues. We’ve tried to give those tickets as much love as we could but some slip through the cracks and sometimes we get overwhelmed. We’ve recognized this and want to try to get a handle on the backlog of tickets. But we need your help to do this. What we’re going to do is hold a Triage-a-thon hosted locally in our offices, virtually on IRC (Freenode #puppethack) and the Web. http://puppetlabs.com/events/triagepuppet/ We’re going to review all the open tickets in the Puppet project with a view to: * Update and confirm that issues are still relevant * Ensure tickets are in the right status and all the right information is present to help us resolve it * Close any invalid or no longer relevant tickets We’ll assign blocks of tickets to every participant, have documentation explaining what you need to do and provide people on the ground to help you make decisions and answer questions. Triaging starts Saturday January 21st from 7am and last until 4pm (-8 GMT). We’ll also provide pizza, snacks (and beer!) and a venue locally in our Portland, OR offices. Virtually we’ll provide an IRC channel, IM and rewards (t-shirts, patches, stickers, badges, and books) for people who triage tickets and get involved. We’ll also offer Amazon Gift Cards to our top 3 participants! You can register for the event here: http://triagepuppet.eventbrite.com/?ref=ebtn. We hope you'll be interested in attending and helping us make Puppet better. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Blocking or gating service restarts?
just a thought; what if you made a fact for number of apache workers currently serving something, and base the service restart off of that. Might not be the best option; might not even work, but it makes more sense to me to have the service restart dependent on a local fact than be dependent on something external to the server On Jan 6, 2012, at 3:52 PM, simonmcc wrote: inside puppet is it possible to block or stall a service restart until some external component clears the restart? for example, I want to make sure a node is bled down on the load- balancer before allowing the restart to happen. a post restart feature of re-enabling in the load-balancer would also be really useful :-) Simon. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. This message may contain confidential or privileged information. If you are not the intended recipient, please advise us immediately and delete this message. See http://www.datapipe.com/about-us-legal-email-disclaimer.htm for further information on confidentiality and the risks of non-secure electronic communication. If you cannot access these links, please notify us by reply message and we will send the contents to you. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] hiera-puppet in template
On Tue, Jan 10, 2012 at 08:56, Dan Bode d...@puppetlabs.com wrote: On Tue, Jan 10, 2012 at 8:53 AM, Markus Falb markus.f...@fasel.at wrote: hiera is working in my manifest but not within a template. x=%= scope.function_hiera(x) % err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template bla/blubb.conf.erb: undefined method `function_hiera' ... Is it supposed to used in a template and how? You may need to explicitly load the function: Try adding the following Ruby code to your template: Puppet::Parser::Functions.function(:hiera) That shouldn't be the problem in 2.7.4 or later, so if you are running that version and see the same issue please file a bug report about this. Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
Christopher Lee wrote: Hello, You have selected a date for the Triage-a-thon in the middle of SCALE. Would love to help out but I am guessing many people will be at SCALE including people at Puppet Labs. We knew it was during SCALE. We knew some people (including a couple of ours) will be there. But the Puppet community is pretty big and now very global (hence the early start West Coast time to allow East Coasters and Europeans to get involved). We'll also have plenty of Puppet Labs people in the office in Portland and online to help out too. Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
Brian Gallew wrote: #4020 has been ready for 4 months now. It really makes my efforts feel appreciated. Brian Totally get that this is frustrating. It's really hard for us because when the use of Puppet exploded so did the number of people logging tickets (hence the Triage-a-thon!). In the case of #4020 it's totally my fault and I apologize. I missed your update that you had submitted a new patch with tests. I'll ensure the ticket is updated and passed to Engineering for review. In future feel free to berate me when it looks like I've dropped the ball. It's the only way I'll learn. :) Thanks for your patience and your contribution! Regards James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: tagmail issue
I have found a work around, but I would still like to understand what is correct behavior. I used the notify resource instead of tag metaparam: if $::adinfo_mode == disconnected { notify { disconnected: message = AD client in disconnected state, } } This creats a logs object in the report which can then be accessed by tagmail: logs: - !ruby/object:Puppet::Util::Log level: !ruby/sym notice message: id010 AD client in disconnected state source: Puppet tags: - notice time: 2012-01-10 03:58:15.641172 -08:00 version: 2.6.4 - !ruby/object:Puppet::Util::Log file: id002 /data/puppet/production/modules/centrify/manifests/init.pp level: !ruby/sym notice line: 87 message: id011 defined 'message' as 'AD client in disconnected state' source: id012 /Stage[main]/Centrify/Notify[disconnected]/message tags: - notice - notify - disconnected - class - centrify - suse_base - common::suse - common - suse - node - default time: 2012-01-10 03:58:15.641953 -08:00 Clearly this does not correspond to any tagmail documentation, and it seems a round-about way to configure things. Is this a recommended approach? On Fri, Jan 06, 2012 at 05:45:42PM -0800, Ashley Gould wrote: Hi list, I am setting up tagmail. I have it working fine for loglevel tags such as all and err and notice. puppetmaster send email, and I recieve them. all good. but when I setup tagmail for user defined tags no email is sent. (I varified by checking postfix logs on the puppetmaster server.) master and agents are version 2.6.4 # /etc/puppet/tagmail.conf: #all: ago...@ucop.edu #err: ago...@ucop.edu #notice: ago...@ucop.edu connected: ago...@ucop.edu # manifest that sets my tag: class centrify { notice(adinfo_mode is '$::adinfo_mode') if $::adinfo_mode == connected { tag(connected) } package { CentrifyDC: ensure = present, provider = zypper, } } # puppetmaster log sees the notice: Jan 6 17:39:41 unxpupp01 puppet-master[9541]: (Scope(Class[Centrify])) adinfo_mode is 'connected' Jan 6 17:39:41 unxpupp01 puppet-master[9541]: Compiled catalog for sl11lab01-vhost.ucop.edu in environment dev_ashley in 0.39 seconds # Stored yaml report shows tag got set: unxpupp01:/logs/puppet/reports/sl11lab01-vhost.ucop.edu # grep -B10 connected 201201070139.yaml file: /data/puppet/dev_ashley/modules/centrify/manifests/init.pp line: 26 resource: Package[CentrifyDC] source_description: /Stage[main]/Centrify/Package[CentrifyDC] tags: - package - centrifydc - class - centrify - node - sl11lab01-vhost - connected Any ideas what is missing? -- -ashley Did you try poking at it with a stick? -- -ashley Did you try poking at it with a stick? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet agent hangs after running a few hours, defunct sh process
The comments in the redhat bug indicated that this breakage came from upstream, as did the fix. So it's entirely possible that this bug appeared in some Debian kernels, but I don't know which. On Jan 10, 2012, at 8:41 AM, jcbollinger wrote: On Jan 9, 11:40 am, Jo Rhett jrh...@netconsonance.com wrote: On Jan 7, 2012, at 7:40 PM, Andreas N wrote: That doesn't tell me anything other than that the puppet agent is blocking on select() with a timeout of two seconds. Sounds like #10418. Check your kernel version. https://projects.puppetlabs.com/issues/10418 It sounds similar, but 10418 is specific to a particular RedHat / CentOS kernel, and the OP is observing his problem on Ubuntu. My awareness of that issue is one of the reasons I advised the OP to look at kernel versions, however. John -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Jo Rhett Net Consonance : consonant endings by net philanthropy, open source and other randomness -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Exec depends on ressources that are several different types
Hi dear puppet users. I have an perl file that depends on a lib, that I want to execute. I have stripped the parts of config that weren't relevant here such as owner, group and so on In perl script : use Config::Tiny. Script is stored on puppet master. Manifest : file { /path/to/file.pl: source = puppet:///file.pl, mode = 0755 } package { libconfig-tiny-perl: ensure = installed } exec { /path/to/file.pl: require = } at XX I would like to put Package['libconfig-tiny-perl] AND File[/path/to/file.pl] which doesn't work. In the docs ( http://docs.puppetlabs.com/guides/language_guide.html ) it gives an example service { 'sshd': require = File['sshdconfig', 'sshconfig', 'authorized_keys'] } But this only works for multiple dependencies that have the same nature, here File I have found a workaround which is to put the package dependency in the file section (file depends on package, exec depends on file, all solved), but while this does work in my specific case, I'm sure there are others where it wouldn't work. So is there any way to specify multiple resource dependency when the resources have a different nature ? Thanks all Patrick -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Manifest organization
Hello I am new to Puppet and am having a hard time relating modules and classes in configuration files to actual operating system files. For instance I saw the following example on this list: node 'somenode' { include puppetmaster } class puppetmaster { include common include puppet include ldap_auth include iptables::disabled include httpd::ssl include ruby-enterprise::passenger } class ruby-enterprise::passenger { include common include httpd include ruby-enterprise } class httpd::ssl { include httpd } The base file where everything starts is /etc/puppetlabs/puppet/ manifests/site.pp. Where do I define the puppetmaster class? Should I follow the structure shown on page 92 of the Pulling Strings with Puppet book? import templates.pp import nodes.pp import classes/* import groups/* import users/* etc Manifest structure: /manifests/The manifest root directory /manifests/templates.pp Contains template nodes /manifests/nodes.pp Contain node definitions .. /manifests/templates/classnameERB templates . A couple of detailed examples would greatly help. Thank you -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] signing request from Windows client
I'm trying to set up a puppet master on ubuntu 10.10 and client on windows 7. Running 'puppet agent -verbose' on the client, I get this: warning: peer certificate won't be verified in this SSL session notice: Did not receive certificate which seems to be expected. When I check the server, the masterhttp log has this: [2012-01-10 09:17:03] - - /production/certificate/MYCLIENT.com? [2012-01-10 09:17:03] MYCLIENT.com - - [10/Jan/2012:09:17:03 PST] GET /production/certificate/MYCLIENT.com? HTTP/1.1 404 55 so the client request is getting to puppet's http server, but there are no certificate requests waiting to be signed. 'puppetca -l' brings back no results. 'puppet cert --list' gives this: $ puppet cert --list Could not parse for environment production: Could not find file /etc/ puppet/cert.pp Am I missing some part of the server configuration? Thanks -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] need link for simple docuemntation
kindly provide me link for documents for puppet other than puppet lab I am specifically looking at how to create a module/manifest -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Might someone out there repair some busted links ?
Hi Daniel, Do you happen to know what the link for /Recipes/Tripwire should actually link to? I tried doing a search for tripwire, but didn't find anything that seemed right. Thanks, Alanna On Thu, Dec 29, 2011 at 11:22 AM, Daniel Pittman dan...@puppetlabs.comwrote: On Thu, Dec 29, 2011 at 11:14, Dan White y...@comcast.net wrote: Lots of the links on this page: http://projects.puppetlabs.com/projects/1/wiki/Patterns are busted. one specific example: http://projects.puppetlabs.com/trac/puppet/wiki/Recipes/Tripwire The page you were trying to access doesn't exist or has been removed. Would it be possible to either fix them or remove them ? I have asked the folks who maintain our web stuff to look into that; thanks for letting us know. :) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Changing the puppetca CA password
Currently the puppetca CA password is set to 'secret' How would one go about changing it? I agree with puppetlabs documentation that you should be an SSL expert to implement your own CA. I am not. However I would like to use puppet's CA PKI infrastructure with ActiveMQ over TLS and it is seems logical to use puppet's KPI with this for mcollective and activemq. I am sure it is possible with openssl, however, go ahead see what you can find on change CA or certificate authority openssl. I do not want to spends hours and hours testing any changes. I am certain the person/people that implemented puppetca would know the answer to this question in minutes, not hours. Anyway, there should be a puppetlabs docs on how to do it. Really EVERY puppetca has the password 'secret'? I guess it is not a KNOWN security risk. http://puppetlabs.com/blog/important-security-announcement-altnames-vulnerability/ Not known. Come on puppetca guru's how the hell do you change the puppetca ca.pass password from 'secret' -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] need link for simple docuemntation
Hi , You can take a look to Learning Puppet: Moduleshttp://docs.puppetlabs.com/learning/modules1.html I guess the best option to understand how modules work is to make some by your own. I also like to take a look at Github http://github.com , reading how others wrote their modules definitely it would help you out. On Tue, Jan 10, 2012 at 11:40 AM, bhagyesh vision2...@gmail.com wrote: kindly provide me link for documents for puppet other than puppet lab I am specifically looking at how to create a module/manifest -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Exec depends on ressources that are several different types
require accepts an array, so you should be able to do this: require = [File['foo'],Exec['bar']] On Mon, Jan 9, 2012 at 5:23 PM, Patrick Viet patrick.v...@learnosity.com wrote: Hi dear puppet users. I have an perl file that depends on a lib, that I want to execute. I have stripped the parts of config that weren't relevant here such as owner, group and so on In perl script : use Config::Tiny. Script is stored on puppet master. Manifest : file { /path/to/file.pl: source = puppet:///file.pl, mode = 0755 } package { libconfig-tiny-perl: ensure = installed } exec { /path/to/file.pl: require = } at XX I would like to put Package['libconfig-tiny-perl] AND File[/path/to/file.pl] which doesn't work. In the docs ( http://docs.puppetlabs.com/guides/language_guide.html ) it gives an example service { 'sshd': require = File['sshdconfig', 'sshconfig', 'authorized_keys'] } But this only works for multiple dependencies that have the same nature, here File I have found a workaround which is to put the package dependency in the file section (file depends on package, exec depends on file, all solved), but while this does work in my specific case, I'm sure there are others where it wouldn't work. So is there any way to specify multiple resource dependency when the resources have a different nature ? Thanks all Patrick -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] need link for simple docuemntation
Sergio Galvan wrote: Hi , You can take a look to Learning Puppet: Modules http://docs.puppetlabs.com/learning/modules1.html I guess the best option to understand how modules work is to make some by your own. I also like to take a look at Github http://github.com , reading how others wrote their modules definitely it would help you out. The Forge (http://forge.puppetlabs.com) has about 260+ modules that are also useful examples. Regards James Turnbull -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: need link for simple docuemntation
On Jan 10, 4:40 am, bhagyesh vision2...@gmail.com wrote: kindly provide me link for documents for puppet other than puppet lab I am specifically looking at how to create a module/manifest Why do you ask specifically for documents not hosted by PuppetLabs, the most authoritative source there can be for Puppet documentation? Without knowing why PuppetLabs's documentation doesn't suit you, I cannot begin to guess what might. John -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: signing request from Windows client
$ puppet cert --list Could not parse for environment production: Could not find file /etc/ puppet/cert.pp Am I missing some part of the server configuration? The command you are running is for puppet 2.x The error you are getting is a typical reaction of puppet 0.x Check it with dpkg -l | grep puppet Then proceed to update puppet by editing the /etc/apt/sources.list, uncommenting the maverick-backports then apt-get update, apt-get -t maverick-backports install puppet puppetmaster Your puppet should be updated to 2.6.x You may not want to use ubuntu 10.10 in a server : it is not updated/ supported anymore. Actually, I would strongly advise against using anything but the LTS releases for servers : 10.04 LTS / lucid right now 12.04 LTS as soon as it is released, in April 2012. Cheers Patrick Viet -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Adding node parameters to puppet dashboard
I would like to add parameters to nodes in puppet dashboard either from the command line or programmatically through an api. For adding classes and groups to a node as well as adding nodes to the dashboard I have been using the rake tasks. There is no rake task for adding parameters that I can find. Is there an api for the dashboard? Chris -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Adding node parameters to puppet dashboard
A face has been developed that can programmatically insert data into the Dashboard using its restful interface. usage is documented in the README https://github.com/puppetlabs/puppetlabs-dashboard You may want to have a look at a couple of branches that still need to be merged: 1. https://github.com/bodepd/puppetlabs-dashboard/tree/test_coverage_and_remove_cp_as_dep removes the heavy dependency on cloud provisioner (so you dont have to install fog) 2. https://github.com/bodepd/puppetlabs-dashboard/tree/11216_cli_hashes supports setting parameter hashes from the command line On Tue, Jan 10, 2012 at 2:57 PM, Chris Blumentritt cblum...@gmail.comwrote: I would like to add parameters to nodes in puppet dashboard either from the command line or programmatically through an api. For adding classes and groups to a node as well as adding nodes to the dashboard I have been using the rake tasks. There is no rake task for adding parameters that I can find. Is there an api for the dashboard? Chris -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Puppet proxies
I've seen a couple of examples of using puppet to control services where you can't run a puppet agent on the resource. As far as I can tell they work by having puppet proxy through some external-service control mechanism, such as fog. The question is: where does the proxy run? I assume a puppet agent needs to run somewhere. Where do you put that agent, how do you configure it, and how do you identify it as a puppet node? I'm having visions of sugar plum fairies at the thought of using Puppet to do what CloudFormation does (automate the configuration of an entire AWS environment). But it's not clear to me how to wire it together. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet proxies
On Tue, Jan 10, 2012 at 3:12 PM, Jeff Sussna j...@ingineering.it wrote: I've seen a couple of examples of using puppet to control services where you can't run a puppet agent on the resource. As far as I can tell they work by having puppet proxy through some external-service control mechanism, such as fog. The question is: where does the proxy run? I assume a puppet agent needs to run somewhere. Where do you put that agent, how do you configure it, and how do you identify it as a puppet node? I'm having visions of sugar plum fairies at the thought of using Puppet to do what CloudFormation does (automate the configuration of an entire AWS environment). But it's not clear to me how to wire it together. You might have a look at http://puppetlabs.com/blog/using-cloudformation-to-build-out-fully-functional-stacks-of-puppet-enterprise/ -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Manifest organization
On Jan 9, 8:56 am, Olivier ofran...@gmail.com wrote: I am new to Puppet and am having a hard time relating modules and classes in configuration files to actual operating system files. For instance I saw the following example on this list: [...] At your stage and for this purpose you should probably ignore examples on this list, unless they specify full paths to each file. It is typical for us to omit or abrieviate file names and paths except when we're specifically discussing file locations. node 'somenode' { include puppetmaster } class puppetmaster { include common include puppet include ldap_auth include iptables::disabled include httpd::ssl include ruby-enterprise::passenger } class ruby-enterprise::passenger { include common include httpd include ruby-enterprise } class httpd::ssl { include httpd } The base file where everything starts is /etc/puppetlabs/puppet/ manifests/site.pp. Where do I define the puppetmaster class? Should I follow the structure shown on page 92 of the Pulling Strings with Puppet book? Generally speaking, site.pp should contain only global declarations (global variables, resource defaults, etc.) and often an 'import' of a separate manifest of node definitions (i.e. import 'nodes.pp'). When you're just starting out, that one import is all you want or need at first. PuppetLabs recommends, and most users seem to agree, that the best practice is to put substantially all class definitions in modules, and to lay them out in files so that Puppet's autoloader will find them automatically. The Puppet module documentation explains the layout needed to make that work; http://docs.puppetlabs.com/guides/modules.html. Very simple example: /etc/puppetlabs/puppet/manifests/site.pp -- # site.pp import 'nodes.pp' /etc/puppetlabs/puppet/manifests/nodes.pp -- # nodes.pp node default { include demo::hello } /etc/puppetlabs/puppet/modules/demo/manifests/init.pp -- # module demo # init.pp # (empty) /etc/puppetlabs/puppet/modules/demo/manifests/hello.pp -- # module demo # hello.pp class demo::hello { notify { hello': message = Hello, world! } } John -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: signing request from Windows client
Thank you! On Jan 10, 4:47 pm, Patrick Viet patrick.v...@learnosity.com wrote: $ puppet cert --list Could not parse for environment production: Could not find file /etc/ puppet/cert.pp Am I missing some part of the server configuration? The command you are running is for puppet 2.x The error you are getting is a typical reaction of puppet 0.x Check it with dpkg -l | grep puppet Then proceed to update puppet by editing the /etc/apt/sources.list, uncommenting the maverick-backports then apt-get update, apt-get -t maverick-backports install puppet puppetmaster Your puppet should be updated to 2.6.x You may not want to use ubuntu 10.10 in a server : it is not updated/ supported anymore. Actually, I would strongly advise against using anything but the LTS releases for servers : 10.04 LTS / lucid right now 12.04 LTS as soon as it is released, in April 2012. Cheers Patrick Viet -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Might someone out there repair some busted links ?
I wish I did. I am looking for recipe ideas for Tripwire. My environment uses an enterprise version that installs by rpm, but I need to tinker with configuring it. I was hoping for some clues from the missing documentation. On Jan 10, 2012, at 4:29 PM, Alanna Brown wrote: Hi Daniel, Do you happen to know what the link for /Recipes/Tripwire should actually link to? I tried doing a search for tripwire, but didn't find anything that seemed right. Thanks, Alanna On Thu, Dec 29, 2011 at 11:22 AM, Daniel Pittman dan...@puppetlabs.com wrote: On Thu, Dec 29, 2011 at 11:14, Dan White y...@comcast.net wrote: Lots of the links on this page: http://projects.puppetlabs.com/projects/1/wiki/Patterns are busted. one specific example: http://projects.puppetlabs.com/trac/puppet/wiki/Recipes/Tripwire The page you were trying to access doesn't exist or has been removed. Would it be possible to either fix them or remove them ? I have asked the folks who maintain our web stuff to look into that; thanks for letting us know. :) Daniel -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: tagmail issue
See below: On Tue, Jan 10, 2012 at 2:18 PM, Ashley Gould ago...@ucop.edu wrote: I have found a work around, but I would still like to understand what is correct behavior. Not sure what you mean, the only clarification is the notify resource will always result in a changed resource, guarantee you get transaction report with that tag on every single puppet run, While a regular tag resource will trigger tagmail only if there are changes/failure to that resource (or in another word the resource is not in desired state). If the tagged resource changed and tagmail didn't generate a report, I would consider it a bug. I used the notify resource instead of tag metaparam: if $::adinfo_mode == disconnected { notify { disconnected: message = AD client in disconnected state, } } As long you are ok with this resulting in a changed resource on every puppet run. This creats a logs object in the report which can then be accessed by tagmail: logs: - !ruby/object:Puppet::Util::Log level: !ruby/sym notice message: id010 AD client in disconnected state source: Puppet tags: - notice time: 2012-01-10 03:58:15.641172 -08:00 version: 2.6.4 - !ruby/object:Puppet::Util::Log file: id002 /data/puppet/production/modules/centrify/manifests/init.pp level: !ruby/sym notice line: 87 message: id011 defined 'message' as 'AD client in disconnected state' source: id012 /Stage[main]/Centrify/Notify[disconnected]/message tags: - notice - notify - disconnected - class - centrify - suse_base - common::suse - common - suse - node - default time: 2012-01-10 03:58:15.641953 -08:00 Clearly this does not correspond to any tagmail documentation, and it seems a round-about way to configure things. Is this a recommended approach? On Fri, Jan 06, 2012 at 05:45:42PM -0800, Ashley Gould wrote: Hi list, I am setting up tagmail. I have it working fine for loglevel tags such as all and err and notice. puppetmaster send email, and I recieve them. all good. but when I setup tagmail for user defined tags no email is sent. (I varified by checking postfix logs on the puppetmaster server.) master and agents are version 2.6.4 # /etc/puppet/tagmail.conf: #all: ago...@ucop.edu #err: ago...@ucop.edu #notice: ago...@ucop.edu connected: ago...@ucop.edu # manifest that sets my tag: class centrify { notice(adinfo_mode is '$::adinfo_mode') if $::adinfo_mode == connected { tag(connected) } package { CentrifyDC: ensure = present, provider = zypper, } } # puppetmaster log sees the notice: Jan 6 17:39:41 unxpupp01 puppet-master[9541]: (Scope(Class[Centrify])) adinfo_mode is 'connected' Jan 6 17:39:41 unxpupp01 puppet-master[9541]: Compiled catalog for sl11lab01-vhost.ucop.edu in environment dev_ashley in 0.39 seconds # Stored yaml report shows tag got set: unxpupp01:/logs/puppet/reports/sl11lab01-vhost.ucop.edu # grep -B10 connected 201201070139.yaml file: /data/puppet/dev_ashley/modules/centrify/manifests/init.pp line: 26 resource: Package[CentrifyDC] source_description: /Stage[main]/Centrify/Package[CentrifyDC] tags: - package - centrifydc - class - centrify - node - sl11lab01-vhost - connected In this partial output log, I don't see the resource changed, so I don't think it should trigger tagmail. Here's an example a package resource that changed during a puppet run (key difference Puppet::Transaction::Event): - !ruby/object:Puppet::Util::Log file: id002 /tmp/httpd.pp level: !ruby/sym notice line: 3 message: id001 created source: /Stage[main]//Package[httpd]/ensure tags: - notice - package - httpd - class ... - !ruby/object:Puppet::Transaction::Event audited: false desired_value: !ruby/sym present historical_value: message: *id001 name: !ruby/sym package_installed previous_value: !ruby/sym absent property: ensure status: success Thanks, Nan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: copying file(s) from agent to master??
On Tue, Jan 10, 2012 at 8:31 AM, Sans r.santanu@gmail.com wrote: Thanks Eric and Chris! If I understood correctly, I put something like this in the '/etc/ puppet/manifests/site.pp' filebucket { 'main': server = 'puppet.hep.ac.uk', path = false, } and then I set backup = main in one my file definitions but it doesn't seem to be working. after that I don't see the file (or hash) in the /var/lib/puppet/clientbucket (or bucket) at all. Am I doing the right thing? I think it's /var/lib/puppet/bucket instead of clientbucket on the server side. Thanks, Nan -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Puppet Triage-A-Thon
Hi Daniel, one ticket from me: #8893 HP-UX: allow shared homedirs for users I am looking forward to join via IRC. Kind regards, Martin On 10.01.2012, at 19:20, Daniel Pittman wrote: Those are high priority for the platform team anyhow, but if there is something you feel we have missed shoot me an email with the ticket number and I will try and get it bumped up in priority. Daniel On Tue, Jan 10, 2012 at 10:06, Brian Gallew g...@gallew.org wrote: Does this mean that the tickets which are just awaiting merge (including all the relevant unit tests) will get done some day soon? On Jan 9, 2012, at 11:36 PM, James Turnbull wrote: Love Puppet? Hate the backlog of tickets? Want to help us out? The Puppet community has grown really fast and a lot of you have logged tickets and issues. We’ve tried to give those tickets as much love as we could but some slip through the cracks and sometimes we get overwhelmed. We’ve recognized this and want to try to get a handle on the backlog of tickets. But we need your help to do this. What we’re going to do is hold a Triage-a-thon hosted locally in our offices, virtually on IRC (Freenode #puppethack) and the Web. http://puppetlabs.com/events/triagepuppet/ We’re going to review all the open tickets in the Puppet project with a view to: * Update and confirm that issues are still relevant * Ensure tickets are in the right status and all the right information is present to help us resolve it * Close any invalid or no longer relevant tickets We’ll assign blocks of tickets to every participant, have documentation explaining what you need to do and provide people on the ground to help you make decisions and answer questions. Triaging starts Saturday January 21st from 7am and last until 4pm (-8 GMT). We’ll also provide pizza, snacks (and beer!) and a venue locally in our Portland, OR offices. Virtually we’ll provide an IRC channel, IM and rewards (t-shirts, patches, stickers, badges, and books) for people who triage tickets and get involved. We’ll also offer Amazon Gift Cards to our top 3 participants! You can register for the event here: http://triagepuppet.eventbrite.com/?ref=ebtn. We hope you'll be interested in attending and helping us make Puppet better. Thanks James -- James Turnbull Puppet Labs 1-503-734-8571 To schedule a meeting with me: http://tungle.me/jamtur01 -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- ⎋ Puppet Labs Developer – http://puppetlabs.com ♲ Made with 100 percent post-consumer electrons -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.