Hello,

I found the way to do it with this module :
create a norecommend.erb file in templates folder of apt module and then 
add :

apt::setting { "conf-norecommend":
  content  => template('apt/norecommend.erb'),
  ensure => present,
}


regards,
Le jeudi 2 février 2017 09:30:32 UTC+1, Romgo a écrit :
>
> Hello,
>
> I can, but in this case if there is a new release for the pluggins I'll 
> have to change the code again.
> It is better to have this option built-in.
>
>
>
> Le jeudi 2 février 2017 09:20:09 UTC+1, R.I. Pienaar a écrit :
>>
>>
>>
>> On Thu, Feb 2, 2017, at 09:13, Romgo wrote: 
>> > Hello, 
>> > 
>> > 
>> > I would like to use the apt module, but I can't set this preference (If 
>> I 
>> > am not wrong) : 
>> > 
>> > /etc/apt.conf.d/01norecommend 
>> > > 
>> > > # apt : FILE MANAGED BY PUPPET 
>> > > 
>> > > APT::Install-Recommends "0"; 
>> > > 
>> > > APT::Install-Suggests "0"; 
>> > > 
>> >   
>> > Does anyone have an idea on how to implement this via this plugin ? 
>> > 
>> > Best regards, 
>>
>> why don't you just use a file resource? It's not required for every 
>> possible feature ever to exist in every module, you can easily augment 
>> them. 
>>
>>
>> -- 
>> R.I.Pienaar / www.devco.net / @ripienaar 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/46180055-3d96-4a8f-bf13-dada02431513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to