On Solaris 10 x86 u7 I get the following error when a zone resource is
created:

err: //Node[foo]/Zones::Instance[test]/Zone[test]/ensure: change from
absent to running failed: Could not boot zone: Execution of '/usr/sbin/
zoneadm -z test boot' returned 1: zoneadm: zone 'test': These file-
systems are mounted on subdirectories of /export/zones/test/root:
zoneadm: zone 'test':   /export/zones/test/root/var/sadm/install/.door
zoneadm: zone 'test': call to zoneadmd failed

This seems to be related to 
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6855364.

If I manually run "pkgadm sync -R /export/zones/test/root -q", and
then do another puppet run, puppet can boot the zone.  I was wondering
if there was some way to have puppet run pkgadm sync if the boot
fails.  Normally, this would be a simple exec, but I'm not sure how to
go about it.  The exec would have to depend on the boot failing, which
in turn would have to trigger puppet to retry booting the zone.  I
think the only way I can do this is to modify the zone provider.  Does
anyone have any ideas about how to do this in a module?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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.

Reply via email to