Mercurial > repos > other > Puppet
comparison manifests/templates.pp @ 432:d05e9281909c
Remove now abandoned Strike Creations website
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 21 Feb 2023 15:54:18 +0000 |
parents | fa3093f2dc8e |
children | 377fbb08568a |
comparison
equal
deleted
inserted
replaced
431:c84f5efa999e | 432:d05e9281909c |
---|---|
794 "img-src" => "'self' https://secure.gravatar.com/ data:", | 794 "img-src" => "'self' https://secure.gravatar.com/ data:", |
795 "style-src" => "'self' https://fonts.googleapis.com/ 'nonce-%{CSP_NONCE}e' 'unsafe-hashes' 'sha256-anQSeQoEnQnBulZOQkDOFf+e6xBIGmqh7M8YFT992co=' 'sha256-zJDyuABAg68wtWDFyIh+RRe+6Vm/r+BLwaNRCGNVyXI=' 'sha256-qMalr/MPLUDW4lX/rq/cGp1Eu/H0cu0Yg98pdu69Jxs=' 'sha256-mshqJ+hidJMRDeNLHknuDAeYLOPg2OTIIA3nZmHgi9U=' 'sha256-YnRUd/QjP/NuFgfjMHhNfMCqXh0RQIGdvQfMCOf6qkw=' 'sha256-EwdiFJgqhefinoeAymrWxOYW4kza2Ekos5MY0PlXYI0=' 'sha256-G4K9vh8e+37+l69S+lHTyX3CfcK95mQUgyxYPCb7uME=' 'sha256-t6oewASd7J1vBg5mQtX4hl8bg8FeegYFM3scKLIhYUc=' 'sha256-mAQYxa3mIYqoLBrm1zLu6sLajr8vUHVFLYNpl6dAakM=' 'sha256-A8foknjCsFBi1PlRehOrHq0pVySigUurqAUgZ2y2U8c=' 'sha256-biLFinpqYMtWHmXfkA1BPeCY0/fNt46SAZ+BBk5YUog=' 'sha256-WzSByVQ8yW/DKrr77TWVt7WEMzueRcfJZImOkjTBKmc=' 'sha256-efof3agGBAL/yN8TplyNbLEgDZ3wIGMK3UMYbe8slkA='", | 795 "style-src" => "'self' https://fonts.googleapis.com/ 'nonce-%{CSP_NONCE}e' 'unsafe-hashes' 'sha256-anQSeQoEnQnBulZOQkDOFf+e6xBIGmqh7M8YFT992co=' 'sha256-zJDyuABAg68wtWDFyIh+RRe+6Vm/r+BLwaNRCGNVyXI=' 'sha256-qMalr/MPLUDW4lX/rq/cGp1Eu/H0cu0Yg98pdu69Jxs=' 'sha256-mshqJ+hidJMRDeNLHknuDAeYLOPg2OTIIA3nZmHgi9U=' 'sha256-YnRUd/QjP/NuFgfjMHhNfMCqXh0RQIGdvQfMCOf6qkw=' 'sha256-EwdiFJgqhefinoeAymrWxOYW4kza2Ekos5MY0PlXYI0=' 'sha256-G4K9vh8e+37+l69S+lHTyX3CfcK95mQUgyxYPCb7uME=' 'sha256-t6oewASd7J1vBg5mQtX4hl8bg8FeegYFM3scKLIhYUc=' 'sha256-mAQYxa3mIYqoLBrm1zLu6sLajr8vUHVFLYNpl6dAakM=' 'sha256-A8foknjCsFBi1PlRehOrHq0pVySigUurqAUgZ2y2U8c=' 'sha256-biLFinpqYMtWHmXfkA1BPeCY0/fNt46SAZ+BBk5YUog=' 'sha256-WzSByVQ8yW/DKrr77TWVt7WEMzueRcfJZImOkjTBKmc=' 'sha256-efof3agGBAL/yN8TplyNbLEgDZ3wIGMK3UMYbe8slkA='", |
796 "connect-src" => "'self' https://www.sandbox.paypal.com/ https://www.paypal.com/", | 796 "connect-src" => "'self' https://www.sandbox.paypal.com/ https://www.paypal.com/", |
797 }, | 797 }, |
798 } | 798 } |
799 $aliases = [ | 799 |
800 'strikecreations.co.uk', | |
801 'strikecreations.com', | |
802 'www.strikecreations.com' ] | |
803 | |
804 website::https::redir { 'www.strikecreations.co.uk': | |
805 proxy_4to6_ip => $proxy_4to6_ip, | |
806 redir => 'https://bdstrike.co.uk/', | |
807 serveraliases => $aliases, | |
808 docroot => "${website::basedir}/bdstrike", | |
809 docroot_owner => $defaultusers::secondary_user, | |
810 docroot_group => 'editors', | |
811 letsencrypt_name => 'strikecreations.com', | |
812 separate_log => true, | |
813 } | |
814 cron { 'wordpress_cron': | 800 cron { 'wordpress_cron': |
815 # Run "php -f wp-cron.php" on a schedule so that we can auto-update | 801 # Run "php -f wp-cron.php" on a schedule so that we can auto-update |
816 # without giving Apache full write access! | 802 # without giving Apache full write access! |
817 command => "/usr/local/bin/bdstrike-cron", | 803 command => "/usr/local/bin/bdstrike-cron", |
818 user => $defaultusers::default_user, | 804 user => $defaultusers::default_user, |