Giter Site home page Giter Site logo

test_proxy_module's Introduction

Steps to reproduce

  1. On the master server, install the necessary packages:
    sudo apt-get install salt-api; sudo apt-get install salt-cloud; sudo apt-get install salt-master; sudo apt-get install salt-ssh; sudo apt-get install salt-syndic

  2. On the proxy minion, install the following packages:
    sudo apt-get install salt-api; sudo apt-get install salt-cloud; sudo apt-get install salt-minion; sudo apt-get install salt-ssh; sudo apt-get install salt-syndic; sudo apt-get install salt-proxy

  3. On the master server, clone this repository:
    git clone [email protected]:hthompson6/test_proxy_module.git

  4. Create the salt directory:
    sudo mkdir /srv/salt

  5. Copy the pillar files over to the srv directory:
    sudo cp -r ~/test_proxy_module/pillar /srv

  6. Copy the _proxy dir to the salt directory:
    sudo cp -r ~/test_proxy_module/_proxy /srv/salt

  7. Edit /etc/salt/proxy and add an entry for your master's location:

  • sudo vim /etc/salt/proxy
  • Add master: <master server ip> to file

StackTrace

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 192, in proxy_minion_process
    proxyminion.start()
  File "/usr/lib/python2.7/dist-packages/salt/cli/daemons.py", line 486, in start
    self.shutdown()
  File "/usr/lib/python2.7/dist-packages/salt/cli/daemons.py", line 496, in shutdown
    self.minion.opts['proxymodule'][proxy_fn](self.minion.opts)
  File "/usr/lib/python2.7/dist-packages/salt/loader.py", line 900, in __getitem__
    func = super(LazyLoader, self).__getitem__(item)
  File "/usr/lib/python2.7/dist-packages/salt/utils/lazy.py", line 93, in __getitem__
    raise KeyError(key)
KeyError: 'salt.loaded.shutdown'

Enviroment

  • Saltstack v2015.8.8
  • Ubuntu 16.04

Architecture

  • 1 master server
  • 1 proxy minion server

test_proxy_module's People

Contributors

hthompson6 avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.