Class Puppet::Indirector::SslFile
In: lib/puppet/indirector/ssl_file.rb
Parent: Puppet::Indirector::Terminus

Methods

Attributes

ca_setting  [R] 
directory_setting  [R] 
file_setting  [R] 

Public Class methods

The full path to a ca file we would be managing.

The full path to where we should store our files.

The full path to an individual file we would be managing.

Specify a single file location for storing just one file. This is used for things like the CRL.

Specify where a specific ca file should be stored.

Specify the directory in which multiple files are stored.

Public Instance methods

We assume that all files named ‘ca’ are pointing to individual ca files, rather than normal host files. It‘s a bit hackish, but all the other solutions seemed even more hackish.

Remove our file.

Find the file on disk, returning an instance of the model.

Use a setting to determine our path.

Save our file to disk.

Search for more than one file. At this point, it just returns an instance for every file in the directory.

[Validate]