deric / puppet-mesos

Puppet module for managing Mesos nodes

Home Page:https://forge.puppetlabs.com/deric/mesos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

There is currently no way to not configure the repo

dnlsng opened this issue · comments

Since the default repo was changed to 'mesosphere', you can no longer not manage the repo as you can't pass an undef value to a class parameter in Puppet. An easy fix for this might be to just accept the Boolean type for the $repo parameter so that setting it to false is accepted.

@dnlsng I feel like allowing types like Variant[String,Hash,Boolean] is unnecessary Puppet's type system abuse. I've added parameter:

mesos::manage_repo: false

That works for me :).

Resolved in v1.1.0.