1
0
mirror of https://github.com/krislamo/pup-tests synced 2024-09-20 09:40:36 +00:00
pup-tests/code/environments/production/modules/amanda/manifests/client.pp
Kris Lamoureux 1b42ed53a3
Added network backup
Installed the amanda client on webserver to back it up. Changed
host name of backup server from "amanda" to "backups."
2019-02-26 14:26:55 -05:00

23 lines
399 B
Puppet

class amanda::client {
# Install Amanda
package { ['amanda-client', 'amanda-common']:
ensure => present
}
# Enable "backup" user account
user { 'backup':
ensure => present,
shell => "/bin/bash"
}
# Deploy amanda hosts for clients
file { '/etc/amandahosts':
ensure => file,
content => template('amanda/amandahosts-client.epp'),
owner => "backup"
}
}