Because about one in five of them is not actually *finished*
So currently the incomplete functions are:
date
is_float
is_integer
is_numberic
is_valid_domain_name
is_valid_ip_address
is_valid_mac_address
is_valid_netmask
rand
squeeze
If anyone wants to help complete these - I'm happy to take
I need to convert a value from facter to lower case for inclusion in a
path. Is there a built-in function for that?
David
--
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
On Thu, Jul 21, 2011 at 4:10 PM, David Kavanagh dkavan...@gmail.com wrote:
I need to convert a value from facter to lower case for inclusion in a
path. Is there a built-in function for that?
Not builtin, but you can use this:
On Thu, 21 Jul 2011 16:10:02 -0400, David Kavanagh wrote:
I need to convert a value from facter to lower case for inclusion in a
path. Is there a built-in function for that?
David
Hm...doesn't actually look like there is.
% ls -1 lib/puppet/parser/functions
create_resources.rb
On Thu, 21 Jul 2011 16:31:39 -0400, Nan Liu wrote:
On Thu, Jul 21, 2011 at 4:10 PM, David Kavanagh dkavan...@gmail.com wrote:
I need to convert a value from facter to lower case for inclusion in a
path. Is there a built-in function for that?
Not builtin, but you can use this:
* David Kavanagh dkavanagh at gmail.com [2011/07/21 16:10]:
I need to convert a value from facter to lower case for inclusion
in a path. Is there a built-in function for that?
$ cat /tmp/foo.pp
$foo = STUFF
$foo_l = inline_template(%= foo.downcase %)
notice($foo - $foo_l)
$ puppet
On Thu, Jul 21, 2011 at 13:43, Jacob Helwig ja...@puppetlabs.com wrote:
On Thu, 21 Jul 2011 16:31:39 -0400, Nan Liu wrote:
On Thu, Jul 21, 2011 at 4:10 PM, David Kavanagh dkavan...@gmail.com wrote:
I need to convert a value from facter to lower case for inclusion in a
path. Is there a