On Thursday, June 19, 2014 7:12:24 AM UTC-5, Stefan Heijmans wrote:
>
>
> with Puppet module and resources in 1 file;
> - sysctl resources are not set
>

Your data indicate otherwise.

 

> - /etc/sysctl.conf updates from the rpm are there
>
> with Puppet module and resources in 2 files;
> - sysctl resources are set
> - /etc/sysctl.conf updates from rpm are somehow removed
>

Are you sure the RPM's updates were ever applied in the first place?  All 
you actually demonstrate is that they aren't there at the end.  One way you 
could test would be to add this resource to one of the relevant manifests:

exec { 'Preserve intermediate sysctl.conf':
  command => '/bin/cp /etc/sysctl.conf /tmp/sysctl.conf.intermediate',
  require => Package['oracle-rdbms-server-11gR2-preinstall'],
} -> Sysctl<||>

There are as many reasons why the RPM might not apply the sysctl changes as 
there are ways to write a scriptlet to apply them.


John

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/50a730d0-0c95-4cd7-98ab-dc3aa2768be0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to