Forge Home

xcode_cli_tools

Installs Xcode Command Line Tools

5,182 downloads

1,200 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.33 (latest)
  • 0.0.32
  • 0.0.31
  • 0.0.2
  • 0.0.1 (deleted)
released Feb 11th 2021
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.7.0 < 7.0.0

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'call-xcode_cli_tools', '0.0.33'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add call-xcode_cli_tools
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install call-xcode_cli_tools --version 0.0.33

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

call/xcode_cli_tools — version 0.0.33 Feb 11th 2021

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.