Re: [Puppet Users] hiera 2.4.4 literal function not working

2015-06-03 Thread Pete Brown
On 3 June 2015 at 23:09, Henrik Lindberg wrote: > On 2015-03-06 4:08, Pete Brown wrote: >> >> Hi everyone, >> >> I have been porting my puppet management module to puppet 4 and have >> run across what seems to be a bug but I am not completely sure. >> My module manages the hiera.yaml file so I nee

Re: [Puppet Users] Calling hiera functions from inside Ruby templates broken in Puppet 4.x?

2015-06-03 Thread Stephen Gelman
Henrik, Thanks for the reply. Now that it is established that this is a problem is there a plan to re-add this functionality? Should I submit a ticket for it? Thanks, Stephen On Thu, May 28, 2015 at 10:44 AM, Henrik Lindberg < henrik.lindb...@cloudsmith.com> wrote: > On 2015-27-05 20:08, Ste

Re: [Puppet Users] Re: Announce: Puppet 3.8.1 available

2015-06-03 Thread Kylo Ginsberg
On Wed, Jun 3, 2015 at 2:19 PM, Henrik Lindberg < henrik.lindb...@cloudsmith.com> wrote: > On 2015-03-06 19:32, Stefan Lasiewski wrote: > >> Kylo, >> >> Can you make sure this information is added >> to http://docs.puppetlabs.com/release_notes/#current-releases ? That >> page still says that 3.7 a

Re: [Puppet Users] Re: Announce: Puppet 3.8.1 available

2015-06-03 Thread Henrik Lindberg
On 2015-03-06 19:32, Stefan Lasiewski wrote: Kylo, Can you make sure this information is added to http://docs.puppetlabs.com/release_notes/#current-releases ? That page still says that 3.7 and PE 3.7 are the current releases, which is a bit confusing when Yum is telling me otherwise. It shows

[Puppet Users] Announce: Puppet Server 2.1.0 and 1.1.0 available!

2015-06-03 Thread Jeff McCune
We're pleased to announce that Puppet Server 1.1.0 and 2.1.0 are both now available! Both of these releases are backwards compatible feature releases in their respective Semantic Versioning major versions. This email is a combined announcement for 2.1 and 1.1. Puppet Server

Re: [Puppet Users] Validating more than one type of data structure at a time

2015-06-03 Thread Jacob McCoy Wade
This would be a nice elegant solution, however we have not turned the future parser on quite yet. I will certainly keep this function in mind though in the future. > On Jun 3, 2015, at 5:56 AM, Henrik Lindberg > wrote: > > On 2015-03-06 6:26, Jacob McCoy Wade wrote: >> I am trying to find ou

Re: [Puppet Users] Validating more than one type of data structure at a time

2015-06-03 Thread Jacob McCoy Wade
This solution works exactly as I was hoping for. Thank you Craig. > On Jun 3, 2015, at 12:00 AM, Craig Dunn wrote: > > The validate_* functions are designed to fail the catalog if the > passed variable doesnt match the defined type, sounds like you want > the is_* functions (also from stdlib) wh

[Puppet Users] Re: Announce: Puppet 3.8.1 available

2015-06-03 Thread Stefan Lasiewski
Kylo, Can you make sure this information is added to http://docs.puppetlabs.com/release_notes/#current-releases ? That page still says that 3.7 and PE 3.7 are the current releases, which is a bit confusing when Yum is telling me otherwise. Thanks, -= Stefan On Tuesday, May 26, 2015 at 4:44:5

[Puppet Users] Augeas resource type for Windows?

2015-06-03 Thread Charlie Baum
I want to use Augeas to manage/change some XML files using my puppet manifest. I'd really prefer not to use templates, and Augeas seems like it does what I want. However when I try it, my Windows event log says there is no suitable provider for Augeas. Is that provider not supported on Window

[Puppet Users] Way to schedule package installs with some complicated logic

2015-06-03 Thread jmp242
If I want to install packages only Monday 10PM-3AM or Tuesday 10AM-Noon, unless a (external fact provided by another system) is true, what might be the best way to do that? Do I need to create 2 schedule resources, 2 package resources each with a different schedule, but otherwise the same (mayb

Re: [Puppet Users] hiera 2.4.4 literal function not working

2015-06-03 Thread Henrik Lindberg
On 2015-03-06 4:08, Pete Brown wrote: Hi everyone, I have been porting my puppet management module to puppet 4 and have run across what seems to be a bug but I am not completely sure. My module manages the hiera.yaml file so I need to be able to setup my hierarchy from a hiera variable When this

Re: [Puppet Users] Announce: Puppet 4 available!

2015-06-03 Thread Peter
Hi Kylo, Just checking if there was still an issue with the process to build packages for Debian Jessie? Debian was officially released on April 25th. Thanks, Peter On Friday, 17 April 2015 16:32:17 UTC+10, Kylo Ginsberg wrote: > > On Thu, Apr 16, 2015 at 6:04 AM, Dennis Hoppe < > dennis...@d

Re: [Puppet Users] Validating more than one type of data structure at a time

2015-06-03 Thread Henrik Lindberg
On 2015-03-06 6:26, Jacob McCoy Wade wrote: I am trying to find out how I can validate more than one type of data structure for a given value in a manifest? In particular I would like to be able to have either a string or a hash be a valid data structure. Something like: if ($myvar != false) { v

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

2015-06-03 Thread asheepen
Hi all, I tested ib master / agent environment and the problem isn't there anymore?! I don't know what went wrong for the first time. But now every works as expected. Regards Andreas Am Montag, 1. Juni 2015 09:30:37 UTC+2 schrieb ashe...@gmail.com: > > Hi all, > > first thanks to all of you.

[Puppet Users] Puppetserver JVM metrics challenges

2015-06-03 Thread Stephen Wallace
Hi, The client I'm working with are having a few issues with running out of Java heap space on puppetserver, and activemq. 3.7.4 (Puppet Enterprise 3.7.2). We have applied some Java tuning, but still see issues periodically. I have been asked to provide some monitoring visibility over the PE s

[Puppet Users] Re: Unable to use Weblogic slinet installation on puppet

2015-06-03 Thread bert hajee
Are you using the orawls module from the forge to install weblogic? https://forge.puppetlabs.com/biemond/orawls Bert Op donderdag 28 mei 2015 06:31:25 UTC+2 schreef Bala chandran: > > Having this error when the module is run > > Notice: /Stage[main]/Weblogic/Exec[install weblogic]/returns: Unab

Re: [Puppet Users] Validating more than one type of data structure at a time

2015-06-03 Thread Craig Dunn
The validate_* functions are designed to fail the catalog if the passed variable doesnt match the defined type, sounds like you want the is_* functions (also from stdlib) which return true or false but dont fail. if ( is_string($myvar) or is_hash($myvar) ) { ... } else { fail('not a string or