I'd like to enable disk monitoring via sysstat (its disabled by default)
It basically will mean deploying adding a -d to /usr/lib64/sa/sa1 so it looks like this: {{{
umask 0022 ENDIR=/usr/lib64/sa cd ${ENDIR} if [ $# = 0 ] then
exec ${ENDIR}/sadc -d -F -L 1 1 -
else exec ${ENDIR}/sadc -d -F -L $* - fi }}}
From its default. Initially I only wanted this on the buildsys but I think we should do it everywhere.
Done.
Sorry bout that, this ended up being a more complex problem then I thought needing the following manifest:
{{{ case $architecture { 'i386' : { templatefile { '/usr/lib/sa/sa1': content => template('/var/lib/puppet/config/system/sa1.sh.erb'), mode => '0755', } } 'x86_64' : { templatefile { '/usr/lib64/sa/sa1': content => template('/var/lib/puppet/config/system/sa1.sh.erb'), mode => '0755', } } 'ppc64' : { templatefile { '/usr/lib/sa/sa1': content => template('/var/lib/puppet/config/system/sa1.sh.erb'), mode => '0755', } } } }}}
and the following config:
{{{
umask 0022 <% if architecture == "x86_64" %> ENDIR=/usr/lib64/sa <% else %> ENDIR=/usr/lib/sa <% end %>
cd ${ENDIR} if [ $# = 0 ] then
Login to comment on this ticket.