Created
November 28, 2013 17:40
-
-
Save bodepd/7695685 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file manifests/osd.pp | |
class ceph::osd($instance_hash) { | |
create_resources('osd::instance', $instance_hash) | |
} | |
# file manifests/osd/instance.pp | |
define ceph::osd::instance(param1, ...) { | |
# logic goes here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
# file manifests/osd.pp
class ceph::osd($array_of_instance_hash) {
$array_of_instance_hash.each do |instance_hash|
create_resources('osd::instance', $instance_hash)
end
}
file manifests/osd/instance.pp
define ceph::osd::instance(param1, ...) {
logic goes here
}