Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Monit module not working with puppet 5 #21

Open
bobweston opened this issue Nov 3, 2017 · 2 comments
Open

Monit module not working with puppet 5 #21

bobweston opened this issue Nov 3, 2017 · 2 comments

Comments

@bobweston
Copy link

Just wanted to alert you folks that this module has problems with puppet 5.

86) role::search on ubuntu-14.04-x86_64 it should behave like a standard ubuntu role should contain Class[profile_base::ubuntu]
Failure/Error: classname = scope.namespaces.first

Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Function Call, undefined method `namespaces' for Scope(Class[Monit]):Puppet::Parser::Scope at /interact/interact-puppet/spec/fixtures/modules/monit/manifests/init.pp:292:32 on node runner-7c1b7f96-project-392-concurrent-1q6gln.gitlab-ci.svc.cluster.local
@alvagante
Copy link
Member

Thanks for the notice, the module was written in Puppet 2 times and is not supported nor intended to be used any more (at least in modern Puppet setups).
Consider using other modules or eventually tiny puppet to manage monit.

@dagobert
Copy link
Contributor

Using Debian 9 is no problem.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants