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
# logrotate suggestion for catalina | |
/apps/tomcat/*/logs/catalina.out { | |
copytruncate | |
daily | |
rotate 5 | |
compress | |
notifempty | |
missingok | |
size 100M | |
} |
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
#!/bin/bash -ue | |
/usr/bin/curl -s -k -F userfile=@<( /usr/bin/facter ) -u user:pass "https://racktables/index.php?page=depot&tab=facter&op=Update" > /dev/null 2>&1 |
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
# Fact: role | |
# | |
# Purpose: | |
# Return the installed and running applications on the system. | |
# | |
# FIXME: Add amq, varnish, | |
# FIXME: As of now, interpreting/matching text and not return codes :( | |
Facter.add(:role) do | |
setcode do |
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
# zoom | |
unbind ^M | |
bind ^M new-window -d -n zoom 'tmux-zoom' |
NewerOlder