Giter Club home page Giter Club logo

netrc's Introduction

Build Status

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Usage
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Dependencies
  7. Contributors

Overview

Puppet module for the deployment of GNU .netrc files. Supports Puppet3 & Puppet4

Module Description

This module provides an easy way to manage and deploy machine credentials to user specific .netrc files.

Usage

class { 'netrc':
   user => 'myuser',
   path => '/home/myuser/.netrc',
}

netrc::machine { 'ftp.foo.com':
   netrc_path => '/home/myuser/.netrc',
   login      => 'remote_user',
   password   => 'hunter5',
}

Reference

Classes

Public Classes

  • netrc: Top level configuration of .netrc file
Parameters

The following parameters are available in netrc:

user

Required Owner of the .netrc file to be created

path

Required Absolute path of the .netrc file to be created.

group

Group of the .netrc file to be created. Defaults to $user

Public Classes

The netrc module has no private classes.

Types

netrc::machine

Represents the login details for a single machine entry in a .netrc file

Parameters
machine

Required Remote machine which the credentials are for. Default: $name

netrc_path

Required Absolute path to the .netrc file in which to store these credentials. Must be the same as that defined in the netrc resource

login

Required Username on remote machine

password

Required Password on remote machine

Limitations

  • Supports only one .netrc file per machine

Dependencies

netrc module depends on the following

Contributors

List of contributors can be found at: https://github.com/code-management/netrc/graphs/contributors

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.