Frank.Munsche@izb.de
2007-Apr-27 08:24 UTC
automated installation of puppet into solaris 10 zone after insta lling zone with puppet
I''ve built a puppet solaris - package which is distributed via jumpstart at installation time of a solaris 10 machine. It''s postinstallation registers the puppetd into smf and starts puppetd afterwards. Puppetd connects to puppetmasterd, gets ist certificate signed (autosig on) and the configuration stuff. Now the interesting part: a new solaris zone is installed via puppet. Given a sysidcfg-template puppet brings the zone up to a running state. That''s really great! But how to automate the installation of the puppet solaris - package into the new zone from the non-global zone? The package should be installed into the non-global zone and puppetd within this zone should configure the virtual machine. Unfortunately, zonecfg and zoneadm don''t give the feature to add packages during initialization of a zone. Could this be accoumplished by puppet? I''ve tried the types zone and package. But the root-dir of pkgadd (-R) has to be set to the root-dir of the nonglobal zone. There is no such parameter for the type package.Furthermore, there should be a state-dependency between the non-global zone and the instance of ''package'': the package can only be installled when the non-global zone is ''installled'' or ''running'' cheers, frank I''d like to automate _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users