This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import platform | |
def custom_os_data(): | |
grains = {} | |
if platform.uname()[0] == "Linux": | |
osrelease = platform.linux_distribution()[1] | |
try: | |
major, minor = osrelease.split(".",1) | |
grains['osmajorrelease'] = major |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ksalman-solaris-salt:~# wget -O - https://bootstrap.saltstack.com | sh -s -- -D -P git v2014.7 | |
--2015-01-14 12:49:35-- https://bootstrap.saltstack.com/ | |
Resolving bootstrap.saltstack.com (bootstrap.saltstack.com)... 162.242.141.13 | |
Connecting to bootstrap.saltstack.com (bootstrap.saltstack.com)|162.242.141.13|:443... connected. | |
HTTP request sent, awaiting response... 303 See Other | |
Location: https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh [following] | |
--2015-01-14 12:49:35-- https://raw.githubusercontent.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh | |
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 199.27.79.133 | |
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|199.27.79.133|:443... connected. | |
HTTP request sent, awaiting response... 200 OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kernel-devel: | |
pkg.installed: | |
- version: 2.6.32-279.11.1.el6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo: | |
- bar | |
- baz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vlabdb: | |
foo64: myvlabdb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"A": "test", | |
"B": "another test", | |
"C": [ | |
"foo" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
g_LastCtrlKeyDownTime := 0 | |
g_AbortSendEsc := false | |
g_ControlRepeatDetected := false | |
*CapsLock:: | |
if (g_ControlRepeatDetected) | |
{ | |
return | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-03-27 14:32:05,234 [salt.utils.parsers ][WARNING ][21351] Master received a SIGTERM. Exiting.$ | |
2017-03-27 14:32:05,934 [salt.cli.daemons ][INFO ][25113] Setting up the Salt Master$ | |
2017-03-27 14:32:06,000 [salt.crypt ][DEBUG ][25113] Loaded master key: /etc/salt/pki/master/master.pem$ | |
2017-03-27 14:32:06,000 [salt.daemons.masterapi ][PROFILE ][25113] Beginning pwd.getpwall() call in masterarpi acess_keys function$ | |
2017-03-27 14:32:06,005 [salt.daemons.masterapi ][PROFILE ][25113] End pwd.getpwall() call in masterarpi acess_keys function$ | |
2017-03-27 14:32:06,005 [salt.daemons.masterapi ][INFO ][25113] Preparing the root key for local communication$ | |
2017-03-27 14:32:06,006 [salt.daemons.masterapi ][DEBUG ][25113] Removing stale keyfile: /var/cache/salt/master/.root_key$ | |
2017-03-27 14:32:06,034 [salt.log.setup ][DEBUG ][25113] Stopping the multipro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017-03-27 14:32:05,234 [salt.utils.parsers ][WARNING ][21351] Master received a SIGTERM. Exiting.$ | |
2017-03-27 14:32:05,934 [salt.cli.daemons ][INFO ][25113] Setting up the Salt Master$ | |
2017-03-27 14:32:06,000 [salt.crypt ][DEBUG ][25113] Loaded master key: /etc/salt/pki/master/master.pem$ | |
2017-03-27 14:32:06,000 [salt.daemons.masterapi ][PROFILE ][25113] Beginning pwd.getpwall() call in masterarpi acess_keys function$ | |
2017-03-27 14:32:06,005 [salt.daemons.masterapi ][PROFILE ][25113] End pwd.getpwall() call in masterarpi acess_keys function$ | |
2017-03-27 14:32:06,005 [salt.daemons.masterapi ][INFO ][25113] Preparing the root key for local communication$ | |
2017-03-27 14:32:06,006 [salt.daemons.masterapi ][DEBUG ][25113] Removing stale keyfile: /var/cache/salt/master/.root_key$ | |
2017-03-27 14:32:06,034 [salt.log.setup ][DEBUG ][25113] Stopping the multipro |