Re: [Puppet Users] Creating user with random password (only once)

2012-10-30 Thread Krzysztof Wilczynski
Hey, There is also this: https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/random_password.rb KW On Tuesday, October 30, 2012 1:39:35 PM UTC, Ygor wrote: > > The package "expect" contains a script/binary called "mkpasswd" that I > find very appropriate for

[Puppet Users] Re: Concatanating result of custom function to a string

2012-10-06 Thread Krzysztof Wilczynski
Hey, I think, you might be over-thinking this a little :) KW On Saturday, October 6, 2012 11:41:09 AM UTC+1, Amos Shapira wrote: > > Hello, > > I'm working on execution of puppet's "puppet cert generate > ...--dns_alt_names=name1,name2,name2" using Puppet 2.7.19 and didn't find a > way to figu

[Puppet Users] Re: is_virtual selector

2012-10-06 Thread Krzysztof Wilczynski
> removed (the 8 lines of code you recommended). It does remove the package, > but I don't know why it mentions creating it upon the second run, even > though it does not actually get re-installed. Maybe traditional 'if' > statements are advised. > > ~M

[Puppet Users] Re: is_virtual selector

2012-10-05 Thread Krzysztof Wilczynski
Hey, This selector expects to get a true boolean value e.g. true / false (TrueClass / FalseClass in Ruby) and that is why it is failing, since you are passing a string "true" from the fact (and all values coming from Facter are strings, even numeric values). Grab this: https://raw.github.com/

[Puppet Users] Re: puppet hangs

2012-09-08 Thread Krzysztof Wilczynski
Hi, Not sure why your Puppet run never terminates, and looking at lsof output it looks fairly normal. Said that, can you include strace output for such misbehaving process? Thanks! KW On Sunday, September 9, 2012 1:30:01 AM UTC+1, Balasubramaniam Natarajan wrote: > > > > On Sun, Sep 9, 2012 a

[Puppet Users] Re: Making a result of custom function available to multiple classes

2012-09-08 Thread Krzysztof Wilczynski
Hi, Since functions run on the Puppet Master side, the simplest solution is to cache the value if its "freshness" is not mandatory i.e. does not change, lets say every 5 minutes? Or, even it will be fine every 24 hours, etc ... Consider this snippet: https://gist.github.com/3680388 Let me know

[Puppet Users] Re: Facter does not deliver ip addresses

2012-09-05 Thread Krzysztof Wilczynski
Hi, How does your ifconfig -a output looks like? Suspects: https://github.com/puppetlabs/facter/blob/master/lib/facter/interfaces.rb https://github.com/puppetlabs/facter/blob/master/lib/facter/util/ip.rb KW On Wednesday, 5 September 2012 09:52:03 UTC+1, Axel Bock wrote: > > Hello, > > @Joseph

[Puppet Users] Re: Literal @ character in erb template

2012-08-31 Thread Krzysztof Wilczynski
slogs to. In other words, I don't want it to be evaluated as ERB code. > So how can I have puppet/the template engine ignore the '@' symbol and > treat it as a literal string? > > > > > On Friday, August 31, 2012 11:21:08 AM UTC-4, Krzysztof Wilczynski wrote: &

[Puppet Users] Re: Literal @ character in erb template

2012-08-31 Thread Krzysztof Wilczynski
Hi, I am not sure how your template looks like, or how do you render it, but try to avoid putting anything with @ into a <%= %> block. It should just work: matti@acrux ~ $ irb >> require 'erb' => true >> host = 'localhost' => "localhost" >> p ERB.new('*.notice;news.none;cron.none @<%= host %>:

[Puppet Users] Re: puppet installation on windows7

2012-08-30 Thread Krzysztof Wilczynski
Hi, I suggest you share the error, so we can actually suggest a suggestion. Good luck with Puppet on Windows 7 :) KW On Thursday, 30 August 2012 11:31:59 UTC+1, valar mathi wrote: > > when puppet installed in windows7 and when the run puppet agent is clicked > im getting certificate retrieval

[Puppet Users] Re: puppetlabs-stdlib

