Hi,
With this configuration , I can add the parameter "exclude" in the yum.conf file if it does not exist with the value " kernel" .
augeas { yum_exclude_kernel:
context => '/files/etc/yum.conf/main',
changes => "set exclude 'kernel'"
}
But, if there is already this parameter with a different value, it is overwritten...
My question is: how to add another value with a space between values without overwrite the existing one ?
Is this possible with augeas ?
regards
↧