Hi,
I''m using Ralsh to audit our existing systems and I''ve run
into a
strange issues with the output.
Compare the examples below taken from two separate servers and spot the
difference:
Server 1
=======user { ''root'':
ensure => ''present'',
comment => ''root'',
shell => ''/bin/bash'',
groups =>
[''root'',''bin'',''daemon'',''sys'',''adm'',''disk'',''wheel''],
uid => ''0'',
home => ''/root'',
gid => ''0''
}
Server 2
=======
user { ''root'':
comment => ''root'',
ensure => ''present'',
shell => ''/bin/bash'',
home => ''/root'',
groups =>
[''root'',''bin'',''daemon'',''sys'',''adm'',''disk'',''wheel''],
uid => ''0'',
gid => ''0''
}
The issue I''ve got is that because "comment" and
"ensure" are on
different lines on the two servers, I''m having real issues picking up
the differences between the servers because diff just shows hundreds of
lines that do not match across the two files.
Is there a quick way of sorting this data (importing the ralsh reports
into ruby for example??) and comparing them or have I misunderstood the
use of Ralsh for auditing?
Kind regards,
Matt
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.