Skip to content

Instantly share code, notes, and snippets.

local:
Data failed to compile:
----------
Rendering SLS 'base:environments.vdi.x2go' failed: Illegal tab character; line 4
---
x2gocleansessions:
service.running:
- enable: True
- require: <======================
{% if grains.osmajorrelease == 7 %}
man-db:
pkg:
- installed
{% else %}
man:
pkg:
- installed
{% endif %}
[ERROR ] An un-handled exception was caught by salt's global exception handler:
TypeError: string indices must be integers
Traceback (most recent call last):
File "/usr/bin/salt", line 10, in <module>
salt_main()
File "/usr/lib/python2.7/site-packages/salt/scripts.py", line 485, in salt_main
client.run()
File "/usr/lib/python2.7/site-packages/salt/cli/salt.py", line 193, in run
for full_ret in cmd_func(**kwargs):
File "/usr/lib/python2.7/site-packages/salt/client/__init__.py", line 812, in cmd_cli
----------
ID: man
Function: pkg.installed
Result: False
Comment: The following packages failed to install/update: man
Started: 15:44:52.294224
Duration: 3257.211 ms
Changes:
{% if grains['osmajorrelease'] == '7' %}
man-db:
pkg:
- installed
{% else %}
man:
pkg:
- installed
{% endif %}
rsyslog_running:
service.running:
- name: rsyslog
- enable: False
rsyslog_dead:
service.dead:
- name: rsyslog
ERROR:
[user1@example1.sec1 ~]$ pip3.6 search intreehooks
intreehooks (1.0) - Load a PEP 517 backend from inside the source tree
INSTALLED: 1.0 (latest)
[user1@example1.sec1 ~]$ sudo pip3.6 install flit
Looking in indexes: http://repo1.sec1.example.com/python36_packages/simple
Collecting flit
Downloading http://repo1.sec1.example1.com/python36_packages/simple/flit/flit-1.0.tar.gz (87kB)
100% |████████████████████████████████| 92kB 75.5MB/s
Missing build time requirements in pyproject.toml for flit from http://repo1.sec1.example1.com/python36_packages/simple/flit/flit-1.0.tar.gz: 'setuptools' and 'wheel'.
This version of pip does not implement PEP 517 so it cannot build a wheel without 'setuptools' and 'wheel'.
tail -f -n 0 /var/log/foreman-proxy/proxy.log
E, [2018-06-29T16:25:52.702473 #30020] ERROR -- : Couldn't enable plugin foreman_proxy: Permission denied - /etc/foreman-proxy/settings.d/foreman_proxy.yml:/usr/share/foreman-proxy/lib/proxy/settings.rb:17:in `read'/n/usr/share/foreman-proxy/lib/proxy/settings.rb:17:in `load_plugin_settings'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:106:in `settings'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:137:in `settings'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:149:in `configure_plugin'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in `configure_loaded_plugins'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in `each'/n/usr/share/foreman-proxy/lib/proxy/plugin.rb:24:in `configure_loaded_plugins'/n/usr/share/foreman-proxy/lib/smart_proxy.rb:122:in `launch'/n/usr/share/foreman-proxy/bin/smart-proxy:6
I, [2018-06-29T16:25:52.702764 #30020] INFO -- : 'facts' module is disabled.
I, [2018-06-29T16:25:52.703069 #30020] INFO -- : 'dns' module is disabled.
I, [2018-
#!/bin/bash
#
# Init script for foreman smart proxy
#
# chkconfig: - 85 15
# description: Init script for foreman proxy
# Source function library.
. /etc/rc.d/init.d/functions
----------
ID: myapp_pip
Function: pip.installed
Name: velidb
Result: False
Comment: Python package velidb was already installed
Failed to install packages: . Error: ERROR: You must give at least one requirement to install (see "pip help install")
Started: 13:02:42.330123
Duration: 2112.848 ms
Changes: