We are using the the following to mount an AWS EBS
file {
"/dev/sdf":
ensure => present,
audit => "all",
require => Class["base"];
"/var/db":
ensure => directory,
owner => "root",
group => "root",
require => File["/dev/sdf"];
}
mount { "/var/db":
atboot => true,
ensure => mounted,
device => "/dev/sdf",
fstype => "ext4",
options => "defaults",
dump => 0,
pass => 0,
require => File[["/dev/sdf", "/var/db"]];
}
The mount command is taking hours to execute but it eventually
succeeds and everything works. I did a test using local storage
instead of an EBS and to execute all of our modules only required a
few minutes. This is comparable with what I see in a Vagrant test
environment. We are using Ubuntu 10.4, REE and Puppet 2.7.3. The EBS
was created from a snapshot and is attached to the Machine Instance
prior to running Puppet. If I log onto the machine while Puppet is
executing Mount the EBS is mounted and the files on it are accessible.
Does anyone notice any obvious issues or are there any know issues?
Thanks
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.