Thanks for the info. I will have a try. :) 在 2012年11月27日星期二UTC+8上午12时02分49秒,jcbollinger写道: > > > > On Monday, November 26, 2012 2:33:54 AM UTC-6, 胡振翔 wrote: >> >> HI, >> >> I am new here.and I have a request to refresh the mount point through >> puppet for 1000+ servers. >> >> per the native mount type, it seems that it only use 'umount' command , >> but I want to use 'umount -l' on Linux and 'umount -f' on Solaris and AIx. >> >> >> zxhu@vlsh-puppet1:/var/log$ sudo puppet agent --server=vlsh-puppet1 >> --no-daemonize --verbose --onetime >> info: Caching catalog for vlsh-puppet1 >> info: Applying configuration version '1353918009' >> err: /Stage[main]/Sudo/Mount[/home/xinghui]/ensure: change from ghost to >> absent failed: Execution of '/bin/umount /home/xinghui' returned 1: umount: >> /home/xinghui: device is busy >> umount: /home/xinghui: device is busy >> >> any suggest is appreciated. >> Thanks. >> > > > You cannot change the options without modifying Puppet or writing a custom > 'provider' plugin for the Mount type. The PuppetLabs site has > documentation on writing custom types and providers (they are related, but > you need only a provider for an existing type, not a whole new type). > > > John > >
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/710Qj67LhusJ. 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.