Skip to content

Instantly share code, notes, and snippets.

============================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================
Installing:
salt-ssh noarch 2016.11.0rc2-0.el7 salt-latest 15 k
Updating:
dracut x86_64 033-360.el7_2.1 updates 311 k
initscripts x86_64 9.49.30-1.el7_2.3 updates
# -*- coding: utf-8 -*-
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing libs
from salttesting.helpers import ensure_in_syspath
ensure_in_syspath('../../')
# Import salt libs
def _check_ext_remove(self, dir, file):
'''
function to check if file was extracted
and remove the directory.
'''
#check to see if it extracted
check_dir = os.path.isfile(file)
self.assertTrue(check_dir)
unit/auth_test.py unit/context_test.py unit/daemons_test.py unit/highstateconf_test.py unit/log_test.py unit/payload_test.py unit/pydsl_test.py unit/simple.py unit/stateconf_test.py unit/template_test.py
unit/client_test.py unit/crypt_test.py unit/files_test.py unit/__init__.py unit/minion_test.py unit/pillar_test.py unit/pyobjects_test.py unit/spm_test.py unit/state_test.py unit/version_test.py
unit/acl:
client_test.py __init__.py
unit/beacons:
adb_beacon_test.py glxinfo.py __init__.py inotify_beacon_test.py
unit/cli:
integration/cli:
batch.py custom_module.py grains.py __init__.py
integration/client:
__init__.py kwarg.py runner.py standard.py syndic.py
integration/cloud:
helpers __init__.py providers
integration/files:
UB_PRE_COMMANDS='apt-get update; cat /etc/lsb_release'
echo ${vm_to_create} ${UB_PRE_COMMANDS}
Complete!
* INFO: Git revision matches a Salt version tag, shallow cloning enabled.
Initialized empty Git repository in /tmp/git/salt/.git/
* INFO: Adding SaltStack's Salt repository as a remote
[DEBUG ] * INFO: Adding SaltStack's Salt repository as a remote
Connection to 23.253.241.155 closed.
[DEBUG ] Connection to 23.253.241.155 closed.
From git://github.com/saltstack/salt
- [tag update] v2015.5.1 -> v2015.5.1
* [new tag] v2015.8 -> v2015.8
[root@saltminion1 ~]# grep -E -v '^$|#' /etc/salt/minion
/etc/salt/minion:
```
master:
- 192.168.50.11
- 192.168.50.10
id: minion1
log_level: debug
[root@ip-10-45-76-194 ~]# cat /etc/redhat-release
CentOS release 6.5 (Final)
[root@ip-10-45-76-194 ~]# salt-minion --version
salt-minion 2015.8.8 (Beryllium)
[root@ip-10-45-76-194 ~]# salt-minion -ldebug
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Configuration file path: /etc/salt/minion
1. Need to remove the .sls
[ch3ll@ch3ll-master salt]$ git diff │··············································
diff --git a/salt/users/init.sls b/salt/users/init.sls │··············································
index af16c0c..1025873 100644 │··············································
--- a/salt/users/init.sls │··············································
+++ b/salt/users/init.sls