Issue #9255 has been updated by Rudy Gevaert.

Hi James.  For that example, yes it would ;).

An other example, where I use augeas to to manage the multipath.conf file.

<pre>
multipath::alias
{
  'mylun:
    require => File['/dev/mapper/mylun'],
    wwid => '1234556...';
</pre>


----------------------------------------
Feature #9255: add blockdevice support for file type
https://projects.puppetlabs.com/issues/9255

Author: Rudy Gevaert
Status: Needs More Information
Priority: Normal
Assignee: Rudy Gevaert
Category: file
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Dear puppet masters 

I would like to request the following feature.  Please make it possible to 
manage block devices with the file provider.

E.g. having:

<pre>
file {
  '/dev/mapper/mylun:
    ensure => blockdev;
}
</pre>

makes it possible to use the following
<pre>
file {
  '/mnt/mylun:
    ensure => directory,
    require => File['/dev/mapper/mylun'];
}
</pre>

I can already say that the code that checks if the path is a blockdev should 
follow symlinks.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to