Skip to content

Instantly share code, notes, and snippets.

@silenius
Created May 31, 2016 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silenius/8436e6467a0699995642d438e3a118d2 to your computer and use it in GitHub Desktop.
Save silenius/8436e6467a0699995642d438e3a118d2 to your computer and use it in GitHub Desktop.
jcigar@dev:/usr/local/ > salt sandbox.lan state.show_sls solr
sandbox.lan:
----------
bbpf_solr_archive:
----------
__env__:
base
__sls__:
solr
archive:
|_
----------
name:
/usr/local/solr/bbpf/
|_
----------
source:
http://apache.belnet.be/lucene/solr/6.0.1/solr-6.0.1.tgz
|_
----------
source_hash:
md5=fc9a4a6ee127dff21135dd4941c92c15
|_
----------
archive_format:
tar
|_
----------
require:
|_
----------
file:
solr_home
- extracted
|_
----------
order:
10001
solr_home:
----------
__env__:
base
__sls__:
solr
file:
|_
----------
name:
/usr/local/solr
|_
----------
user:
root
|_
----------
group:
wheel
|_
----------
mode:
755
- directory
|_
----------
order:
10000
jcigar@dev:/usr/local/ > salt sandbox.lan state.apply solr
sandbox.lan:
----------
ID: solr_home
Function: file.directory
Name: /usr/local/solr
Result: True
Comment: Directory /usr/local/solr is in the correct state
Started: 14:28:33.276305
Duration: 8.522 ms
Changes:
----------
ID: bbpf_solr_archive
Function: archive.extracted
Name: /usr/local/solr/bbpf/
Result: False
Comment: Unable to manage file: [Errno 47] Address family not supported by protocol family
Started: 14:28:33.726580
Duration: 784.952 ms
Changes:
Summary for sandbox.lan
------------
Succeeded: 1
Failed: 1
------------
Total states run: 2
Total run time: 793.474 ms
jcigar@dev:/usr/local/ >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment