On Mon, Aug 6, 2012 at 1:51 PM, Joe Wollard <
joe.w...@gmail.com> wrote:
> The problem with this feature request is that the feature already exists via included_manifests. It just requires a bit of additional setup. Barring code, Could you provide an example manifest set that illustrates your request a little more clearly just to make sure we're not missing something?
I'll try:
manifest "base":
<key>managed_installs</key>
<array>
<string>Firefox</string>
<string>VLC media player</string>
<string>Thunderbird</string>
<string>vpn</string>
<string>vpn-config</string>
<string>iTerm</string>
lots of others....
</array>
manifest "normal_clients"
<key>included_manifests</key>
<array>
<string>base</string>
</array>
<key>managed_installs</key>
<array>
<string>Office2008</string>
</array>
But, our PR department needs Office 2011 even though we haven't rolled
it out to the rest of the company due to compatibility problems, so:
manifest "epo-department"
<key>included_manifests</key>
<array>
<string>base</string>
</array>
<key>managed_installs</key>
<array>
<string>Office2011</string>
</array>
Then, all of our clients have a per-host manifest that includes
"normal_clients". Now, I'm sure this looks ugly to some but it's
working here quite well. Now, I have some machines that aren't
authorized to use the VPN and I need to remove the package "vpn" from
them but leave everything else. I was just hoping not to have to
maintain 2 copies of 'base' because it's quite large. I could script
it I suppose... wouldn't be too hard.
But if there's a more elegant way to do that, I'm all ears.
-Josh