This file contains hidden or 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
# Powershell 2.0 | |
# Stop and fail script when a command fails. | |
$errorActionPreference = "Stop" | |
# load library functions | |
$rsLibDstDirPath = "$env:rs_sandbox_home\RightScript\lib" | |
. "$rsLibDstDirPath\tools\PsOutput.ps1" | |
. "$rsLibDstDirPath\ros\Ros.ps1" | |
. "$rsLibDstDirPath\tools\Archive.ps1" |
This file contains hidden or 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
# Powershell 2.0 | |
# Stop and fail script when a command fails. | |
$errorActionPreference = "Stop" | |
# load library functions | |
$rsLibDstDirPath = "$env:rs_sandbox_home\RightScript\lib" | |
. "$rsLibDstDirPath\tools\PsOutput.ps1" | |
. "$rsLibDstDirPath\ros\Ros.ps1" | |
. "$rsLibDstDirPath\tools\Archive.ps1" |
This file contains hidden or 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 -ex | |
# | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then | |
logger -t RightScale "Php Modules Install, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 -ex | |
# | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then | |
logger -t RightScale "Phing Install, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 -e | |
# Package requirements: ossec-hids ossec-hids-server | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then | |
logger -t RightScale "ossec server restore, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 | |
# | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then | |
logger -t RightScale "ossec client Install, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 -e | |
# | |
# | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true"; then | |
logger -t RightScale "SYS Enable short_tags php.ini, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 -e | |
# | |
# | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true"; then | |
logger -t RightScale "SYS Modify apc.ini, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 -e | |
# Package requirements: maven 3 | |
#Archiva home directory: Recommended directory is "/usr/local" | |
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then | |
logger -t RightScale "Maven Install, skipped on a reboot." | |
exit 0 | |
fi |
This file contains hidden or 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 -e | |
# Package requirements: jenkins | |
# Test for a reboot, if this is a reboot just skip this script. | |
# | |
if test "$RS_REBOOT" = "true" -o "$RS_ALREADY_RUN" = "true" ; then | |
logger -t RightScale "Jenkins Install, skipped on a reboot." | |
exit 0 | |
fi |