Hello, I am working on writing my first puppet module.  I am pretty skilled 
in writing complex shell (bash, ksh, sh) scripts so I have some questions 
in general about writing a thorough puppet module.

I want to write a single puppet module to support installation, 
configuration and service management of system audit (*auditd* *for example*) 
on different operating systems.  Specifically, Solaris 10 {x86|SPARC} and 
CentOS {x86_64}.

I know that if I have a yum repo (for CentOS) and run the command *yum 
update audit*  it will then update all of the dependencies automatically.

So, my question is, do I need to provide syntax like the following:

  package {'audit':
    ensure  => latest,
    name    => "${auditpkg}",
    require => Package['audit-libs']
  }

Or will the CentOS puppet agent node simply run the yum installation/update 
automatically and update the *audit-libs* package; without any concerns?

Also, and this probably might not be appropriate for this particular 
email/post, but I would like to know, since Solaris 10 does not work with 
repositories (correct me if I am wrong); do I need to skip the idea of 
writing this module in support of Solaris 10 (even though my workplace is 
still using it).  I am not looking for opinions on this matter, I am 
looking to know if there is a way to get puppet to update Solaris 10 
systems with puppet modules against software packages?

-- 
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/c4033b69-903f-4c25-8f8a-db46e049aca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to