Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed the mesos_version variable check, which fails if the puppet ser… #91

Merged
merged 1 commit into from
Jan 18, 2019
Merged

Fixed the mesos_version variable check, which fails if the puppet ser… #91

merged 1 commit into from
Jan 18, 2019

Conversation

amorphina
Copy link

Hi,

Fixed the $::mesos_version variable check, which fails if the puppet server has "strict_variables = true"
The failure is:

Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown variable: '::mesos_version'. (file: $MYPATH/mesos/manifests/slave.pp, line: 149, column: 7) on node $MYHOST

This failure is triggered before mesos is installed, which seems to populate this "fact".
After the mesos-master binary is avilable the issue is gone.
Unfortunately the installation through puppet never takes place, since with strict_variables enabled, the catalog compilation fails and no installation is attempted.

Kind Regards,
Atanas

@deric
Copy link
Owner

deric commented Jan 18, 2019

Thanks for your contribution! It looks good, just curious, which Puppet version do you use?

@deric deric merged commit 1d8cb88 into deric:master Jan 18, 2019
@amorphina
Copy link
Author

Hi,

We are currently using puppet 5.5.7, running on Ubuntu 16.04.

Kind Regards,
Atanas

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants