From: Dan Langille Date: Tue, 2 Oct 2007 19:50:54 +0000 (+0000) Subject: Rename some sample configuration files to *.in X-Git-Tag: Release-3.0.0~2399 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d54dcec514e0f1b974408e768042e49244199122;p=bacula%2Fbacula Rename some sample configuration files to *.in This allows us to rm *.conf and get back to the start. Adjust scripts/do_sed to do a cp of those two files git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5709 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/scripts/do_sed b/regress/scripts/do_sed index 938c9c0c83..31368c720f 100755 --- a/regress/scripts/do_sed +++ b/regress/scripts/do_sed @@ -80,6 +80,9 @@ sed -f ${out} ${cwd}/scripts/bacula-sd-2d.conf.in >${cwd}/scripts/bacula-sd-2d.c sed -f ${out} ${cwd}/scripts/bacula-dir-2d.conf.in >${cwd}/scripts/bacula-dir-2d.conf sed -f ${out} ${cwd}/scripts/bconsole-2d.conf.in >${cwd}/scripts/bconsole-2d.conf +# These files have no fancy sed stuff, so we just copy them over +cp scripts/win32-bacula-sd-tape.conf.in scripts/win32-bacula-sd-tape.conf +cp scripts/win32-bacula-fd.conf.in scripts/win32-bacula-fd.conf cp ${cwd}/bin/bacula-sd.conf ${cwd}/tmp/bac$$ sed s%/tmp%${cwd}/tmp%g ${cwd}/tmp/bac$$ >${cwd}/bin/bacula-sd.conf diff --git a/regress/scripts/win32-bacula-fd.conf b/regress/scripts/win32-bacula-fd.conf deleted file mode 100644 index 115b83d0e7..0000000000 --- a/regress/scripts/win32-bacula-fd.conf +++ /dev/null @@ -1,33 +0,0 @@ -# -# Default Bacula File Daemon Configuration file -# -# For Bacula release 1.33 -# -# There is not much to change here except perhaps the -# File daemon Name to -# - -# -# List Directors who are permitted to contact this File daemon -# -Director { - Name = rufus-dir - Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" -} - -# -# "Global" File daemon configuration specifications -# -FileDaemon { # this is me - Name = localhost-fd - FDport = 8102 # where we listen for the director - WorkingDirectory = "/home/kern/bacula/regress/working" - Pid Directory = "/home/kern/bacula/regress/working" - SubSys Directory = "/home/kern/bacula/regress/working" -} - -# Send all messages except skipped files back to Director -Messages { - Name = Standard - director = rufus-dir = all, !terminate -} diff --git a/regress/scripts/win32-bacula-fd.conf.in b/regress/scripts/win32-bacula-fd.conf.in new file mode 100644 index 0000000000..115b83d0e7 --- /dev/null +++ b/regress/scripts/win32-bacula-fd.conf.in @@ -0,0 +1,33 @@ +# +# Default Bacula File Daemon Configuration file +# +# For Bacula release 1.33 +# +# There is not much to change here except perhaps the +# File daemon Name to +# + +# +# List Directors who are permitted to contact this File daemon +# +Director { + Name = rufus-dir + Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc" +} + +# +# "Global" File daemon configuration specifications +# +FileDaemon { # this is me + Name = localhost-fd + FDport = 8102 # where we listen for the director + WorkingDirectory = "/home/kern/bacula/regress/working" + Pid Directory = "/home/kern/bacula/regress/working" + SubSys Directory = "/home/kern/bacula/regress/working" +} + +# Send all messages except skipped files back to Director +Messages { + Name = Standard + director = rufus-dir = all, !terminate +} diff --git a/regress/scripts/win32-bacula-sd-tape.conf b/regress/scripts/win32-bacula-sd-tape.conf deleted file mode 100644 index 638b402cd8..0000000000 --- a/regress/scripts/win32-bacula-sd-tape.conf +++ /dev/null @@ -1,54 +0,0 @@ -# -# Default Bacula Storage Daemon Configuration file -# -# For Bacula release 1.39.23 -# -# You may need to change the name of your tape drive -# on the "Archive Device" directive in the Device -# resource. If you change the Name and/or the -# "Media Type" in the Device resource, please ensure -# that dird.conf has corresponding changes. -# - -Storage { # definition of myself - Name = localhost-sd - SDPort = 8103 # Director's port - WorkingDirectory = "/home/kern/bacula/regress/working" - Pid Directory = "/home/kern/bacula/regress/working" - Subsys Directory = "/home/kern/bacula/regress/working" -} - -# -# List Directors who are permitted to contact Storage daemon -# -Director { - Name = localhost-dir - Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" -} - -# -# Devices supported by this Storage daemon -# To connect, the Director's bacula-dir.conf must have the -# same Name and MediaType. -# - -Device { - Name = DDS-4 # - Media Type = DDS-4 - Archive Device = /dev/nst0 - AutomaticMount = yes; # when device opened, read it - AlwaysOpen = yes; - RemovableMedia = yes; - @/home/kern/bacula/regress/bin/tape_options -# Maximum File Size = 1000000 -# MaximumVolumeSize = 100M -} - -# -# Send all messages to the Director, -# mount messages also are sent to the email address -# -Messages { - Name = Standard - director = rufus-dir = all, !terminate -} diff --git a/regress/scripts/win32-bacula-sd-tape.conf.in b/regress/scripts/win32-bacula-sd-tape.conf.in new file mode 100644 index 0000000000..638b402cd8 --- /dev/null +++ b/regress/scripts/win32-bacula-sd-tape.conf.in @@ -0,0 +1,54 @@ +# +# Default Bacula Storage Daemon Configuration file +# +# For Bacula release 1.39.23 +# +# You may need to change the name of your tape drive +# on the "Archive Device" directive in the Device +# resource. If you change the Name and/or the +# "Media Type" in the Device resource, please ensure +# that dird.conf has corresponding changes. +# + +Storage { # definition of myself + Name = localhost-sd + SDPort = 8103 # Director's port + WorkingDirectory = "/home/kern/bacula/regress/working" + Pid Directory = "/home/kern/bacula/regress/working" + Subsys Directory = "/home/kern/bacula/regress/working" +} + +# +# List Directors who are permitted to contact Storage daemon +# +Director { + Name = localhost-dir + Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" +} + +# +# Devices supported by this Storage daemon +# To connect, the Director's bacula-dir.conf must have the +# same Name and MediaType. +# + +Device { + Name = DDS-4 # + Media Type = DDS-4 + Archive Device = /dev/nst0 + AutomaticMount = yes; # when device opened, read it + AlwaysOpen = yes; + RemovableMedia = yes; + @/home/kern/bacula/regress/bin/tape_options +# Maximum File Size = 1000000 +# MaximumVolumeSize = 100M +} + +# +# Send all messages to the Director, +# mount messages also are sent to the email address +# +Messages { + Name = Standard + director = rufus-dir = all, !terminate +}