Giter Site home page Giter Site logo

perforce-cookbook's Introduction

Description

Install perforce (client and/or server) with a config file sourced in the user's shell profile.

Requirements

Chef 11

Attributes

p4 (client)

  • owner - System user in who's home directory the configs will be stored. File permissions use this user as well.
  • group - System group of the owner above.
  • install_dir - Where the p4 executable will be placed.
  • config_filename - Configuration file name.
  • host - Perforce server hostname.
  • port_num - Port number of Perforce Server.
  • port - Perforce server (eg. perforce-server:1666).
  • user - Perforce user. Defaults to owner.
  • password - Perforce password.
  • diff
  • editor
  • merge
  • client
  • charset
  • commandcharset
  • language
  • version - Perforce client version.

p4d (server)

  • owner] - Owner of the p4d executable.
  • group - Group of the p4d executable.
  • install_dir - Where the p4d executable will be placed.
  • journal - Contains 3 attributes
    • enabled - Whether journaling is active.
    • dir - The directory in which the journal file will be stored in.
    • file - The journal file name.
  • log_dir - The directory in which the log file will be stored.
  • log_file - The log file name
  • audit - Contains 3 attributes
    • enabled - Whether audit is active.
    • dir - The directory in which the audit file will be stored in.
    • file - The audit file name.
  • root_dir - The Perforce root directory where the db and depot files are stored.
  • depot_dir - Split the depots by symbolically linking them to a different directory. If this is not wanted, set the value to the value of the root_dir.
  • depots - Creates and symbolically links the depot folders. This will only occur if the root_dir and depot_dir values differ.
  • port - What port the Perforce server should run on.
  • version - What version of the server to install.
  • pidfile - The path to the pidfile.

Usage

Include the recipe and set the attributes above as node or environment attributes

include_recipe 'perforce'

Authors

perforce-cookbook's People

Contributors

capoferro avatar chothia avatar kallan357 avatar

Watchers

 avatar  avatar  avatar

Forkers

sauraus

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.