FAQ
Hello, Colleagues,

multi master environment, 2014.7.0 EPEL everywhere.

master of masters, sub-masters, minions.

As far I understood, "syndic enabled" sub-master needs to have local copy
of states. (getting from GitFS or NFS ... or rsync local copy).

Is it correct.?

If yes, may someone share idea according keeping fresh copy of states
except GitFS on sub-masters (how to sync states between sub-master and
Master of Masters)

Thank a lot for your answer.

Alex

--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Oleksandr Yermolenko at Dec 28, 2014 at 9:41 am
    for example, is it good idea export /var/cache/salt/master/gitfs/refs/base
    to NFS and share the last one to sub-masters?
    Why without gitfs? It's not possible to install pygit2 (with auth) to
    everywhere because of python version limitation

    Alex

    On Saturday, December 27, 2014 4:57:52 PM UTC+2, Oleksandr Yermolenko wrote:

    Hello, Colleagues,

    multi master environment, 2014.7.0 EPEL everywhere.

    master of masters, sub-masters, minions.

    As far I understood, "syndic enabled" sub-master needs to have local copy
    of states. (getting from GitFS or NFS ... or rsync local copy).

    Is it correct.?

    If yes, may someone share idea according keeping fresh copy of states
    except GitFS on sub-masters (how to sync states between sub-master and
    Master of Masters)

    Thank a lot for your answer.

    Alex
    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
  • Colton Myers at Jan 29, 2015 at 12:02 am
    The easiest way is, as you mentioned, gitfs. As long as you keep the remote up to date, all of your masters will remain in sync.

    If you want to do it with the normal file_roots, you should have a minion on each sub-master, connected to the top-level master. You can then use `file.recurse` and similar states to sync all the files from the top master to the sub masters.

    Hope that helps! Sorry for the late reply, it's been a busy beginning to the new year!

    --
    Colton Myers
    Platform Engineer, SaltStack
    @basepi on Github/Twitter/IRC

    SaltConf 2015 is Mar 3-5! http://saltconf.com
    On Dec 27, 2014, at 7:57 AM, Oleksandr Yermolenko wrote:

    Hello, Colleagues,

    multi master environment, 2014.7.0 EPEL everywhere.

    master of masters, sub-masters, minions.

    As far I understood, "syndic enabled" sub-master needs to have local copy of states. (getting from GitFS or NFS ... or rsync local copy).

    Is it correct.?

    If yes, may someone share idea according keeping fresh copy of states except GitFS on sub-masters (how to sync states between sub-master and Master of Masters)

    Thank a lot for your answer.

    Alex


    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com For more options, visit https://groups.google.com/d/optout <https://groups.google.com/d/optout>.
    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedDec 27, '14 at 2:57p
activeJan 29, '15 at 12:02a
posts3
users2

People

Translate

site design / logo © 2022 Grokbase