Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8391122
configs.pp
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
753 B
Subscribers
None
configs.pp
View Options
# Class: sudo::configs
#
# This class enables support for a full hiera based sudoers configuration.
# Hiera functionality is auto enabled during the initial sudo module load;
# this class is not intended to be loaded directly.
#
# See the primary sudo module documentation for usage and examples.
#
class
sudo
::
configs
(
$configs_hash
=
{},
){
validate_hash
(
$configs_hash
)
# NOTE: hiera_hash does not work as expected in a parameterized class
# definition; so we call it here.
#
# http://docs.puppetlabs.com/hiera/1/puppet.html#limitations
# https://tickets.puppetlabs.com/browse/HI-118
#
$configs
=
hiera_hash
(
'sudo::configs'
,
$configs_hash)
if
!
empty
(
$configs)
{
create_resources
(
'::sudo::conf'
,
$configs)
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 6:38 PM (14 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398680
Attached To
rSPSUDO puppet-saz-sudo
Event Timeline
Log In to Comment