2012-08-29 Thread Krzysztof Wilczynski
Hi, For some reason these are in README.markdown, perhaps a copy-paste mistake. Look inside the directory :) KW On Wednesday, August 29, 2012 5:58:13 PM UTC+1, Douglas wrote: > > I'm confused about this... > > https://github.com/puppetlabs/puppetlabs-stdlib/ > > I see a lot of functions there

[Puppet Users] Re: Managing plugins

2012-08-29 Thread Krzysztof Wilczynski
Hi, [...] I'd get rid of wget altogether, then make nice packages for each plugin using https://github.com/jordansissel/fpm and then just use Puppet's package to install relevant ones. KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To v

[Puppet Users] Re: How to purge network-manager (requires reboot) ?

2012-08-29 Thread Krzysztof Wilczynski
Hi Sandra, [...] > > but the problem is, that I suppose a reboot is required for the NIC's no > longer to be manged by network-manager? > > I am not sure why would it require a restart, hm... I am used to making sure that the service is stopped, packaged purged and then you only need to make

[Puppet Users] Re: Why this "Could not evaluate" error?

2012-08-28 Thread Krzysztof Wilczynski
Hi, Thanks for the hugs :) There seem to be a problem with underlying provider / binaries on which said provider relies. Nothing wrong with your content, as far as I can tell from the little snippet provided. KW On Tuesday, August 28, 2012 4:37:51 PM UTC+1, Sandra Schlichting wrote: > > Pleas

[Puppet Users] Re: Append string to list items.

2012-08-28 Thread Krzysztof Wilczynski
Hi, You could try this: matti@acrux ~ $ cat | puppet apply --noop notice bracket_expansion('gfs[01-10]:/var/bricks') notice: Scope(Class[main]): gfs01:/var/bricks gfs02:/var/bricks gfs03:/var/bricks gfs04:/var/bricks gfs05:/var/bricks gfs06:/var/bricks gfs07:/var/bricks gfs08:/var/bricks

[Puppet Users] Re: Accessing a fileserver file from a custom function

2012-08-07 Thread Krzysztof Wilczynski
Hi James, [...] > How could I acheive this please?  I'd rather not hard-code the full path as > this would be brittle - how can I "resolve" the puppet:/// url to the actual > file location please? Using "puppet:///" and "file:///" in a way similar to what the File type offers from within a cus

[Puppet Users] Re: How to index into array from a function

2012-08-03 Thread Krzysztof Wilczynski
Hi, I believe that Puppet's DSL parser has no concept of such implemented at this point in time. Your expectations are probably set upon looking how this can be done in Ruby, whereas Puppet DSL is not a proper (a full-blown, so to speak) programming language in the sense of what Ruby is, for i

[Puppet Users] Re: OT: Monitoring solutions

2012-06-25 Thread Krzysztof Wilczynski
Hi, Have a look at https://github.com/monitoringsucks/ KW On Sunday, 24 June 2012 21:45:50 UTC+1, k...@mocker.org wrote: > > All, > > I'm curious what monitoring solutions everyone is using and recommend, > some of the ones I've been looking at recently: > > Nagios: Old stand-by, used quite a

Re: [Puppet Users] Re: Calling custom functions from functions, parameter weirdness

2012-06-25 Thread Krzysztof Wilczynski
Hi, Ruby DSL and templates (via e.g. inline_template) would have the same problem, unless this was handled properly on the function's side. KW On Friday, 22 June 2012 18:53:55 UTC+1, ad wrote: > > Josh, > > I appreciate the help. Using function_foo(['bar']) rather than > function_foo('bar') wo

[Puppet Users] Re: Look for existing Facter Modules for retrieving some system description information

2012-05-24 Thread Krzysztof Wilczynski
Hi, On Thursday, May 24, 2012 2:13:08 PM UTC+1, Christophe L wrote: > > Hello, > > Thanks for pointing your "kwilczynski" github repo, it gave me most of the > information I was looking for ! > Glad you found it useful. > I put a list of information below, does anyone know facts or facter mo

[Puppet Users] Re: Look for existing Facter Modules for retrieving some system description information

