Class Puppet::Util::Settings::FileSetting
In: lib/puppet/util/settings/file_setting.rb
Parent: Puppet::Util::Settings::Setting

A file.

Methods

Classes and Modules

Class Puppet::Util::Settings::FileSetting::SettingError

Constants

AllowedOwners = %w{root service}
AllowedGroups = %w{service}

Attributes

create  [RW] 
mode  [RW] 

Public Instance methods

Should we create files, rather than just directories?

Set the type appropriately. Yep, a hack. This supports either naming the variable ‘dir’, or adding a slash at the end.

Turn our setting thing into a Puppet::Resource instance.

Return the appropriate type.

Make sure any provided variables look up to something.

[Validate]