Re: [Puppet Users] custom fact in custom facts resolves to nil

2015-05-29 Thread asheepen
Hi Peter, hi Thmaos, I'll need some time to test your suggestions. - Andreas Am Mittwoch, 27. Mai 2015 18:50:56 UTC+2 schrieb Peter Huene: > > Hi Andreas, > > On Tue, May 26, 2015 at 11:16 PM, > wrote: > >> Hi, >> >> is it possible to use custom facts inside other custom facts? >> >> With facte

Re: [Puppet Users] custom fact in custom facts resolves to nil

2015-05-29 Thread asheepen
Hi, one question. I'm using pluginsync. "Custom facts can be distributed to clients using the Plugins in Modules method." That seems not to be enough. So what is the path I've to use? Is it the path to the *rb files e.g. ..//lib/fac

[Puppet Users] Facter throwing MySQL errors

2015-05-29 Thread Jonathan Gazeley
Hi folks, Since upgrading to Puppet 3.8.1 my Facter (2.4.4) has been throwing this error every run: [jg4461@webdev-ispms ~]$ facter ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ERROR 2002 (HY000): Can't connect to local MySQL server th

Re: [Puppet Users] Facter throwing MySQL errors

2015-05-29 Thread Martin Alfke
Have you tried running facter -p This will also pull the pluginsynced facts. (I am unsure which version has puppet facter) On 29 May 2015, at 11:21, Jonathan Gazeley wrote: > Hi folks, > > Since upgrading to Puppet 3.8.1 my Facter (2.4.4) has been throwing this > error every run: > > [jg44

Re: [Puppet Users] Facter throwing MySQL errors

2015-05-29 Thread Jonathan Gazeley
Yes, I tried running facter -p and it produces the same error. The same error also crops up when puppet or mcollective execute facter too. Thanks, Jonathan On 29/05/15 12:25, Martin Alfke wrote: Have you tried running facter -p This will also pull the pluginsynced facts. (I am unsure which v

Re: [Puppet Users] Re: puppetdb module fails to install or work with fresh node

2015-05-29 Thread Ken Barber
So Rob I've managed to do a successful install on a clean Ubuntu 14.04 box, you can see the full transcript from here: https://gist.github.com/kbarber/837ff7e55e8940a7d1c8 What variations during the installation process do you think are here? In regards to your other points yesterday: > I figure

Re: [Puppet Users] Facter throwing MySQL errors

2015-05-29 Thread Martin Alfke
Try facter -p —debug or even facter -p —debug —trace to identify the broken fact which does the mysql connection. hth, Martin On 29 May 2015, at 13:51, Jonathan Gazeley wrote: > Yes, I tried running facter -p and it produces the same error. The same error > also crops up when puppet or mcol