mirror of
https://github.com/krislamo/pup-tests
synced 2024-09-20 09:40:36 +00:00
Kris Lamoureux
1b42ed53a3
Installed the amanda client on webserver to back it up. Changed host name of backup server from "amanda" to "backups."
23 lines
399 B
Puppet
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"
|
|
}
|
|
|
|
}
|
|
|