I am getting a syntax error when running puppet, although I cant figure out why:
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'String'; expected ')' at /etc/puppet/modules/riak/manifests/init.pp:17
Here is the init.pp file:
# == Class: riak
#
# Deploy and manage Riak.
#
# === Parameters
#
# [*$package_name*]
# [*$service_name*]
# [*$manage_package*]
# [*$manage_repo*]
# [*$version*]
# [*$ulimits_nofile_soft*]
# [*$ulimits_nofile_hard*]
class riak (
String[1] $package_name = $::riak::params::package_name,
String[1] $service_name = $::riak::params::service_name,
Boolean $manage_package = $::riak::params::manage_package,
Boolean $manage_repo = $::riak::params::manage_repo,
String[1] $version = $::riak::params::version,
Integer $ulimits_nofile_soft = $::riak::params::ulimits_nofile_soft,
Integer $ulimits_nofile_hard = $::riak::params::ulimits_nofile_hard,
Hash[String, Variant[String, Boolean, Integer]] $settings = {},
)
inherits ::riak::params {
if $manage_repo and $manage_package {
include ::riak::repository
}
if $manage_package {
include ::riak::install
Package[$::riak::package_name] ~> File[$::riak::params::riak_conf]
}
class { '::riak::config': } ~>
class { '::riak::service': } ->
Class['::riak']
}
Any ideas where the Syntax error is coming from?