Puppet Class: isp3node::base::shell
- Defined in:
- manifests/base/shell.pp
Summary
Changes the systems default shellOverview
Changes the default shell to bash, as required for ispconfig
7 8 9 10 11 12 13 |
# File 'manifests/base/shell.pp', line 7
class isp3node::base::shell {
exec{'Change default shell to bash':
command => 'rm /bin/sh && ln -s /bin/bash /bin/sh && dpkg-reconfigure -f noninteractive dash',
onlyif => 'ls -la /bin/sh | grep dash',
path => $facts['path'],
}
}
|