Skip to content

Instantly share code, notes, and snippets.

@llowder
Last active December 14, 2015 00:08
Show Gist options
  • Save llowder/4996259 to your computer and use it in GitHub Desktop.
Save llowder/4996259 to your computer and use it in GitHub Desktop.
Example on create_resources()
---
mymodule::myklass::mydefine_list:
title1:
param1: value
param2: othervalue
title2:
param1: value2
param2: othervalue2
define mymodule::mydefine (
param1,
param2,
){
...
}
class mymodule::myklass (
mydefine_list = {}
) {
...
create_resources(mymodule::mydefine, $mydefine_list)
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment