Ensure exec permissions on script in ~/bin
Adds module 'recursive_file_permissions' to do this
This commit is contained in:
parent
26980e41cb
commit
3b68e47730
3 changed files with 11 additions and 0 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -28,3 +28,6 @@
|
||||||
[submodule "modules/concat"]
|
[submodule "modules/concat"]
|
||||||
path = modules/concat
|
path = modules/concat
|
||||||
url = https://github.com/puppetlabs/puppetlabs-concat.git
|
url = https://github.com/puppetlabs/puppetlabs-concat.git
|
||||||
|
[submodule "modules/recursive_file_permissions"]
|
||||||
|
path = modules/recursive_file_permissions
|
||||||
|
url = https://github.com/npwalker/recursive_file_permissions.git
|
||||||
|
|
1
modules/recursive_file_permissions
Submodule
1
modules/recursive_file_permissions
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 9fbc9904c393315ea5d466c054c2b005da2e292c
|
|
@ -275,6 +275,13 @@ schedule { 'repo':
|
||||||
content => template('rhizo_base/vars.sh.erb'),
|
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":
|
file { "/etc/profile.d/rccn-functions.sh":
|
||||||
ensure => present,
|
ensure => present,
|
||||||
content => template('rhizo_base/rccn-functions.sh.erb'),
|
content => template('rhizo_base/rccn-functions.sh.erb'),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue