File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,7 @@ the cronjobs needed to run backups.
264
264
265
265
``` puppet
266
266
rsnapshot::server::config { 'backupclient.example.com':
267
+ fqdn => $name,
267
268
server => $::fqdn,
268
269
config_path => '/etc/rsnapshot',
269
270
backup_path => '/backups/rsnapshot',
Original file line number Diff line number Diff line change 1
1
define rsnapshot::server::config (
2
-
2
+ $fqdn = $name,
3
3
$config_path = $rsnapshot::params::server_config_path,
4
4
$backup_path = $rsnapshot::params::server_backup_path,
5
5
$log_path = $rsnapshot::params::server_log_path,
Original file line number Diff line number Diff line change @@ -101,5 +101,5 @@ exclude <%= value %>
101
101
###############################
102
102
103
103
<% @directories.each do |source_dir| -%>
104
- backup <%= @client_user %> @<%= @name %> :<%= source_dir.gsub(/\/$/, '') %> /<%= "\t" %> <%= "\t\t." %>
104
+ backup <%= @client_user %> @<%= @fqdn %> :<%= source_dir.gsub(/\/$/, '') %> /<%= "\t" %> <%= "\t\t." %>
105
105
<% end -%>
You can’t perform that action at this time.
0 commit comments