Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-05 Thread Henrik Lindberg
On 05/03/16 09:42, Sans wrote: Can this look-up done from agent as well? -S The first release of lookup runs on the master side, but it uses the last facts posted by the node; so result is node specific. No way currently to run it from an agent against the master though. If you are set up

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-05 Thread Sans
Can this look-up done from agent as well? -S On Friday, March 4, 2016 at 4:52:05 PM UTC, Henrik Lindberg wrote: > > Recent would be >= 4.2 wrt. lookup functionality. > Sorry. > - henrik > > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-04 Thread Henrik Lindberg
On 04/03/16 16:41, Sans wrote: I'm on v3.8.4 Can it be run from agent? If it does, then it gonna solve my another issue as well. Recent would be >= 4.2 wrt. lookup functionality. Sorry. - henrik -San On Thursday, March 3, 2016 at 6:10:33 PM UTC, Henrik Lindberg wrote: If you are on

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-04 Thread Sans
I'm on v3.8.4 Can it be run from agent? If it does, then it gonna solve my another issue as well. -San On Thursday, March 3, 2016 at 6:10:33 PM UTC, Henrik Lindberg wrote: > > > If you are on a newer puppet version where the lookup command is > available you can use 'puppet lookup --explain y

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Henrik Lindberg
On 03/03/16 17:46, Trevor Vaughan wrote: You can try using the hiera command line tool on your hiera.yaml file. hiera -c '/path/to/hiera.yaml' your::variable. If you are on a newer puppet version where the lookup command is available you can use 'puppet lookup --explain your::variable' as i

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Trevor Vaughan
You can try using the hiera command line tool on your hiera.yaml file. hiera -c '/path/to/hiera.yaml' your::variable. You may also need to check your server logs to see if there is an error. If you're using the Java Pupperserver, you may want to restart it due to the change in environment cachin

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Sans
Looks like to me it's not getting value from the Hiera at all. How can I make sure of that? -S On Thursday, March 3, 2016 at 1:28:51 PM UTC, Trevor Vaughan wrote: > > Hi Sam, > > Are you 100% sure that $wp_multisite is getting the value from Hiera? > > In this case, it looks like the value is e

Re: [Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Trevor Vaughan
Hi Sam, Are you 100% sure that $wp_multisite is getting the value from Hiera? In this case, it looks like the value is empty. Thanks, Trevor On Thu, Mar 3, 2016 at 5:23 AM, Sans wrote: > > Hi guys, > > Suddenly started getting this error, which I cannot understand why I'm > getting this: > >

[Puppet Users] validate_bool() throwing in error syaing the value not a boolean

2016-03-03 Thread Sans
Hi guys, Suddenly started getting this error, which I cannot understand why I'm getting this: Error: Evaluation Error: Error while evaluating a Function Call, "" is not a boolean. It looks to be a String at /usr/local/K101/puppet/modules/apps/ manifests/app.pp:32:5 on node.. the line 32