Revision bd9b6f21

b/ci/schemas/one_node/deploy.conf
31 31
keygen = False
32 32
# whether to inject ssh keys found in templates/root/.ssh in nodes
33 33
key_inject = True
34

  
35
[options]
36
# Deploy Synnefo, specially tuned for testing. This option improves the speed
37
# of some operations, but is not safe for all enviroments. (e.g. disable
38
# fsync of postgresql)
39
testing_vm = True
b/snf-deploy/conf/deploy.conf
31 31
keygen = False
32 32
# whether to inject ssh keys found in templates/root/.ssh in nodes
33 33
key_inject = True
34

  
35
[options]
36
# Deploy Synnefo, specially tuned for testing. This option improves the speed
37
# of some operations, but is not safe for all enviroments. (e.g. disable
38
# fsync of postgresql)
39
testing_vm = False
b/snf-deploy/fabfile.py
454 454
    """
455 455
    try_run(cmd)
456 456

  
457
    if env.env.testing_vm:
458
        cmd = """
459
        echo "fsync=off\nsynchronous_commit=off\nfull_page_writes=off" >> /etc/postgresql/8.4/main/postgresql.conf
460
        """
461
        try_run(cmd)
462

  
457 463
    allow_access_in_db(env.host, "all", "trust")
458 464
    try_run("/etc/init.d/postgresql restart")
459 465

  
b/snf-deploy/snfdeploy/lib.py
128 128

  
129 129
    files = {
130 130
        "nodes": ["network", "info"],
131
        "deploy": ["dirs", "packages", "keys"],
131
        "deploy": ["dirs", "packages", "keys", "options"],
132 132
        "vcluster": ["cluster", "image"],
133 133
        "synnefo": ["cred", "synnefo", "roles"],
134 134
        "packages": ["debian", "ganeti", "synnefo", "other"],

Also available in: Unified diff