Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344417
master.pp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
910 B
Subscribers
None
master.pp
View Options
# Rsnapshot master host
class
profile
::
rsnapshot
::
master
{
$backup_exclusion
=
lookup
(
'dar::backup::exclude'
,
Array
,
'unique'
)
file
{
'/etc/rsnapshot.conf'
:
content
=>
template
(
'profile/swh/rsnapshot.conf.erb'
),
owner
=>
'root'
,
group
=>
'root'
,
mode
=>
'0644'
,
}
file
{
'/srv/rsnapshot'
:
ensure
=>
'directory'
,
owner
=>
'root'
,
group
=>
'root'
,
mode
=>
'0644'
,
}
file
{
'/var/log/rsnapshot'
:
ensure
=>
directory
,
owner
=>
$rsnapshot_user,
group
=>
$rsnapshot_group,
mode
=>
'0700'
,
}
package
{
'rsnapshot'
:
ensure
=>
'present'
,
}
cron
{
'rsnapshot_hourly'
:
command
=>
'/usr/bin/rsnapshot hourly'
,
user
=>
'root'
,
hour
=>
'*/4'
,
minute
=>
'0'
,
}
cron
{
'rsnapshot_daily'
:
command
=>
'/usr/bin/rsnapshot daily'
,
user
=>
'root'
,
hour
=>
'22'
,
minute
=>
'33'
,
}
}
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Fri, Jul 4, 2:25 PM (2 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3361713
Attached To
rSPSITE puppet-swh-site
Event Timeline
Log In to Comment