2012-05-21 Thread Krzysztof Wilczynski
Hi, On Monday, May 21, 2012 8:31:48 AM UTC+1, Christophe L wrote: > > Hello, > > I have not been able to find existing Facter modules for retrieving > the information I listed below. > > Could you point me on some modules which would anwer my needs please ? > > Below the list of information I

[Puppet Users] Re: Announce: PuppetDB 0.9.0 (first release) is available

2012-05-18 Thread Krzysztof Wilczynski
Hi, Awesome sauce, definitely +1 :) KW On Friday, May 18, 2012 3:21:26 PM UTC+1, Michael Stanhke wrote: > > PuppetDB, a component of the Puppet Data Library, is a centralized storage > daemon for auto-generated data. This initial release of PuppetDB targets > the > storage of catalogs and fac

[Puppet Users] Re: Puppet stdlib - Is there a validate_in function

2012-04-29 Thread Krzysztof Wilczynski
Hi, On Sunday, April 29, 2012 3:25:48 PM UTC+1, Peter wrote: > > Hi KW, > > On Apr 29, 4:30 am, Krzysztof Wilczynski > wrote: > > Hi, > > > > > I was hoping that I could just simply do a: > > > validate_in($::{ensure}, $::{valid_ensure_values

[Puppet Users] Re: Puppet stdlib - Is there a validate_in function

2012-04-28 Thread Krzysztof Wilczynski
Hi, [...] > $valid_ensure_values = [ "present", "absent" ] > > if ! ("$::{ensure}" in $::{valid_ensure_values}) { > $test_ = inline_template("<%= > ($::apt-cacher-ng::params::valid_ensure_values).join(', ') %>") > > fail("${module_name}::server - Invalid ensure value [currently

[Puppet Users] Re: ordering or chaining for generate() function

2012-04-25 Thread Krzysztof Wilczynski
Hi, On Wednesday, April 25, 2012 5:49:03 PM UTC+1, psychobyte wrote: > > Essentially, yeah. > [...] > I want to guarantee that the generate function runs before any file > resources. > In such case, look at stages, perhaps it will help. Other than that, if you want to make sure that said conf

[Puppet Users] Re: ordering or chaining for generate() function

2012-04-25 Thread Krzysztof Wilczynski
Hi, Am I right in thinking that something like that has place. On the Master: generate() -> template() and/or "static file" -> /config/file/on/the/client Then, if /config/file/on/the/client exists, you do not use generate(), yet when on the contrary, then you have to fire generate() first to ge

Re: [Puppet Users] What is the "false" directory?

2012-04-24 Thread Krzysztof Wilczynski
Hi, On Tuesday, April 24, 2012 6:38:27 PM UTC+1, Nigel Kersten wrote: > > This should get reported as a bug though. > > We should probably only accept absolute paths for the 'path' parameter, > and "false" should get interpreted as the boolean. > +1 KW -- You received this message because yo

[Puppet Users] Re: How to increment variable in erb template ?

2012-04-24 Thread Krzysztof Wilczynski
Hi, \o/ KW On Tuesday, 24 April 2012 15:18:56 UTC+1, AnOnJoe wrote: > > I've got it : > > Compteur <%= compteur %> >> *<% compteur = compteur.to_i -%>* >> <% compteur += 1 -%> >> Compteur <%= compteur %> >> > > > Le mardi 24 avril 2012 15:38:28 UTC+2, AnOnJoe a écrit : >> >> Hi', >> >> I'm loo

[Puppet Users] Re: How to increment variable in erb template ?

2012-04-24 Thread Krzysztof Wilczynski
Hi, On Tuesday, 24 April 2012 14:38:28 UTC+1, AnOnJoe wrote: > > Hi', > > I'm looking for a way to increment variable in template (erb file). > > I tried this, but it didn't work > > Compteur <%= compteur %> >> <% compteur = compteur + 1 %> >> Compteur <%= compteur %> >> > > I've got this error :

[Puppet Users] Re: help with array in a template.

2012-04-24 Thread Krzysztof Wilczynski
Hi, [...] > It is in the split in fact I don't have space between the value but > carried returns, so if I split to "\n", it works. > This is slightly worrisome. I encourage you to go with separating values with a comma, not only because it follows style of how other facts return values, bu

[Puppet Users] Re: Only write file if copy on master is present

2012-04-23 Thread Krzysztof Wilczynski
Hi, On Monday, 23 April 2012 16:14:59 UTC+1, Dennis Jacobfeuerborn wrote: [...] > If I make any progress there you can expect a pull request for the changes > :) > [...] Thank you! That's very kind :) Let me know if I can help and/or we can join efforts. KW -- You received this message beca

[Puppet Users] Re: Only write file if copy on master is present

2012-04-23 Thread Krzysztof Wilczynski
Hi, On Monday, 23 April 2012 13:59:00 UTC+1, Dennis Jacobfeuerborn wrote: > Thanks, this looks like it will do the trick. The lack of puppet:// > support probably means I will have to hard-code a path to a directory > somewhere but that shouldn't be to big of a deal. > [...] Apologies for that

[Puppet Users] Re: puppet calling stat() on managed symlinks

2012-04-23 Thread Krzysztof Wilczynski
[...] I forgot to add ... You probably do not want Puppet to follow symbolic links which in conjunction with the "recurse => true" is leading to open() done on each new directory during traversal. Perhaps setting "links => ignore" will help, not sure, thought. KW -- You received this messag

[Puppet Users] Re: puppet calling stat() on managed symlinks

2012-04-23 Thread Krzysztof Wilczynski
Hi Tim, On Monday, 23 April 2012 05:41:31 UTC+1, Tim wrote: [...] > IANAE here, but it seems that this open is unnecessary? > [...] This is not Puppet doing open on this directory (not explicitly anyway). Have a look on this: kwilczynski@desktop:~/Development/Sandbox/Test$ mkdir -p a/{b,c/d}

[Puppet Users] Re: Only write file if copy on master is present

2012-04-22 Thread Krzysztof Wilczynski
Hi, On Sunday, 22 April 2012 02:15:19 UTC+1, Dennis Jacobfeuerborn wrote: [...] > The twist I need to add though is that I only want to do this if a copy of > that file for the node exists on the server. If this file doesn't > exists then I want puppet to not replace the file on the client and

[Puppet Users] Re: Custom Function to generate random password

2012-04-03 Thread Krzysztof Wilczynski
Hi, I am glad you found it useful. KW On Tuesday, 3 April 2012 14:01:44 UTC+1, r0k5t4r wrote: > > Hi, > > thanks a lot. Just what I was looking for. Works like a charm. :) > > Best Regards > > On 3 Apr., 13:36, Krzysztof Wilczynski > wrote: > > Hi, > &

[Puppet Users] Re: Custom Function to generate random password

2012-04-03 Thread Krzysztof Wilczynski
Hi, On Tuesday, 3 April 2012 07:36:06 UTC+1, r0k5t4r wrote: > > Hi, > > I'm currently trying to write a simple function to generate a random > password. I have looked at the fqdn_rand.rb script to get things going > but unfortunately my ruby skills are very bad. > [...] Try this one: https:/

Re: [Puppet Users] stdlib/range issue

2012-04-01 Thread Krzysztof Wilczynski
Hi, [...] I changed how the range works (also making it resists Ruby's string permutation bomb). Ideas implemented so far: https://gist.github.com/2277148 https://gist.github.com/2277144 https://gist.github.com/2270106 Also, the "a..b" and "a...b" notation should also be supported. I will pu

Re: [Puppet Users] stdlib/range issue

2012-03-29 Thread Krzysztof Wilczynski
Hi, irb(main):008:0> ("08".."12").to_a > => ["08", "09", "10", "11", "12"] > > irb(main):010:0> (8..12).to_a > => [8, 9, 10, 11, 12] > > But then, the range() function in stdlib, makes a type conversion, that > breaks this possibility. I don't understand why do you do that > conversion... the f

[Puppet Users] Re: Facts loading 4-5x

2012-03-28 Thread Krzysztof Wilczynski
Hi, It is a known issue in older version. A quick search yields: http://projects.puppetlabs.com/issues/3741 http://projects.puppetlabs.com/issues/8341 And probably more could pop-up in results (citation needed). KW On Wednesday, 28 March 2012 14:51:03 UTC+1, Christopher Johnston wrote: > > Is

Re: [Puppet Users] Re: dsl check if port is open

2012-03-28 Thread Krzysztof Wilczynski
Thanks Jeff and Krzysztof, > > I think I will write a facter using netcat or something then and catch it > in the manifests. > > nc -z domain_name port > > Cheers, > DGarvey > > On Tue, Mar 27, 2012 at 2:36 PM, Jeff McCune wrote: > >> On Tue, Mar 27, 2012

[Puppet Users] Re: dsl check if port is open

2012-03-27 Thread Krzysztof Wilczynski
Ho David, On Tuesday, 27 March 2012 19:05:09 UTC+1, David Garvey wrote: > > Can I check if a port is open for DSL? I need to check if the box has an > acl allowing the nagios server to connect via nrpe before writing nagios > config. [...] Managing firewall using Puppet as well, as per what J

[Puppet Users] Re: virtual resources vs fqdn_rand

2012-03-22 Thread Krzysztof Wilczynski
Hi, [...] > I have worked around this by passing in a $minute argument, but this > seems a bit inelegant -- the slave certainly has no business > determining the backup schedule. Other than a feature request for > fqdn_rand to allow a value to be passed in, any ideas on a more > elegant way to

Re: [Puppet Users] Re: [Arrray] grep -v

2012-03-19 Thread Krzysztof Wilczynski
Hi, Just wanted to let you know, that I have added "select.rb" to the "reject.rb", which is the opposite (to some extent). I hope you find them useful :) KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web v

Re: [Puppet Users] Re: [Arrray] grep -v

2012-03-19 Thread Krzysztof Wilczynski
Hi, thx a lot... it helps > [...] I do hope that it fulfils your use case :) KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/cDL3aXljws0J. To post to

[Puppet Users] Re: [Arrray] grep -v

2012-03-19 Thread Krzysztof Wilczynski
Hi, So it doesn't work this way any thoughts? > [...] Would that work for you: https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/reject.rb ? KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view

[Puppet Users] Re: is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-16 Thread Krzysztof Wilczynski
HI Chris, Awesome, +1 :) KW On Friday, 16 March 2012 22:09:34 UTC, Chris O'Donnell wrote: > > FYI, I downloaded the following branch this morning: > > git clone -b ticket/10162-firewallchain_support_for_merge git:// > github.com/kbarber/puppetlabs-firewall.git > > and found a bug where the args

