Ensure exec permissions on script in ~/bin

Adds module 'recursive_file_permissions' to do this
This commit is contained in:
Keith Whyte 2020-05-01 01:32:51 +02:00
parent 26980e41cb
commit 3b68e47730
3 changed files with 11 additions and 0 deletions

View file

@ -275,6 +275,13 @@ schedule { 'repo':
content => template('rhizo_base/vars.sh.erb'),
}
recursive_file_permissions { '/home/rhizomatica/bin':
file_mode => '0750',
dir_mode => '0755',
owner => 'root',
group => 'root',
}
file { "/etc/profile.d/rccn-functions.sh":
ensure => present,
content => template('rhizo_base/rccn-functions.sh.erb'),