Issue #5393 has been updated by Matt Robinson. Keywords changed from solaris zone dataset to solaris zone dataset communitypatch
---------------------------------------- Feature #5393: include support for adding dataset(s) to solaris zone provider https://projects.puppetlabs.com/issues/5393 Author: derek olsen Status: Accepted Priority: Normal Assignee: Nigel Kersten Category: Solaris Target version: Statler Affected Puppet version: Keywords: solaris zone dataset communitypatch Branch: We use the zone type pretty frequently and have created an define as a wrapper around the zone type. Upon reviewing the define recently it's clear that all it really does for us is include a dataset(s) if requested. For example this call to the define zones::create { "sample": ip => [ "e1000g0:10.1.16.47" ], zfs_parent => "localdisks/zones", datasets => "localdisks/zones/datasets", mountpoint => "/site/sample", } ends up calling the following exec if $datasets != "false" { zones::dataset { "$name": datasets => "$datasets", mountpoint => "$mountpoint", } } exec { "${datasets}/${name}": command => "/usr/sbin/zonecfg -z $name 'add dataset; set name=${datasets}/${name} ; end ; verify ; commit'", unless => "/usr/sbin/zonecfg -z $name info | /usr/bin/grep -i dataset", require => [ Zone["$name"], Zfs["${datasets}/${name}"] ], } We would like to get rid of the define and have puppet natively support the ability to add an dataset to a zone configuration. Thanks. Derek. -- 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.
