* 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 /tmp/foo.pp notice: Scope(Class[main]): STUFF -> stuff -- I look for what needs to be done.... After all, that's how the universe designs itself. -- R. Buckminster Fuller -- 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-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.