Re: [Puppet Users] custom fact issue

2012-03-16 Thread Krzysztof Wilczynski
Hi, There is also no need to call "date" from within the shell saving on unnecessary fork, as Ruby can provide UTC time for you. More concise version: https://gist.github.com/2051811 KW On Friday, 16 March 2012 16:51:02 UTC, Jemmorey wrote: > > So far so good. In test environment it actually

[Puppet Users] Re: is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-15 Thread Krzysztof Wilczynski
Hi, [...] > Anyone have a hack (ugly or not) to implement this? > A hack? Um. http://projects.puppetlabs.com/issues/10162 http://projects.puppetlabs.com/issues/10958 https://github.com/puppetlabs/puppetlabs-firewall/pull/59 It will probably be there in the near future. KW -- You receiv

Re: [Puppet Users] Re: Need modules for cron

2012-03-08 Thread Krzysztof Wilczynski
Hi, On Thursday, 8 March 2012 17:05:47 UTC, Jeeva wrote: > > Hi Peter, > > with the help of Jerrery, i got the below module and i modified it as per > our requirement. So the below module will create a crontab on root user > right ? > > # Generate the times when the cronjob will run > class

[Puppet Users] Re: Resources Loop

2012-03-07 Thread Krzysztof Wilczynski
Hi, [...] > I know I'm doing something stupid, but I can't figure it out. Any help > greatly appreciated. > > Look this small example: matti@acrux ~ $ cat - | puppet 2> /dev/null $array = ['abc', 'def', 'xyz'] define iterator { notice "You have said: ${name}" } iterator { $array: }^D notic

