On 11/12/2008 9:28 AM, Evan Hisey wrote:

> I don't believe this will work as the onlyif attribute is only
> available for the exec type. But something similiar using the generate
> function might work.

Could have sworn I saw onlyif in the metaparameters list, but I 
obviously didn't. So if you could integrate the security tool into 
puppet itself, then you could have:

- a file entry that contains the extra lines for the motd

- an exec entry that runs the security tool

- an exec entry that looks for evidence the security tool has run, and 
then adds the extra lines onto the motd

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to