Offline Master and minion rollout.

24 views
Skip to first unread message

Steve Allen

unread,
Sep 18, 2017, 4:28:25 PM9/18/17
to Salt-users
Hi all,

Looking to install a remote master from a local master and then deploy via salt-ssh to all remote minions. 
Only the initial local master has internet access. There is no remote Git or Yum yet.
We're looking for a solution of using salt-ssh to bring over the dependencies and packages for a barebones system and then we can install the rest later.
We know that file.managed is going to be a big thing but we are also wondering about install order via rpm -ivh.
I've seen a lot of older answers saying that it was hacky and the salt-bootstrap doesnt work because its all online. 

Has anyone done this before and had it be successful?

Thank you,
Steve A

Daniel Wallace

unread,
Sep 19, 2017, 9:50:50 AM9/19/17
to Salt-users
Yeah, salt-bootstrap requires a connection to a repository. But you
can mirror the repo.saltstack.com repo and point to it from salt
bootstrap.

```
-R Specify a custom repository URL. Assumes the custom repository URL
points to a repository that mirrors Salt packages located at
repo.saltstack.com. The option passed with -R replaces the
"repo.saltstack.com". If -R is passed, -r is also set. Currently only
works on CentOS/RHEL and Debian based distributions.
```

You could also manage the yum pkg install and point the source files
to the salt:// links instead of using the repos, you would still have
to keep all the packages and dependencies in the salt fileserver, but
you could just use one pkg.installed with all the dependencies
(manually maintained in the state) and it should work.

Daniel
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/salt-users/b04ec1ab-5075-45cd-827c-b04dd5683360%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages