Re: [Puppet Users] Puppet 3.8.2 available
Hi, there seems to be no package for Debian 8 (Jessie) on apt.puppetlabs.com. Neither in the jessie dist tree nor testing, where Puppet 3.8.1 for jessie could be found previously. Is this a mistake or will they be added later? Regards, Stefan - Original Message - From: Kylo Ginsberg k...@puppetlabs.com To: puppet-users@googlegroups.com Sent: Friday, August 7, 2015 2:52:45 AM Subject: [Puppet Users] Puppet 3.8.2 available Puppet 3.8.2 is a bug fix release (with future parser changes) in the Puppet 3.8 series. The main focus of this release is to make sure the 3.8 future parser is forward-compatible with the Puppet language as of Puppet 4.2. It also add some new reserved keywords (if using the future parser) and it fixes several bugs. Check out the release notes for more information: https://docs.puppetlabs.com/puppet/3.8/reference/release_notes.html#puppet-382 You can see the full list of changes on the release's JIRA page: https://tickets.puppetlabs.com/jira/secure/ReleaseNote.jspa?projectId=10102version=13415 If you're installing Puppet for the first time, follow the Installation Guide: https://docs.puppetlabs.com/guides/install_puppet/pre_install.html -- Kylo Ginsberg | k...@puppetlabs.com | irc: kylo | twitter: @kylog *PuppetConf 2015 http://2015.puppetconf.com/ is coming to Portland, Oregon! Join us October 5-9.* *Register now to take advantage of the Early Bird discount https://www.eventbrite.com/e/puppetconf-2015-october-5-9-tickets-13115894995?discount=EarlyBird * *—**save $249!* -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CALsUZFHf%3D3q4%3DF3BzrKHo-q6Phu4p%2BABMyNyYuaevRZCjf444Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1215246560.1310163.1439133750209.JavaMail.zimbra%40desy.de. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] Help with NTP module provided by puppetlabs
Hi Eddie, On 09 Aug 2015, at 16:25, Eddie Mashayev eddie...@gmail.com wrote: Hi All, I have many servers spread in 3 different time zones USA (NY and San Francisco) and also in ISR. Have 3 NTP servers, one NTP server in each location. https://forge.puppetlabs.com/puppetlabs/ntp module is letting you to insert an array of NTP servers class { '::ntp': servers = [ 'ntp1.corp.com', 'ntp2.corp.com' ], } I can override this array but the problem is how to fit the correct NTP server to each server in the different location. In other words, how can I modified the puppet module to fit server to the correct NTP Server by locations. For example - I thought using the server prefix name to choose the right NTP server, for example if this server is located in NY so it prefix name is ny-{server name} so I can fit it to NY NTP server but it look like a headache to do it. Do you have any idea how can it be done in most efficient way with the NTP module provided by puppetlabs. Several solutions: 1. write wrapper module per data center: class ny_ntp { class { ‘::ntp’: server = [‘ny_ntp.corp.com’], } } class sf_ntp { class { ‘::ntp’: servers = [‘sf_ntp.corp.com’], } } class isr_ntp { class { ‘::ntp’: servers = [‘isr_ntp.corp.com’], } } use one of the the wrapper class within node classification 2. use hiera provide a custom fact to identify location per server and put ntp::servers into the appropriate hiera data hierarchy. Best, Martin Thanks, EddieM -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8cdf1ae0-46c8-4de6-bb06-9f42bdbd31ed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0CB6F615-A45C-408F-90B2-CCAEB9FCBC01%40gmail.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] Help with NTP module provided by puppetlabs
Hi All, I have many servers spread in 3 different time zones USA (NY and San Francisco) and also in ISR. Have 3 NTP servers, one NTP server in each location. https://forge.puppetlabs.com/puppetlabs/ntp module is letting you to insert an array of NTP servers class { '::ntp': servers = [ 'ntp1.corp.com', 'ntp2.corp.com' ], } I can override this array but the problem is how to fit the correct NTP server to each server in the different location. In other words, how can I modified the puppet module to fit server to the correct NTP Server by locations. For example - I thought using the server prefix name to choose the right NTP server, for example if this server is located in NY so it prefix name is *ny*-{server name} so I can fit it to NY NTP server but it look like a headache to do it. Do you have any idea how can it be done in most efficient way *with the NTP module provided by puppetlabs*. Thanks, EddieM -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8cdf1ae0-46c8-4de6-bb06-9f42bdbd31ed%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Puppet Users] puppetlabs-postgresql and puppetlabs-mysql fail with similar (same?) error
I'll focus on the mysql module first. I assigned the ::mysql::server class to one of my hosts expecting mysql server to get loaded and this happened instead: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Unknown function pick at /etc/puppet/environments/production/modules/mysql/manifests/server/config.pp:22 on node earlier in the day with a different host I saw the same function get called out for the puppetlabs-postgresql module as not being found. Here is the affected line in the msyql;:server::config class. $logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false) where was this function supposed to have come from? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAArvnv2xKZ8V-h17ann_rNPG1mEzqMhOs5mZ0NUbgfdFjaeCaA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: [Puppet Users] puppetlabs-postgresql and puppetlabs-mysql fail with similar (same?) error
It comes from puppetlabs-stdlib. puppet module should have installed it as a dependency, but if you're installing the modules by hand (like with r10k) you'll have to check all of the dependencies and make sure they're also installed. For example, puppetlabs-mysql also requires nanliu-staging in addition to stdlib: https://forge.puppetlabs.com/puppetlabs/mysql/dependencies Matt On Sun, Aug 9, 2015 at 6:51 PM, Peter Berghold salty.cowd...@gmail.com wrote: I'll focus on the mysql module first. I assigned the ::mysql::server class to one of my hosts expecting mysql server to get loaded and this happened instead: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Unknown function pick at /etc/puppet/environments/production/modules/mysql/manifests/server/config.pp:22 on node earlier in the day with a different host I saw the same function get called out for the puppetlabs-postgresql module as not being found. Here is the affected line in the msyql;:server::config class. $logbin = pick($options['mysqld']['log-bin'], $options['mysqld']['log_bin'], false) where was this function supposed to have come from? -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAArvnv2xKZ8V-h17ann_rNPG1mEzqMhOs5mZ0NUbgfdFjaeCaA%40mail.gmail.com https://groups.google.com/d/msgid/puppet-users/CAArvnv2xKZ8V-h17ann_rNPG1mEzqMhOs5mZ0NUbgfdFjaeCaA%40mail.gmail.com?utm_medium=emailutm_source=footer . For more options, visit https://groups.google.com/d/optout. -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAO7w0s7y4Brr-O3saiqf%3DybfFcnzv95iCvqRarjm906NHD6NfA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.