saz / puppet-sudo

Manage sudo with Puppet on Debian-, RedHat- and SUSE-based linux distributions and some BSDs
Other
105 stars 215 forks source link

Remove --nosignature and --nodigest #94

Closed croddy closed 9 years ago

croddy commented 9 years ago

By my reading of the rpm manual page, these options are not meaningful in query mode. (I could be wrong, of course, in which case this PR should be discarded.) For AIX users with very old versions of RPM, adding these options to the command line causes error output to be mailed with every run of the refresh-mcollective-metadata cron job.

saz commented 9 years ago

Can anyone confirm this? I'm not able to verify it right now

saz commented 9 years ago

@sydops As you're running CentOS, can you paste the output from the following two commands, please?

rpm -q sudo --nosignature --nodigest --qf \'%{VERSION}\'

rpm -q sudo --qf \'%{VERSION}\'

ozbillwang commented 9 years ago

no difference.

$ rpm -q sudo --nosignature --nodigest --qf \'%{VERSION}\'
'1.8.6p3'
$ rpm -q sudo --qf \'%{VERSION}\'
'1.8.6p3'
$
saz commented 9 years ago

Thanks!