bundlewrap/bundles/wordpress/items.py
2024-02-08 10:46:27 +01:00

12 lines
284 B
Python

files = {
'/usr/lib/nagios/plugins/check_wordpress_insecure': {
'mode': '0750',
},
}
for site, conf in node.metadata.get('wordpress').items():
directories[f'/opt/{site}'] = {
'owner': 'www-data',
'group': 'www-data',
'mode': '0755',
}