Unfortunately, this is another "I don''t yet know ruby" question, but I''m hoping that someone can help me out. I''ve just tried to write some mount options via puppet and I noticed that, while fstab is written, the managed mounts are not remounted to effect the stated changes. For instance: Original - /home, options: rw Puppet - /home, options: rw,acl However, since the system is running, the mounted /home remains mounted with the rw option. I found where the mount.rb file specifies the mount commands, but FreeBSD uses a different remount option than the other *NIX systems so I couldn''t just slap in an additional option (well, correctly anyway). Any ideas on how to correctly solve this problem? Thanks, Trevor _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
On Jan 19, 2007, at 4:57 AM, Trevor Vaughan wrote:> Unfortunately, this is another "I don''t yet know ruby" question, > but I''m hoping that someone can help me out. > > I''ve just tried to write some mount options via puppet and I > noticed that, while fstab is written, the managed mounts are not > remounted to effect the stated changes. > > For instance: > > Original - /home, options: rw > Puppet - /home, options: rw,acl > > However, since the system is running, the mounted /home remains > mounted with the rw option. > > I found where the mount.rb file specifies the mount commands, but > FreeBSD uses a different remount option than the other *NIX systems > so I couldn''t just slap in an additional option (well, correctly > anyway). > > Any ideas on how to correctly solve this problem?This is already filed as bug #113: https://reductivelabs.com/trac/puppet/ticket/113 There''s no fix currently, but I hope to fix it in the next release, which will be a bug-fix release for 0.22 and should be somewhat soon. -- Yesterday upon the stair I met a man who wasn''t there. He wasn''t there again today -- I think he''s from the CIA. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com
On Jan 19, 2007, at 4:57 AM, Trevor Vaughan wrote:> > I found where the mount.rb file specifies the mount commands, but > FreeBSD uses a different remount option than the other *NIX systems > so I couldn''t just slap in an additional option (well, correctly > anyway).Can you file a bug about this, with specific details on how FreeBSD should remount? -- Sabbagh''s Second Law: The biggest problem with communication is the illusion that it has occurred. --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com