Hi everyone,
i have a question.
Can I work with variables in Python plugins?
For example
...
root@bareos:~# cat /etc/bareos/bareos-dir.d/fileset/plugin-postgresql.conf
FileSet {
    Name = "plugin-postgresql"
    Include  {
        Options {
            compression=LZ4
            signature = XXH128
        }
        Plugin = "python"
                 ":module_name=bareos-fd-postgresql"
                 ":db_host=$HOSTNAME --fqdn"
                 ":db_user=########"
                 ":db_password=###########"
                 ":wal_archive_dir=/media/backups/
dsme01.intern.example.com/postgresql/wal_archives/ 
<http://dsme01.intern.harnet.de/postgresql/wal_archives/>"
    }
}
...
The entry "db_host=$HOSTNAME --fqdn" does not work
Regards, Stefan Harbich

-- 
You received this message because you are subscribed to the Google Groups 
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/bareos-users/81d5fbae-37a7-4d94-9f7d-0d9c4a8d8703n%40googlegroups.com.

Reply via email to