GithubHelp home page GithubHelp logo

randomnoun7 / puppetlabs-package Goto Github PK

View Code? Open in Web Editor NEW

This project forked from puppetlabs/puppetlabs-package

0.0 1.0 0.0 258 KB

A Puppet Task module, for package.

License: Apache License 2.0

Shell 21.67% Ruby 72.60% PowerShell 5.74%

puppetlabs-package's Introduction

package

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Reference
  6. Limitations
  7. Development

Overview

This module provides the package task.

Description

This task allows you to install, uninstall, update, and check the status of packages.

Setup

Requirements

This module is compatible with Puppet Enterprise and Puppet Bolt.

  • To run tasks with Puppet Enterprise, PE 2018.1 or later must be installed on the machine from which you are running task commands. Machines receiving task requests must be Puppet agents.

  • To run tasks with Puppet Bolt, Bolt 1.0 or later must be installed on the machine from which you are running task commands. Machines receiving task requests must have SSH or WinRM services enabled.

Usage

To view the available actions and parameters, on the command line, run puppet task show package or see the package module page on the Forge. For a complete list of optional package providers that are supported, see the Puppet Types documentation.

To run a package task, use the task command, specifying the action and the name of the package. To show help for the task CLI, run puppet task run --help or bolt task run --help

  • With PE on the command line, run puppet task run package action=<ACTION> name=<PACKAGE_NAME>.
  • With Bolt on the command line, run bolt task run package action=<ACTION> name=<PACKAGE_NAME>.

For example, to check whether the vim package is present or absent, run:

  • With PE, run puppet task run package action=status name=vim --nodes neptune.
  • With Bolt, run bolt task run package action=status name=vim --nodes neptune --modulepath ~/modules.

You can also run tasks in the PE console. See PE task documentation for complete information.

Reference

For information on the classes and types, see the REFERENCE.md.

Limitations

To run acceptance tests against Windows machines, ensure that the BEAKER_password environment variable has been set to the password of the Administrator user of the target machine.

For an extensive list of supported operating systems, see metadata.json

Development

We are experimenting with a new tool for running acceptance tests. Its name is puppet_litmus this replaces beaker as the test runner. To run the acceptance tests follow the instructions from this point here.

Puppet modules on the Puppet Forge are open projects, and community contributions are essential for keeping them great. To contribute to Puppet projects, see our module contribution guide.

puppetlabs-package's People

Contributors

tphoney avatar hunner avatar pmcmaw avatar david22swan avatar eimlav avatar donoghuc avatar m0dular avatar eputnam avatar sheenaajay avatar mikaelsmith avatar davidmalloncares avatar lionce avatar davinhanlon avatar conormurray95 avatar eoinmcq avatar adreyer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.