Commit 6472f3cc authored by mh's avatar mh
Browse files

linting for future parser

parent 6612bb7a
# manage a bash profile
define bash::profile( define bash::profile(
$source, $source,
$destination = '/root/.bash_profile', $destination = '/root/.bash_profile',
$uid = root, $uid = root,
$gid = 0 $gid = 0
){ ){
file {$name: file {$name:
path => $destination, path => $destination,
source => [ source => [
"puppet:///modules/site_bash/${::fqdn}/${source}", "puppet:///modules/site_bash/${::fqdn}/${source}",
"puppet:///modules/site_bash/${source}", "puppet:///modules/site_bash/${source}",
"puppet:///modules/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 { class bash::timeout::base {
file{'/etc/profile.d/timeout.sh': 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'], 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