Re: [Puppet Users] Re: zombie child process

2012-03-05 Thread Krzysztof Wilczynski
Hi, So /bin/sh gets defunc on Retrieving plugin.. What's my next step? > I would imagine, that adding code to either ignore SIGCHLD, or collect child status (exit code), or use Process.detach could help :-) KW -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Re: Casting Fixnum to String (Hiera/YAML)

2012-03-01 Thread Krzysztof Wilczynski
Hi Lars, [...] > It would be nice for a plain Integer (Fixnum) to work as well when > it's coming from a YAML file. When you introduce a numeric value through the manifest, then Puppet will do the right thing during parsing it, but when you introduce Integer or Float from Hiera, then you will get

[Puppet Users] Re: Display correctly any array

2012-01-17 Thread Krzysztof Wilczynski
Hi Aaron, > As long as we're lacking a builtin method for pretty-printing data > structures during a debug session inline templates are going to > continue to be popular in scenarios like this. Sadly, you are right. I personally dislike inline_template() hackety hacks and would rather solve a pr

[Puppet Users] Re: Display correctly any array

2012-01-17 Thread Krzysztof Wilczynski
Hi Felix, > Seeing as this has not been mentioned in the thread yet, I'm compelled > to add: > > $array_to_str = inline_template("<%= array * ', ' %>") > > or even > > notify { "my-notify": >   message => inline_template("Here is the <%= array * ', ' %>."); > > } Ah, the oldie but goodie inline_t

