Skip to content
Snippets Groups Projects
Commit c353235d authored by hahn's avatar hahn
Browse files

- puppet agent can have exit status 0 or 2

- added css class "ok"
parent b82c9adb
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,11 @@ $aConfig=array(
'installPackages'=>array(
'user'=>'imldeployment',
'testcommand'=>'sudo puppet --version',
// puppet agent liefert 0 oder 2 zurueck, wenn OK
// http://docs.puppetlabs.com/references/3.4.0/man/apply.html
// 'command'=>'sudo puppet agent -t | fgrep -i Deploy',
'command'=>'sudo puppet agent -t',
// 'command'=>'sudo puppet agent -t --detailed-exitcodes ; echo rc=$? | egrep -v "^rc=(0|2)$" ; typeset -i rc=(1-$?); exit $rc',
'command'=>'sudo puppet agent -t --detailed-exitcodes ; rc=$?; if [ $rc -eq 2 ]; then rc=0; fi ; exit $rc',
),
......
......@@ -126,6 +126,8 @@ a.info span span.title{ background: #888; color:#f8f8f8; margin-left: 0px; paddi
}
.warning{background: #fe8;}
.error{background: #fcc;}
.ok{background: #cfc;}
.center{text-align: center;}
.inactive{color:#999; font-style: italic;}
.versioninfo{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment