Skip to content

v0.4.0: Mayonnaise Olive Parfait

Pre-release
Pre-release
Compare
Choose a tag to compare
@sheagcraig sheagcraig released this 02 Nov 19:52
· 746 commits to master since this release

ADDITIONS:

  • Adds class casper. This class pulls the information returned from POSTing to the undocumented casper.jxml. At some point I would like this to allow for automatic configuration of all repository information (provided an authentication by a privileged user). However, due to its undocumented nature, I don't want to rely on it until I can get some confirmation from JAMF that this is 'OK'.
  • Adds class JDS to module distribution_points.
    • Can copy packages/DMG's.
    • Can copy scripts, although it is currently broken.
      • Scripts include HTML form boundaries... Working on this.
    • Has a limited .exists() method.
    • Has a more thorough .exists_with_casper() method that uses the undocumented casper.jxml/casper-module.
  • class DistributionPoints now adds JDS type DP's.
  • DistributionPoints now have helper methods to add and remove a DistributionPoint.

CHANGES:

  • DistributionPoints.__repr__ factored into DistributionPoint and children.
  • New option to fully declare distribution point connection information in the preference file or at JSS or DistributionPoints instantiation time.
    • Shares will now only be included if they are defined in the list of repos. (Previously, it would try to match all DP's from .distributionpoints to a config option).
    • AFP or SMB shares declared in the previous style, with just a name and password will still get the rest of the information from the server.
    • You may now specify these connection properties explictly.
    • JDS' must be configured with explicit properties.
    • See docstrings for the different types of DistributionPoint for required keys.
  • DistributionPoint subclasses will now let you know what config information you left out.
  • DistributionPoints and DistributionPoint subclasses now have an optional argument id_ for supporting JDS copy methods.
    • Ignored by non-JDS DP's.
    • Can be used to copy a package/script to an existing package object rather than creating a new one (the default, of -1 makes a new object).
  • Moved documentation from README to wiki.

KNOWN ISSUES:

  • JDS distribution points can upload scripts and packages, but they are getting corrupted with HTML multipart boundaries because the requests are not being made quite right. This should be solved soon.