[Puppet Users] Re: Puppet Triage-A-Thon

2012-01-17 Thread Krzysztof Wilczynski
Hi James, [...] Would it be possible to have one in London too? :-) KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-

[Puppet Users] Re: Display correctly any array

2012-01-17 Thread Krzysztof Wilczynski
Hi Steve, > This is because puppet lacks the join() function, the obvious (but absent) > partner to the split() function. [...] By default yes, it does. But you can mitigate this problem with puppetlabs-stdlib[1] and/or tackle this one: https://github.com/kwilczynski/puppet-functions/blob/maste

[Puppet Users] Re: Display correctly any array

2012-01-16 Thread Krzysztof Wilczynski
Hi, [...] > There is no way to put a clean IFS for the ouput... You could use join() to join array elements with a single space and display then with notice, or have a define that would iterate over array elements for you printing them one by one. You can also try this little function: https://g

[Puppet Users] Re: puppetlabs-functions repo

2011-10-15 Thread Krzysztof Wilczynski
Hello, [...] On that note... I was wondering, why functions would people like to see in Puppet (and in puppetlabs-stdlib)? Any suggestions more than welcome! :-) KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send

[Puppet Users] Re: puppetlabs-functions repo

2011-10-15 Thread Krzysztof Wilczynski
Hello, > Just an FYI - since the work in: > > https://github.com/puppetlabs/puppetlabs-functions > > Is now merged into: > > https://github.com/puppetlabs/puppetlabs-stdlib > > It will be removed from our Github organisation as its no longer > needed. Thanks to

[Puppet Users] Re: how to check if a hash/array is empty or not in puppet .pp/module (not in template)?

2011-10-14 Thread Krzysztof Wilczynski
Hello, Apologies for double-posting. I've got 500 first time and wasn't sure whether it went through. KW -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from th

[Puppet Users] Re: how to check if a hash/array is empty or not in puppet .pp/module (not in template)?

2011-10-14 Thread Krzysztof Wilczynski
Hello, [...] > See empty > function:https://github.com/puppetlabs/puppetlabs-stdlib/tree/master/lib/puppe... There is newer version soon to be merged with stdlib: https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/empty.rb KW -- You received this message b

[Puppet Users] Re: how to check if a hash/array is empty or not in puppet .pp/module (not in template)?

2011-10-14 Thread Krzysztof Wilczynski
Hello, Nan +1 [...] > See empty > function:https://github.com/puppetlabs/puppetlabs-stdlib/tree/master/lib/puppe... [...] Here is a newer version soon to be merged with stdlib: https://github.com/kwilczynski/puppet-functions/blob/master/lib/puppet/parser/functions/empty.rb KW -- You received