On Jan 18, 2013 11:31 AM, "jcbollinger" <john.bollin...@stjude.org> wrote:
>
>
>
> On Friday, January 18, 2013 12:11:42 PM UTC-6, iamauser wrote:
>>
>> What's the best practice to define two mount resources with same name,
but different fstypes or ensure parameter ? In my particular case, I have
the following :
>>
>> Two mounts defined as virtual resources with same name but different
fstype. One is is ensuring present, other absent. Puppet doesn't like it,
>> Looking at a bug report earlier (
http://projects.puppetlabs.com/issues/7491 ), I followed the suggestion,
but it doesn't help. puppet throws this error :
>

> Instead, declare the resource once, and either set its parameters
conditionally or override them, where needed, by one of the supported
mechanisms for doing so.
>
>
> John

If I understand correctly the conditional would be based on the current
fstype of the mount.  It seems like a custom fact would be needed.

-- 
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 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to