How to create a simple, custom type?
On my file system, I have a
classpath.txt file, which contains a java classpath. The classpath contains wildcards, and I need to remove the wildcards, and have it expanded out to list out all the .jar files individually.
So, instead of
I already have the Ruby code to do this, I just need to somehow get Puppet to run this Ruby code.
I figured I would need to create a custom type, which I've called
classpath_expander. I ... (more)