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

Added command line support for Active Slave sync #6

Closed
wants to merge 1 commit into from

Conversation

ashish1099
Copy link

I wanted to setup master/slave nis server, but there was no command line option for me to enable the "Active Slave NIS server exists".
If we don't enable this the data is not pushed from master to slave server, and same has said in the docs.

So this patch works great. hopping to see in next update.

@jreidinger
Copy link
Member

@jsuchome you are still mentioned as maintainer of this module, so if you could check it. Thanks


if Ops.get_string(options, "sync_slave", "") != ""
NisServer.nopush = Ops.get_string(options, "sync_slave", "") == "yes"
end

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to use get_string here. Just options["sync_slave"]

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, just Option["sysc_slave"] would be a slim version, But I guess the get_string just go with flow of the code very well. let me know, both seems to be nice.

if Options["sync_slave", ""] != ""
        NisServer.nopush = Options["sync_slave", ""] == "yes"
end

@jreidinger
Copy link
Member

@ashish1099 hi, what is status here? I do not see changes for @jsuchome concerns

@ashish1099
Copy link
Author

I will update on this

@jreidinger
Copy link
Member

@ashish1099 still no update. please reopen when it is updated, thanks.

@jreidinger jreidinger closed this Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants