We've been running casper for 6 months or so and we're moving past basic MDM and machine imaging to more advanced use of scripts and packages to upgrade and reconfigure machines.
These forums have been great for most of my questions but there's one I really haven't found a good answer to.
We're a game developer with Web and C++ devs working on macs and one of our major software deployments is GIT clients and development environments. All of these tools require basic configuration and I'm trying to move from having users do this to dropping config files in with the packages from self service but I haven't found a method I really like.
2 Situations as I see it
A config file needed by a PKG when it runs. Such as kaspersky antivirus which has a dmg, a config file and a.sh script to chain it all together properly. For this I end up making 2 packages 1 to put the config file and script in /user/shared then the preflight script in the cached casper install policy to copy it to the install cache before the dmg is processed. It works but it makes updates and the policy list untidy with 2 policies for every install.
The other situation is deploying user config like git or .bash_profile files. Our team leads would like people to be able to go to self service and click a "package" that adds default config files into ~/ and paths bellow it which they can then customise and if they break it go back to self service and overwrite later.
In both cases what I think would be ideal is to be able to have these kinds of text files exist in the distribution point and copy them with either a script entry in self service or the preflight script in a pkg deployment policy. Each task could be a single policy and scripts and configs could be easily updated and version controlled.
Is this possible?
If not how do you guys do this. I guess it extends to license files as well.
