Forge Home

file_on_server

Provides the content of a file local to the server

8,032 downloads

7,241 latest version

4.9 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.1.2 (latest)
  • 0.1.1
  • 0.1.0 (deleted)
released Mar 8th 2016
This version is compatible with:
  • , , , , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'jcpunk-file_on_server', '0.1.2'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jcpunk-file_on_server
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jcpunk-file_on_server --version 0.1.2

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
Tags: local-file

Documentation

jcpunk/file_on_server — version 0.1.2 Mar 8th 2016

puppet-file_on_server

This includes two functions:

  • exists : which will return true if a given file exists on the server
  • file_on_server : which will return the content of a given file if it is found on the server