Closed rhoml closed 9 years ago
Looks like a problem with generation of erlang code using the erly.rb util:
https://github.com/basho/puppet-riak/blob/master/lib/puppet/parser/util/erly.rb#L94
Could you also attach the generated file's contents?
Failing test should be written at
https://github.com/basho/puppet-riak/blob/master/spec/functions/write_erl_config_spec.rb#L5
I'm closing this issue because the code has been refactored such that the impacted code no longer exists. I haven't tested it, but you should be able to enable riak control with something like the following syntax in the new version, which will install Riak 2.
class { '::riak':
settings => {
'riak_control' => 'on',
},
}
If that doesn't work for you we'll add a test case and fix it, just re-open the issue.
It seems that when I modify appconfig.pp in order to launch the Riak Control it sets by default on the app.config file
but this makes riak control fail with a error 500
The correct form of the riak_control section is