[Puppet Users] puppetlabs-postgresql and puppetlabs-mysql fail with similar (same?) error

2015-08-09 Thread Peter Berghold
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

2015-08-09 Thread Matthew Hyclak
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.