call-xcode_cli_tools

Puppet module for installing XCode Command Line Tools


License
Apache-2.0
Install
puppet module install call-xcode_cli_tools --version 0.0.33

Documentation

xcodeclitools

Table of Contents

  1. Description
  2. Setup - The basics of getting started with XcodeCLI
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

This module installs Xcode Command Line Tools. Works with Puppet >= 4.x and OS X >= 10.9.

Idempotency is satisfied via a custom fact, which provides information of existing Xcode and Xcode Command Line Tools installation. If no Xcode installation or Xcode Command Line Tools installation is found, the module proceeds with installation.

Xcode CLI tools are expected to be found via pkgutil and Xcode is expected to be found in specified location (defaulting to standard /Applications/Xcode).

Setup

What XcodeCLI affects

This module will install XCode Command Line Tools. Additionally, the module introduces the following new facts:

  • xcode_installed
  • xcode_version
  • xcode_cli_installed

Setup Requirements

Requires Apple SUS to be configured properly. If you don't know how to configure it, don't worry, the Apple defaults will work just fine.

Beginning with XcodeCLI

Usage

Reference

Class XcodeCLI:

  • installs Xcode Command Line Tools

Facts:

  • xcode_installed
  • xcodeversion
  • xcode_cli_installed

Limitations

Requires OS X version to be newer than 10.9 Mavericks. This module will not work on older OS X versions.

This module is tested with Puppet 4 and might not work on older versions.

Development

Contributions and pull requests are welcome.

Original work Copyright 2016 Tampere University of Technology

Modified work Copyright 2018 Brian Call

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Original Author

Original credit for this module goes to Antti Pettinen at Tampere University of Technology.