hw-cookbooks / repmgr

6 stars 14 forks source link

Repmgr and Chef-solo #13

Open LiamK opened 11 years ago

LiamK commented 11 years ago

Hi --

Has anyone used repmgr with chef-solo?
I'm trying to and running into some issues with discovery. Trying to substitute chef-solo-search. Any ideas/help?

Thanks, Liam

webframp commented 11 years ago

We're not big chef-solo users in production, but if you post some of the error output or behavior you're seeing we'll try and duplicate it to pinpoint the cause.

chrisroberts commented 11 years ago

Hi. Can you provide a use case for your attempted usage? It would be pretty easy to make the discovery portion optionally populate node attributes allowing solo runs to just directly supply them. Would that change alone solve the issue you are running into?

LiamK commented 10 years ago

Hi -- I replaced discovery with chef-solo-search when running chef-solo, and made some other adjustments and got it working with chef-solo. I don't think my changes should have any impact on the existing code, so if you want to incorporate them, let me know. The use case is simply that the nodes need to be installed in a situation where there is no reliable Internet connection -- and it seems like overkill to run a separate chef server just for these two nodes.

ophirr commented 10 years ago

Liamk, any chance you'd be willing to share your code?

thx.

LiamK commented 10 years ago

Ophir,

Sure. If you make any improvements, please let me know.

https://github.com/LiamK/repmgr

Liam

On 05/25/2014 05:11 AM, Ophir Ronen wrote:

Liamk, any chance you'd be willing to share your code?

thx.

— Reply to this email directly or view it on GitHub https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44129477.

Liam Kirsher PGP: http://liam.numenet.com/pgp/

ophirr commented 10 years ago

sweet, thanks. :)

Ophir Ronen, Co-Founder | Event Enrichment.Org ophir@eventenrichment.org | +1.206.234.5055
www.eventenrichment.org

On Sunday, May 25, 2014 at 9:08 PM, Liam K wrote:

Ophir,

Sure. If you make any improvements, please let me know.

https://github.com/LiamK/repmgr

Liam

On 05/25/2014 05:11 AM, Ophir Ronen wrote:

Liamk, any chance you'd be willing to share your code?

thx.

— Reply to this email directly or view it on GitHub https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44129477.

Liam Kirsher PGP: http://liam.numenet.com/pgp/

— Reply to this email directly or view it on GitHub (https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44141446).

ophirr commented 10 years ago

Liam,

Would you mind sending me a redacted sample of your data bag?

thx!

-Ophir

On Sunday, May 25, 2014 at 9:08 PM, Liam K wrote:

Ophir,

Sure. If you make any improvements, please let me know.

https://github.com/LiamK/repmgr

Liam

On 05/25/2014 05:11 AM, Ophir Ronen wrote:

Liamk, any chance you'd be willing to share your code?

thx.

— Reply to this email directly or view it on GitHub https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44129477.

Liam Kirsher PGP: http://liam.numenet.com/pgp/

— Reply to this email directly or view it on GitHub (https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44141446).

LiamK commented 10 years ago

Here you go.

On 05/25/2014 10:14 PM, Ophir Ronen wrote:

Liam,

Would you mind sending me a redacted sample of your data bag?

thx!

-Ophir

On Sunday, May 25, 2014 at 9:08 PM, Liam K wrote:

Ophir,

Sure. If you make any improvements, please let me know.

https://github.com/LiamK/repmgr

Liam

On 05/25/2014 05:11 AM, Ophir Ronen wrote:

Liamk, any chance you'd be willing to share your code?

thx.

— Reply to this email directly or view it on GitHub

https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44129477.

Liam Kirsher PGP: http://liam.numenet.com/pgp/

— Reply to this email directly or view it on GitHub (https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44141446).

— Reply to this email directly or view it on GitHub https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44157893.

Liam Kirsher PGP: http://liam.numenet.com/pgp/

ophirr commented 10 years ago

not seeing it? :)

LiamK commented 10 years ago

I sent it to you as an attachment. Maybe it got stripped off. Have another email address?

On 05/26/2014 09:18 AM, Ophir Ronen wrote:

not seeing it? :)

— Reply to this email directly or view it on GitHub https://github.com/hw-cookbooks/repmgr/issues/13#issuecomment-44201966.

Liam Kirsher PGP: http://liam.numenet.com/pgp/