From 7cba7c8486e06bf72dc79a80236a34ba2eca347c Mon Sep 17 00:00:00 2001 From: shivendra-ashish Date: Fri, 4 Dec 2015 17:10:39 +0530 Subject: [PATCH] Create rgws.pp To create multiple rados for a ceph cluster, we need to have a class defined wherein we can specify multiple rados gateway to be created. --- manifests/rgws.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 manifests/rgws.pp diff --git a/manifests/rgws.pp b/manifests/rgws.pp new file mode 100644 index 0000000..1b98d03 --- /dev/null +++ b/manifests/rgws.pp @@ -0,0 +1,19 @@ +# (C) Copyright 2015 Hewlett Packard Enterprise Development LP +# +# Author: Shivendra Ashish +# +# == Class: ceph::rgws +# +# Class wrapper for the benefit of scenario_node_terminus +# +# === Parameters: +# +# [*args*] A Ceph rados gateway config hash +# Mandatory. +# +# [*defaults*] A config hash +# Optional. Defaults to an empty hash +# +class ceph::rgws($args, $defaults = {}) { + create_resources(ceph::rgw, $args, $defaults) +}