Bug #4745
'ralsh mount /foo' fails in master on OS X
| Status: | Closed | Start date: | 09/09/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | mount | |||
| Target version: | - | |||
| Affected Puppet version: | development | Branch: | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Based on the failure, I think it’ll fail everywhere else, too. Here’s the set of commands and what happened:
luke@localhost $ ralsh mount /dev
mount { '':
ensure => 'absent'
}
[master ~/puppet]
luke@localhost $ ralsh mount /home
mount { '':
ensure => 'absent'
}
[master ~/puppet]
luke@localhost $ ralsh mount /dev/disk0s2
mount { '':
ensure => 'absent'
}
[master ~/puppet]
luke@localhost $ ralsh mount /
Could not run: Title or name must be provided
[master ~/puppet]
luke@localhost $
History
Updated by Gary Larizza 20 days ago
- Status changed from Accepted to Closed
- Assignee set to Gary Larizza
Tried this again using Puppet version 2.7.7 with the following:
▷ sudo puppet resource mount -d
Password:
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
mount { '/':
ensure => 'ghost',
target => '/etc/fstab',
}
mount { '/dev':
ensure => 'ghost',
target => '/etc/fstab',
}
mount { '/home':
ensure => 'ghost',
target => '/etc/fstab',
}
mount { '/mnt/puppet':
ensure => 'unmounted',
device => '//gary@faro/Public',
dump => '0',
fstype => 'smbfs',
options => 'automounted',
pass => '0',
target => '/etc/fstab',
}
mount { '/net':
ensure => 'ghost',
target => '/etc/fstab',
}
And targeting a specific mount:
▷ sudo puppet resource mount /dev -d
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::Mount::ProviderParsed: Executing '/sbin/mount'
mount { '/dev':
ensure => 'ghost',
target => '/etc/fstab',
}
This appears to be fixed in 2.7, but I’m unsure of when in the course of development it was changed.