Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

options should not be prepended with 'master' or 'slave'. #67

Closed
wants to merge 1 commit into from

Conversation

blsmth
Copy link

@blsmth blsmth commented Mar 21, 2016

fixes issue reported in #66 where options stored in /etc/mesos-master and /etc/mesos-slave were being prepended with master_ and slave_ which was breaking functionality with /usr/bin/mesos-init-wrapper because it sends options as --master_hostname as opposed to hostname for instance.

i'm not sure how or why this is not affecting any other users of this module, so this code may be irrelevant and I may just be looking for clarification on why my setup is not working out of the box.

this is breaking functionality on at least CentOS7
@blsmth
Copy link
Author

blsmth commented Mar 21, 2016

also if I should pull against the 'dev' branch please just let me know

@deric
Copy link
Owner

deric commented Mar 22, 2016

Property prefixing was introduced in order to avoid conflicts between properties with the same name (see #45). This patch would break such behavior, we have to find a better way how to fix this.

@blsmth
Copy link
Author

blsmth commented Mar 22, 2016

ahhhh, i see... so you have to prepend to allow the property but then strip it when you create the property resource. i hadn't run into that as i'm not running slaves on my masters. i'll take a look today and see what i can do.

i figured my fix was naive, i just wanted to explain the problem some more, code always helps me.

@deric
Copy link
Owner

deric commented Jul 21, 2016

I'm closing this as it doesn't seem to be the right solution for the problem.

@deric deric closed this Jul 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants