-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Your best bet is to write a custom fact that returns the status of httpd
installation.

There is a good tutorial on writing custom facts in the docs.

Trevor

On 06/01/2010 05:31 PM, Bill Weiss wrote:
> All,
>  
> Sorry if this is a FAQ that I?ve missed.  A pointer to TFM would be
> appreciated if so.
>  
> I?m looking for a conditional include of sorts.  In module X, I?d like
> to frob a file if the httpd package is installed.  If it?s not, I want
> to just skip it.  Is there a simple way to do this?
>  
> Thanks.
>  
> -- 
> Bill Weiss
> Backstop Solutions Group
>  
>  
>  
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Puppet Users" group.
> To post to this group, send email to [email protected].
> 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.

- -- 
Trevor Vaughan
 Vice President, Onyx Point, Inc.
 email: [email protected]
 phone: 410-541-ONYX (6699)
 pgp: 0x6C701E94

- -- This account not approved for unencrypted sensitive information --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkwFpggACgkQyWMIJmxwHpQSZgCgziFUAs5QI9V/48XCmQhAU6uw
vHwAnRL61ZihpE3iwvoBk6klOAFOHCGy
=EOK8
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
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.

<<attachment: tvaughan.vcf>>

Reply via email to