- Description
- Setup - The basics of getting started with etc_profile
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
This module manages the Bourne and C shell system login profiles. It does not overwrite existing profiles handled by the OS.
Complete list of resources managed by this module:
File['/etc/profile.d/site.sh']
File['/etc/profile.d/site.csh']
File['/etc/profile.d/site']
(purged)File['/etc/profile.d/site/*.sh']
File['/etc/profile.d/site/*.csh']
File['/etc/profile.d/site.sh']
File['/etc/profile.d/site']
(purged)File['/etc/profile.d/site/*.sh']
File['/etc/csh/login.d/site.csh']
File['/etc/csh/login.d/site']
(purged)File['/etc/csh/login.d/site/*.csh']
site_profile::entry {'oracle':
config => {
content => 'export ORACLE_HOME=/usr/local/oracle/product/instantclient/11.2.0.3',
}
}
site_profile::entry {'openstack':
config => {
content => epp('site_openstack/template/system_profile.epp'),
}
}
These are usually never called on their own, as tehy only set up the requirements for site_profile::entry
's.
The only reason to call them is to change the OS defaults. It is preferred to open an issue if your OS isn't supported, and we'll add it to the module's data.
This is the main resource you'll be using to add new profile entries. A profile entry is merely a Bourne or C shell script that will be added to system profiles.
name
String (Alphanum, Namevar) name of the resourceconfig
Hash to add additionalFile
parameters, e.g.mode
type
Enum[sh|csh] script type
See Synopsis.
Currently only supports RedHat and Debian OS families.
For issues, merge requests, please use the project's github page