Commit 6472f3cc authored by mh's avatar mh

linting for future parser

parent 6612bb7a
# manage a bash profile
define bash::profile(
$source,
$destination = '/root/.bash_profile',
$uid = root,
$gid = 0
$source,
$destination = '/root/.bash_profile',
$uid = root,
$gid = 0
){
file {$name:
path => $destination,
path => $destination,
source => [
"puppet:///modules/site_bash/${::fqdn}/${source}",
"puppet:///modules/site_bash/${source}",
"puppet:///modules/bash/${source}"
],
owner => $uid, group => $gid, mode => 600;
owner => $uid,
group => $gid,
mode => '0600';
}
}
# set a bash timeout
class bash::timeout::base {
file{'/etc/profile.d/timeout.sh':
source => "puppet:///modules/bash/profile.d/timeout.sh",
source => 'puppet:///modules/bash/profile.d/timeout.sh',
require => Package['bash'],
owner => root, group => 0, mode => 0755;
owner => root,
group => 0,
mode => '0755';
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment