Issue #4982 has been updated by Nigel Kersten.

Status changed from Unreviewed to Needs more information

So to clarify, the mount provider does work happily for you in OS X, it's just 
that atboot puts the info into fstab, rather than creating a proper static 
mount using dscl the way OS X expects?
----------------------------------------
Bug #4982: OSX /Volumes mounts directory poofing
http://projects.puppetlabs.com/issues/4982

Author: Nathan Rich
Status: Needs more information
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected version: 
Keywords: 
Branch: 


excerpt from puppet checkin:
    notice: /Stage[main]/Mount::Xxxdev/File[/Volumes/xxxdev]/ensure: created
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount -o 
acregmin=60,acregmax=120,acdirmin=60,acdirmax=120 /Volumes/xxxdev'              
                                                                                
                   
    notice: /Stage[main]/Mount::Xxxdev/Mount[/Volumes/xxxdev]/ensure: ensure 
changed 'unmounted' to 'mounted'
    info: /Stage[main]/Mount::Xxxdev/Mount[/Volumes/xxxdev]: Scheduling refresh 
of Mount[/Volumes/xxxdev]
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
    info: Mount[/Volumes/xxxdev](provider=parsed): Remounting
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/umount 
/Volumes/xxxdev'
    debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount -o 
acregmin=60,acregmax=120,acdirmin=60,acdirmax=120 /Volumes/xxxdev'              
                                                                                
                   
    err: /Stage[main]/Mount::Xxxdev/Mount[/Volumes/xxxdev]: Failed to call 
refresh: Execution of '/sbin/mount -o 
acregmin=60,acregmax=120,acdirmin=60,acdirmax=120 /Volumes/xxxdev' returned 1: 
mount: realpath /Volumes/xxxdev: No such file or directory

with 'atboot => true' puppet will put /etc/fstab entries even on osx. osx 
doesn't use fstab but the mount command will. so my temporary workaround for 
this has been to do this:
 mkdir /Volumes/xxxdev
 mount -a

which succeeds but again, puppet can not seem to manage this mount for some 
reason. This is confirmed still happening on 2.6.2


-- 
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