All Projects → ipython → salt-states-nbviewer

ipython / salt-states-nbviewer

Licence: BSD-3-Clause license
Salt States for nbviewer

Programming Languages

scheme
763 projects

salt-nbviewer

Salt States for nbviewer

Simply installs nbviewer and its dependencies.

Configuring the master

Make sure to install gitfs dependencies on the master first (and not fail silently).

$ apt-get install -y git python-pip
$ pip install gitpython

Setup the fileserver backend to use git and use this salt state. Simply add these lines to /etc/salt/master.

fileserver_backend:
  - git

gitfs_remotes:
  - https://github.com/rgbkrk/salt-states-nbviewer.git

If doing local development, set gitfs_remotes to the local clone:

fileserver_backend:
  - git

gitfs_remotes:
  - file:///code/salt-states-nbviewer

Alternatively, just pull it down to where you want to reference it.

fileserver_backend:
    - roots

file_roots:
    base:
        - /srv/salt/salt-states-nbviewer

You will probably need to restart the salt master after making these changes. service salt-master restart.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].