Merge "Change default permissions in jinja templates."

This commit is contained in:
Jenkins 2017-05-29 10:17:40 +00:00 committed by Gerrit Code Review
commit c93a63195d
28 changed files with 34 additions and 34 deletions

View File

@ -14,7 +14,7 @@
"source": "{{ container_config_directory }}/wsgi-ceilometer-api.conf",
"dest": "/etc/{{ apache_dir }}/{{ apache_file }}",
"owner": "ceilometer",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/chrony.conf",
"dest": "/etc/chrony/chrony.conf",
"owner": "chrony",
"perm": "0644"
"perm": "0600"
}
]
}

View File

@ -57,14 +57,14 @@
"source": "{{ container_config_directory }}/logrotate/global.conf",
"dest": "/etc/logrotate.conf",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{% for service, enabled in services if enabled | bool %}
{
"source": "{{ container_config_directory }}/logrotate/{{ service }}.conf",
"dest": "/etc/logrotate.d/{{ service }}.conf",
"owner": "root",
"perm": "0644"
"perm": "0600"
}{{ ',' if not loop.last else '' }}
{% endfor %}

View File

@ -13,7 +13,7 @@
"source": "{{ container_config_directory }}/wsgi-gnocchi.conf",
"dest": "/etc/{{ gnocchi_dir }}/wsgi-gnocchi.conf",
"owner": "gnocchi",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/haproxy.cfg",
"dest": "/etc/haproxy/haproxy.cfg",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/haproxy.pem",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/keepalived.conf",
"dest": "/etc/keepalived/keepalived.conf",
"owner": "root",
"perm": "0644"
"perm": "0600"
}
]
}

View File

@ -33,7 +33,7 @@
"source": "{{ container_config_directory }}/horizon.conf",
"dest": "/etc/{{ apache_dir }}/{{ apache_file }}",
"owner": "horizon",
"perm": "0644"
"perm": "0600"
},
{% for service, enabled in services if enabled | bool %}
{
@ -48,7 +48,7 @@
"source": "{{ container_config_directory }}/local_settings",
"dest": "/etc/openstack-dashboard/local_settings",
"owner": "horizon",
"perm": "0644"
"perm": "0600"
}
]
}

View File

@ -6,20 +6,20 @@
"source": "{{ container_config_directory }}/ironic-agent.kernel",
"dest": "/tftpboot/ironic-agent.kernel",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/ironic-agent.initramfs",
"dest": "/tftpboot/ironic-agent.initramfs",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{% endif %}
{
"source": "{{ container_config_directory }}/default",
"dest": "/tftpboot/pxelinux.cfg/default",
"owner": "root",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/karbor.conf",
"dest": "/etc/karbor/karbor.conf",
"owner": "karbor",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/karbor.conf",
"dest": "/etc/karbor/karbor.conf",
"owner": "karbor",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,13 +5,13 @@
"source": "{{ container_config_directory }}/karbor.conf",
"dest": "/etc/karbor/karbor.conf",
"owner": "karbor",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/providers.d/openstack-infra.conf",
"dest": "/etc/karbor/providers.d/openstack-infra.conf",
"owner": "karbor",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -11,7 +11,7 @@
"source": "{{ container_config_directory }}/crontab",
"dest": "/var/spool/cron/crontabs/root/fernet-cron",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/fernet-rotate.sh",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/sshd_config",
"dest": "/etc/ssh/sshd_config",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/id_rsa.pub",

View File

@ -33,7 +33,7 @@
"source": "{{ container_config_directory }}/wsgi-keystone.conf",
"dest": "/etc/{{ keystone_dir }}/wsgi-keystone.conf",
"owner": "keystone",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/mistral.conf",
"dest": "/etc/mistral/mistral.conf",
"owner": "mistral",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/mistral.conf",
"dest": "/etc/mistral/mistral.conf",
"owner": "mistral",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/mistral.conf",
"dest": "/etc/mistral/mistral.conf",
"owner": "mistral",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/mongodb.conf",
"dest": "/etc/mongodb.conf",
"owner": "mongodb",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,13 +5,13 @@
"source": "{{ container_config_directory }}/libvirtd.conf",
"dest": "/etc/libvirt/libvirtd.conf",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/qemu.conf",
"dest": "/etc/libvirt/qemu.conf",
"owner": "root",
"perm": "0644"
"perm": "0600"
}{% if nova_backend == "rbd" %},
{
"source": "{{ container_config_directory }}/secrets",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/sshd_config",
"dest": "/etc/ssh/sshd_config",
"owner": "root",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/ssh_config",

View File

@ -20,7 +20,7 @@
"source": "{{ container_config_directory }}/placement-api-wsgi.conf",
"dest": "/etc/{{ apache_conf_dir }}/placement-api-wsgi.conf",
"owner": "nova",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/solum.conf",
"dest": "/etc/solum/solum.conf",
"owner": "solum",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/solum.conf",
"dest": "/etc/solum/solum.conf",
"owner": "solum",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/solum.conf",
"dest": "/etc/solum/solum.conf",
"owner": "solum",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/solum.conf",
"dest": "/etc/solum/solum.conf",
"owner": "solum",
"perm": "0644"
"perm": "0600"
}
],
"permissions": [

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/watcher.conf",
"dest": "/etc/watcher/watcher.conf",
"owner": "watcher",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/watcher.conf",
"dest": "/etc/watcher/watcher.conf",
"owner": "watcher",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",

View File

@ -5,7 +5,7 @@
"source": "{{ container_config_directory }}/watcher.conf",
"dest": "/etc/watcher/watcher.conf",
"owner": "watcher",
"perm": "0644"
"perm": "0600"
},
{
"source": "{{ container_config_directory }}/policy.json",