Issue #4279 has been updated by James Turnbull.

Target version set to 2.6.3


----------------------------------------
Bug #4279: HP-UX Remount Error
https://projects.puppetlabs.com/issues/4279

Author: David Britton
Status: Ready for Testing
Priority: Normal
Assignee: 
Category: HP-UX
Target version: 2.6.3
Affected Puppet version: 0.25.5
Keywords: 
Branch: MarkusQ:tickets/2.6.x/4279


The following error shows up in my hp-ux syslog:

<pre>
Jul 17 22:12:32 SVR104244 puppetd[24639]: (//log::client/Mount[/logs]/ensure) 
change from present to mounted failed: Execution of '/sbin/mount -o defaults 
/logs' returned 1: mount: log.foo.net:/srv/cast_logs is already mounted on /logs
</pre>

Which it is already mounted, so the message is right, just not sure why it's 
trying to mount it again?  The same module is working fine on my RHEL boxes.  
I'm trying to online some HP-UX systems into puppet, and so far this is the 
only thing that has caused me trouble.  The initial mount and fstab 
modification worked just fine.  I even tried adding 'remount' to the 'options', 
and it worked!  of course, it doesn't work on boot, or if it's not mounted. :)  
There is no functional problem here, but it of course shows up as an error on 
the report, which is not really acceptable.

<pre>
class logs::client {

    file { "/logs":
        ensure  => directory,
        owner   => "root",
        group   => "root",
        mode    => 0777,
    }


    mount { "/logs":
        device   => "logs.foo.net:/srv/cast_logs",
        fstype   => "nfs",
        ensure   => "mounted",
        options  => "defaults",
        remounts => "true",
        atboot   => true,
        require  => File["/logs"],
    }

}
</pre>



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