diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 17:30:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 17:30:24 -0300 |
commit | 9a5f69a671a0ad841d9914293efbdcef0e1b75bf (patch) | |
tree | 26aa43db387ef16af047ed7e6e0ad0927a8f246a /puppet/config/node | |
parent | 765ca2bd25384c3d33d243a5b2f0aa419edcd8fa (diff) | |
download | semanticscuttle-9a5f69a671a0ad841d9914293efbdcef0e1b75bf.tar.gz semanticscuttle-9a5f69a671a0ad841d9914293efbdcef0e1b75bf.tar.bz2 |
Feat: dev environment using kvmx and puppet
Diffstat (limited to 'puppet/config/node')
-rw-r--r-- | puppet/config/node/box.example.org.yaml | 2 | ||||
-rw-r--r-- | puppet/config/node/links.example.org.yaml | 67 |
2 files changed, 68 insertions, 1 deletions
diff --git a/puppet/config/node/box.example.org.yaml b/puppet/config/node/box.example.org.yaml index 657bce1..201de61 100644 --- a/puppet/config/node/box.example.org.yaml +++ b/puppet/config/node/box.example.org.yaml @@ -2,7 +2,7 @@ # # Nodo # -nodo::role: 'dev::virtual' +nodo::role: 'web' # # Classes diff --git a/puppet/config/node/links.example.org.yaml b/puppet/config/node/links.example.org.yaml new file mode 100644 index 0000000..449feff --- /dev/null +++ b/puppet/config/node/links.example.org.yaml @@ -0,0 +1,67 @@ +--- +# +# Nodo +# +nodo::role: 'web' + +# +# Classes +# +classes: + - 'php' + +# +# MySQL +# +mysql::server::implementation: 'mariadb-server' +mysql::implementation: 'mariadb-client' + +# +# Backup +# +nodo::subsystem::backup::localhost : false +nodo::subsystem::backup::encryptkey : 'none' +nodo::subsystem::backup::password : 'hackme' + +# +# Websites +# +#websites::default_db : 'dbname' +#websites::default_db::password : 'hackme' + +# +# Apache +# +#apache::default_folder : '/srv/kvmx' +#apache::default_user : 'user' +#apache::default_group : 'user' + +# Manage your app +#apache::sites: +# myapp: +# docroot : "/vagrant/" +# server_alias : 'myapp vagrant localhost' +# use : [ "Site myapp" ] +# tag : 'all' +# owner : vagrant +# group : vagrant +# mpm_user : vagrant +# mpm_group : vagrant +# password : '$5$NZfZqcdyZ3Xt$.kfZejriEJP3fc6RU0gBGEzMPQ/c3XiowVImB6VDrtD' +# shell : '/bin/bash' +apache::sites: + semanticscuttle: + docroot : '/srv/shared/www' + server_alias : '10.0.2.2' + allow_override : 'All' + owner : 'user' + group : 'user' + error_log : true + custom_log : true + custom_log_format : 'custom' + custom_directives : > + <Directory /srv/shared> + Options Indexes Includes FollowSymLinks MultiViews + AllowOverride All + Require all granted + </Directory> |