diff --git a/manifests/rgw/beast.pp b/manifests/rgw/beast.pp index b55eb4a6..f34576be 100644 --- a/manifests/rgw/beast.pp +++ b/manifests/rgw/beast.pp @@ -19,10 +19,10 @@ # # == Define: ceph::rgw::beast # [*rgw_frontends*] Arguments to the rgw frontend -# Optional. Default is 'beast port=7480' +# Optional. Default is ['beast', 'port=7480'] # define ceph::rgw::beast ( - $rgw_frontends = 'beast port=7480', + $rgw_frontends = ['beast', 'port=7480'], ) { unless $name =~ /^radosgw\..+/ { @@ -30,6 +30,6 @@ define ceph::rgw::beast ( } ceph_config { - "client.${name}/rgw_frontends": value => $rgw_frontends; + "client.${name}/rgw_frontends": value => join(any2array($rgw_frontends), ' '); } } diff --git a/manifests/rgw/civetweb.pp b/manifests/rgw/civetweb.pp index bf3487ad..f74f4f8e 100644 --- a/manifests/rgw/civetweb.pp +++ b/manifests/rgw/civetweb.pp @@ -19,10 +19,10 @@ # # == Define: ceph::rgw::civetweb # [*rgw_frontends*] Arguments to the rgw frontend -# Optional. Default is 'civetweb port=7480' +# Optional. Default is ['civetweb', 'port=7480'] # define ceph::rgw::civetweb ( - $rgw_frontends = 'civetweb port=7480', + $rgw_frontends = ['civetweb', 'port=7480'], ) { unless $name =~ /^radosgw\..+/ { @@ -30,6 +30,6 @@ define ceph::rgw::civetweb ( } ceph_config { - "client.${name}/rgw_frontends": value => $rgw_frontends; + "client.${name}/rgw_frontends": value => join(any2array($rgw_frontends), ' '); } }