Created
August 5, 2018 08:04
-
-
Save TheBrambleShark/e790c75246b800b9ca99efe7700c8175 to your computer and use it in GitHub Desktop.
reconfigure log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Windows PowerShell | |
| Copyright (C) 2016 Microsoft Corporation. All rights reserved. | |
| PS C:\Windows\system32> aerobase-ctl reconfigure | |
| Starting Chef Client, version 14.2.0 | |
| resolving cookbooks for run list: ["aerobase"] | |
| Synchronizing Cookbooks: | |
| - aerobase (1.2.0) | |
| - package (0.0.0) | |
| - enterprise (0.11.0) | |
| - java (1.45.0) | |
| - runit (4.0.4) | |
| - apt (5.0.1) | |
| - cassandra-dse (4.6.0) | |
| - windows (4.3.3) | |
| - homebrew (3.0.0) | |
| - packagecloud (0.3.0) | |
| - yum-epel (2.1.2) | |
| - compat_resource (12.16.3) | |
| - ulimit (0.4.0) | |
| - yum (4.1.0) | |
| - ark (2.2.1) | |
| - systemd (2.1.3) | |
| - chef_handler (3.0.2) | |
| - build-essential (7.0.3) | |
| - seven_zip (2.0.2) | |
| - mingw (1.2.4) | |
| Installing Cookbook Gems: | |
| Compiling Cookbooks... | |
| C:/Aerobase/Aerobase/embedded/cookbooks/cache/cookbooks/packagecloud/resources/repo.rb:10:in `class_from_file' : C:/Aero | |
| base/Aerobase/embedded/cookbooks/cache/cookbooks/packagecloud/resources/repo.rb:10: warning: constant ::Fixnum is deprec | |
| ated | |
| (StructuredWarnings::BuiltInWarning)Converging 105 resources | |
| Recipe: aerobase::users | |
| * directory[C:/Aerobase/Data] action create (up to date) | |
| * group[aerobase-group] action create | |
| - create group aerobase-group | |
| * windows_user[aerobase] action create[2018-08-05T00:38:25-07:00] WARN: The 'gid' (or 'group') property is not impleme | |
| nted on the Windows platform. Please use the `members` property of the 'group' resource to assign a user to a group. | |
| - create user aerobase | |
| Recipe: aerobase::default | |
| * directory[C:/Aerobase/Configuration] action create | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data] action create | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Aerobase/embedded/etc] action create | |
| - create new directory C:/Aerobase/Aerobase/embedded/etc | |
| - change dacl | |
| - change owner | |
| - change group | |
| Recipe: aerobase::postgresql | |
| * group[aerobase-group] action create (up to date) | |
| * windows_user[aerobase-sql] action create[2018-08-05T00:38:25-07:00] WARN: The 'gid' (or 'group') property is not imp | |
| lemented on the Windows platform. Please use the `members` property of the 'group' resource to assign a user to a group | |
| . | |
| - create user aerobase-sql | |
| * directory[C:/Aerobase/Data/postgresql] action create | |
| - create new directory C:/Aerobase/Data/postgresql[2018-08-05T00:38:25-07:00] WARN: Mode 755 includes bits for the g | |
| roup, but group is not specified | |
| [2018-08-05T00:38:25-07:00] WARN: Mode 755 includes bits for the group, but group is not specified | |
| [2018-08-05T00:38:25-07:00] WARN: Mode 755 includes bits for the group, but group is not specified | |
| - change dacl | |
| - change owner | |
| * directory[C:/Aerobase/Data/postgresql/data] action create | |
| - create new directory C:/Aerobase/Data/postgresql/data | |
| - change dacl | |
| - change owner | |
| * directory[C:/Aerobase/Logs/postgresql] action create | |
| - create new directory C:/Aerobase/Logs/postgresql | |
| - change dacl | |
| - change owner | |
| * link[C:/Aerobase/Data/postgresql/data] action create (skipped due to not_if) | |
| * file[C:/Aerobase/Data/postgresql/.profile] action create | |
| - create new file C:/Aerobase/Data/postgresql/.profile | |
| - update content in file C:/Aerobase/Data/postgresql/.profile from none to c43870 | |
| --- C:/Aerobase/Data/postgresql/.profile 2018-08-05 00:38:26.000949300 -0700 | |
| +++ C:/Aerobase/Data/postgresql/chef-.profile20180805-3216-7ah6wh.profile 2018-08-05 00:38:26.000949300 -0700 | |
| @@ -1 +1,2 @@ | |
| +PATH=C:/Aerobase/Aerobase/embedded/bin:C:/Aerobase/Aerobase/bin:$PATH | |
| - change dacl | |
| - change owner | |
| * execute[C:/Aerobase/Aerobase/embedded/bin/initdb -D C:/Aerobase/Data/postgresql/data -E UTF8] action run | |
| - execute sensitive resource | |
| * template[C:/Aerobase/Data/postgresql/data/postgresql.conf] action create | |
| - update content in file C:/Aerobase/Data/postgresql/data/postgresql.conf from 8ccc93 to c190fd | |
| --- C:/Aerobase/Data/postgresql/data/postgresql.conf 2018-08-05 00:38:30.173227200 -0700 | |
| +++ C:/Aerobase/Data/postgresql/data/chef-postgresql20180805-3216-oagw6y.conf 2018-08-05 00:38:42.470119400 -0 | |
| 700 | |
| @@ -1,3 +1,7 @@ | |
| +# This file is managed by aerobase-ctl. Manual changes will be | |
| +# erased! To change the contents below, edit /etc/aerobase/aerobase.rb | |
| +# and run `sudo aerobase-ctl reconfigure`. | |
| + | |
| # ----------------------------- | |
| # PostgreSQL configuration file | |
| # ----------------------------- | |
| @@ -56,14 +60,14 @@ | |
| # - Connection Settings - | |
| -#listen_addresses = 'localhost' # what IP address(es) to listen on; | |
| +listen_addresses = 'localhost' # what IP address(es) to listen on; | |
| # comma-separated list of addresses; | |
| # defaults to 'localhost'; use '*' for all | |
| # (change requires restart) | |
| -#port = 5432 # (change requires restart) | |
| -max_connections = 100 # (change requires restart) | |
| +port = 5432 # (change requires restart) | |
| +max_connections = 200 # (change requires restart) | |
| #superuser_reserved_connections = 3 # (change requires restart) | |
| -#unix_socket_directories = '' # comma-separated list of directories | |
| +unix_socket_directories = 'localhost' # comma-separated list of directories | |
| # (change requires restart) | |
| #unix_socket_group = '' # (change requires restart) | |
| #unix_socket_permissions = 0777 # begin with 0 to use octal notation | |
| @@ -110,7 +114,7 @@ | |
| # - Memory - | |
| -shared_buffers = 128MB # min 128kB | |
| +shared_buffers = 511MB # min 128kB | |
| # (change requires restart) | |
| #huge_pages = try # on, off, or try | |
| # (change requires restart) | |
| @@ -119,12 +123,13 @@ | |
| # (change requires restart) | |
| # Caution: it is not advisable to set max_prepared_transactions nonzero unless | |
| # you actively intend to use prepared transactions. | |
| -#work_mem = 4MB # min 64kB | |
| +work_mem = 8MB # min 64kB | |
| #maintenance_work_mem = 64MB # min 1MB | |
| #replacement_sort_tuples = 150000 # limits use of replacement selection sort | |
| #autovacuum_work_mem = -1 # min 1MB, or -1 to use maintenance_work_mem | |
| #max_stack_depth = 2MB # min 100kB | |
| -dynamic_shared_memory_type = windows # the default is the first option | |
| +dynamic_shared_memory_type = 'windows' | |
| + # the default is the first option | |
| # supported by the operating system: | |
| # posix | |
| # sysv | |
| @@ -157,11 +162,11 @@ | |
| #bgwriter_delay = 200ms # 10-10000ms between rounds | |
| #bgwriter_lru_maxpages = 100 # 0-1000 max buffers written/round | |
| #bgwriter_lru_multiplier = 2.0 # 0-10.0 multiplier on buffers scanned/round | |
| -#bgwriter_flush_after = 0 # measured in pages, 0 disables | |
| +#bgwriter_flush_after = 512kB # measured in pages, 0 disables | |
| # - Asynchronous Behavior - | |
| -#effective_io_concurrency = 0 # 1-1000; 0 disables prefetching | |
| +#effective_io_concurrency = 1 # 1-1000; 0 disables prefetching | |
| #max_worker_processes = 8 # (change requires restart) | |
| #max_parallel_workers_per_gather = 0 # taken from max_worker_processes | |
| #old_snapshot_threshold = -1 # 1min-60d; -1 disables; 0 is immediate | |
| @@ -203,12 +208,12 @@ | |
| # - Checkpoints - | |
| -#checkpoint_timeout = 5min # range 30s-1d | |
| -#max_wal_size = 1GB | |
| +checkpoint_timeout = 5min # range 30s-1d | |
| +max_wal_size = 1GB | |
| #min_wal_size = 80MB | |
| -#checkpoint_completion_target = 0.5 # checkpoint target duration, 0.0 - 1.0 | |
| -#checkpoint_flush_after = 0 # measured in pages, 0 disables | |
| -#checkpoint_warning = 30s # 0 disables | |
| +checkpoint_completion_target = 0.9 # checkpoint target duration, 0.0 - 1.0 | |
| +#checkpoint_flush_after = 256kB # measured in pages, 0 disables | |
| +checkpoint_warning = 30s # 0 disables | |
| # - Archiving - | |
| @@ -300,7 +305,7 @@ | |
| #parallel_tuple_cost = 0.1 # same scale as above | |
| #parallel_setup_cost = 1000.0 # same scale as above | |
| #min_parallel_relation_size = 8MB | |
| -#effective_cache_size = 4GB | |
| +effective_cache_size = 1023MB | |
| # - Genetic Query Optimizer - | |
| @@ -329,25 +334,25 @@ | |
| # - Where to Log - | |
| -#log_destination = 'stderr' # Valid values are combinations of | |
| +log_destination = 'stderr' # Valid values are combinations of | |
| # stderr, csvlog, syslog, and eventlog, | |
| # depending on platform. csvlog | |
| # requires logging_collector to be on. | |
| # This is used when logging to stderr: | |
| -#logging_collector = off # Enable capturing of stderr and csvlog | |
| +logging_collector = on # Enable capturing of stderr and csvlog | |
| # into log files. Required to be on for | |
| # csvlogs. | |
| # (change requires restart) | |
| # These are only used if logging_collector is on: | |
| -#log_directory = 'pg_log' # directory where log files are written, | |
| +log_directory = 'pg_log' # directory where log files are written, | |
| # can be absolute or relative to PGDATA | |
| -#log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log' # log file name pattern, | |
| +log_filename = 'postgresql-%a.log' # log file name pattern, | |
| # can include strftime() escapes | |
| #log_file_mode = 0600 # creation mode for log files, | |
| # begin with 0 to use octal notation | |
| -#log_truncate_on_rotation = off # If on, an existing log file with the | |
| +log_truncate_on_rotation = on # If on, an existing log file with the | |
| # same name as the new log file will be | |
| # truncated rather than appended to. | |
| # But such truncation only occurs on | |
| @@ -355,9 +360,9 @@ | |
| # or size-driven rotation. Default is | |
| # off, meaning append to existing files | |
| # in all cases. | |
| -#log_rotation_age = 1d # Automatic rotation of logfiles will | |
| +log_rotation_age = 1d # Automatic rotation of logfiles will | |
| # happen after that time. 0 disables. | |
| -#log_rotation_size = 10MB # Automatic rotation of logfiles will | |
| +log_rotation_size = 0 # Automatic rotation of logfiles will | |
| # happen after that much log output. | |
| # 0 disables. | |
| @@ -430,7 +435,7 @@ | |
| #log_duration = off | |
| #log_error_verbosity = default # terse, default, or verbose messages | |
| #log_hostname = off | |
| -#log_line_prefix = '' # special values: | |
| +log_line_prefix = '< %m > ' # special values: | |
| # %a = application name | |
| # %u = user name | |
| # %d = database name | |
| @@ -450,21 +455,21 @@ | |
| # %q = stop here in non-session | |
| # processes | |
| # %% = '%' | |
| - # e.g. '<%u%%%d> ' | |
| + # e.g. | |
| #log_lock_waits = off # log lock waits >= deadlock_timeout | |
| #log_statement = 'none' # none, ddl, mod, all | |
| #log_replication_commands = off | |
| #log_temp_files = -1 # log temporary files equal or larger | |
| # than the specified size in kilobytes; | |
| # -1 disables, 0 logs all temp files | |
| -log_timezone = 'US/Pacific' | |
| +log_timezone = 'Israel' | |
| # - Process Title - | |
| #cluster_name = '' # added to process titles if nonempty | |
| # (change requires restart) | |
| -#update_process_title = off | |
| +#update_process_title = on | |
| #------------------------------------------------------------------------------ | |
| @@ -553,7 +558,7 @@ | |
| datestyle = 'iso, mdy' | |
| #intervalstyle = 'postgres' | |
| -timezone = 'US/Pacific' | |
| +timezone = 'Israel' | |
| #timezone_abbreviations = 'Default' # Select the set of available time zone | |
| # abbreviations. Currently, there are | |
| # Default | |
| @@ -567,7 +572,7 @@ | |
| # These settings are initialized by initdb, but they can be changed. | |
| lc_messages = 'English_United States.1252' # locale for system error message | |
| - # strings | |
| + # strings | |
| lc_monetary = 'English_United States.1252' # locale for monetary formatting | |
| lc_numeric = 'English_United States.1252' # locale for number formatting | |
| lc_time = 'English_United States.1252' # locale for time formatting[2018-08-05T00:38:42 | |
| -07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| [2018-08-05T00:38:42-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| [2018-08-05T00:38:42-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| - change dacl | |
| * template[C:/Aerobase/Data/postgresql/data/pg_hba.conf] action create | |
| - update content in file C:/Aerobase/Data/postgresql/data/pg_hba.conf from 2fb60f to 10e963 | |
| --- C:/Aerobase/Data/postgresql/data/pg_hba.conf 2018-08-05 00:38:30.204231900 -0700 | |
| +++ C:/Aerobase/Data/postgresql/data/chef-pg_hba20180805-3216-k76tpg.conf 2018-08-05 00:38:43.032451700 -0700 | |
| @@ -1,91 +1,75 @@ | |
| +# This file is managed by aerobase-ctl. Manual changes will be | |
| +# erased! To change the contents below, edit /etc/aerobase/aerobase.rb | |
| +# and run `sudo aerobase-ctl reconfigure`. | |
| + | |
| # PostgreSQL Client Authentication Configuration File | |
| # =================================================== | |
| # | |
| -# Refer to the "Client Authentication" section in the PostgreSQL | |
| -# documentation for a complete description of this file. A short | |
| -# synopsis follows. | |
| +# Refer to the "Client Authentication" section in the | |
| +# PostgreSQL documentation for a complete description | |
| +# of this file. A short synopsis follows. | |
| # | |
| # This file controls: which hosts are allowed to connect, how clients | |
| # are authenticated, which PostgreSQL user names they can use, which | |
| # databases they can access. Records take one of these forms: | |
| # | |
| -# local DATABASE USER METHOD [OPTIONS] | |
| -# host DATABASE USER ADDRESS METHOD [OPTIONS] | |
| -# hostssl DATABASE USER ADDRESS METHOD [OPTIONS] | |
| -# hostnossl DATABASE USER ADDRESS METHOD [OPTIONS] | |
| +# local DATABASE USER METHOD [OPTION] | |
| +# host DATABASE USER CIDR-ADDRESS METHOD [OPTION] | |
| +# hostssl DATABASE USER CIDR-ADDRESS METHOD [OPTION] | |
| +# hostnossl DATABASE USER CIDR-ADDRESS METHOD [OPTION] | |
| # | |
| # (The uppercase items must be replaced by actual values.) | |
| # | |
| -# The first field is the connection type: "local" is a Unix-domain | |
| -# socket, "host" is either a plain or SSL-encrypted TCP/IP socket, | |
| -# "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a | |
| -# plain TCP/IP socket. | |
| +# The first field is the connection type: "local" is a Unix-domain socket, | |
| +# "host" is either a plain or SSL-encrypted TCP/IP socket, "hostssl" is an | |
| +# SSL-encrypted TCP/IP socket, and "hostnossl" is a plain TCP/IP socket. | |
| # | |
| -# DATABASE can be "all", "sameuser", "samerole", "replication", a | |
| -# database name, or a comma-separated list thereof. The "all" | |
| -# keyword does not match "replication". Access to replication | |
| -# must be enabled in a separate record (see example below). | |
| +# DATABASE can be "all", "sameuser", "samerole", a database name, or | |
| +# a comma-separated list thereof. | |
| # | |
| -# USER can be "all", a user name, a group name prefixed with "+", or a | |
| -# comma-separated list thereof. In both the DATABASE and USER fields | |
| -# you can also write a file name prefixed with "@" to include names | |
| -# from a separate file. | |
| +# USER can be "all", a user name, a group name prefixed with "+", or | |
| +# a comma-separated list thereof. In both the DATABASE and USER fields | |
| +# you can also write a file name prefixed with "@" to include names from | |
| +# a separate file. | |
| # | |
| -# ADDRESS specifies the set of hosts the record matches. It can be a | |
| -# host name, or it is made up of an IP address and a CIDR mask that is | |
| -# an integer (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that | |
| -# specifies the number of significant bits in the mask. A host name | |
| -# that starts with a dot (.) matches a suffix of the actual host name. | |
| -# Alternatively, you can write an IP address and netmask in separate | |
| -# columns to specify the set of hosts. Instead of a CIDR-address, you | |
| -# can write "samehost" to match any of the server's own IP addresses, | |
| -# or "samenet" to match any address in any subnet that the server is | |
| -# directly connected to. | |
| +# CIDR-ADDRESS specifies the set of hosts the record matches. | |
| +# It is made up of an IP address and a CIDR mask that is an integer | |
| +# (between 0 and 32 (IPv4) or 128 (IPv6) inclusive) that specifies | |
| +# the number of significant bits in the mask. Alternatively, you can write | |
| +# an IP address and netmask in separate columns to specify the set of hosts. | |
| # | |
| -# METHOD can be "trust", "reject", "md5", "password", "gss", "sspi", | |
| -# "ident", "peer", "pam", "ldap", "radius" or "cert". Note that | |
| -# "password" sends passwords in clear text; "md5" is preferred since | |
| -# it sends encrypted passwords. | |
| +# METHOD can be "trust", "reject", "md5", "crypt", "password", "gss", "sspi", | |
| +# "krb5", "ident", "pam" or "ldap". Note that "password" sends passwords | |
| +# in clear text; "md5" is preferred since it sends encrypted passwords. | |
| # | |
| -# OPTIONS are a set of options for the authentication in the format | |
| -# NAME=VALUE. The available options depend on the different | |
| -# authentication methods -- refer to the "Client Authentication" | |
| -# section in the documentation for a list of which options are | |
| -# available for which authentication methods. | |
| +# OPTION is the ident map or the name of the PAM service, depending on METHOD. | |
| # | |
| -# Database and user names containing spaces, commas, quotes and other | |
| -# special characters must be quoted. Quoting one of the keywords | |
| -# "all", "sameuser", "samerole" or "replication" makes the name lose | |
| -# its special character, and just match a database or username with | |
| -# that name. | |
| +# Database and user names containing spaces, commas, quotes and other special | |
| +# characters must be quoted. Quoting one of the keywords "all", "sameuser" or | |
| +# "samerole" makes the name lose its special character, and just match a | |
| +# database or username with that name. | |
| # | |
| # This file is read on server startup and when the postmaster receives | |
| # a SIGHUP signal. If you edit the file on a running system, you have | |
| -# to SIGHUP the postmaster for the changes to take effect. You can | |
| -# use "pg_ctl reload" to do that. | |
| +# to SIGHUP the postmaster for the changes to take effect. You can use | |
| +# "pg_ctl reload" to do that. | |
| # Put your actual configuration here | |
| # ---------------------------------- | |
| # | |
| # If you want to allow non-local connections, you need to add more | |
| -# "host" records. In that case you will also need to make PostgreSQL | |
| -# listen on a non-local interface via the listen_addresses | |
| -# configuration parameter, or via the -i or -h command line switches. | |
| +# "host" records. In that case you will also need to make PostgreSQL listen | |
| +# on a non-local interface via the listen_addresses configuration parameter, | |
| +# or via the -i or -h command line switches. | |
| +# | |
| -# CAUTION: Configuring the system for local "trust" authentication | |
| -# allows any local user to connect as any PostgreSQL user, including | |
| -# the database superuser. If you do not trust all your local users, | |
| -# use another authentication method. | |
| +# TYPE DATABASE USER CIDR-ADDRESS METHOD | |
| -# TYPE DATABASE USER ADDRESS METHOD | |
| +# "local" is for Unix domain socket connections only | |
| +host all all localhost trust | |
| +host all all 127.0.0.1/32 trust | |
| +host all all ::1/128 trust | |
| -# IPv4 local connections: | |
| -host all all 127.0.0.1/32 trust | |
| -# IPv6 local connections: | |
| -host all all ::1/128 trust | |
| -# Allow replication connections from localhost, by a user with the | |
| -# replication privilege. | |
| -#host replication aerobase-sql 127.0.0.1/32 trust | |
| -#host replication aerobase-sql ::1/128 trust | |
| +[2018-08-05T00:38:43-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| [2018-08-05T00:38:43-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| [2018-08-05T00:38:43-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| - change dacl | |
| * template[C:/Aerobase/Data/postgresql/data/pg_ident.conf] action create | |
| - update content in file C:/Aerobase/Data/postgresql/data/pg_ident.conf from 35dc38 to 338211 | |
| --- C:/Aerobase/Data/postgresql/data/pg_ident.conf 2018-08-05 00:38:30.204231900 -0700 | |
| +++ C:/Aerobase/Data/postgresql/data/chef-pg_ident20180805-3216-fcr5de.conf 2018-08-05 00:38:43.266697300 -0700 | |
| @@ -40,4 +40,7 @@ | |
| # ---------------------------------- | |
| # MAPNAME SYSTEM-USERNAME PG-USERNAME | |
| +unifiedpush aerobase aerobase_server | |
| +# Default to a 1-1 mapping between system usernames and Postgres usernames | |
| +unifiedpush /^(.*)$ \1[2018-08-05T00:38:43-07:00] WARN: Mode 644 includes bits for the group, but group is not sp | |
| ecified | |
| [2018-08-05T00:38:43-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| [2018-08-05T00:38:43-07:00] WARN: Mode 644 includes bits for the group, but group is not specified | |
| - change dacl | |
| * windows_service[Aerobase PostgreSQL] action stop (up to date) | |
| * windows_service[Aerobase PostgreSQL] action create | |
| - create service Aerobase PostgreSQL | |
| * windows_service[Aerobase PostgreSQL] action restartC:/Aerobase/Aerobase/embedded/lib/ruby/gems/2.5.0/gems/win32-serv | |
| ice-0.8.10/lib/win32/service.rb:1081:in `block in services' : C:/Aerobase/Aerobase/embedded/lib/ruby/gems/2.5.0/gems/win | |
| 32-service-0.8.10/lib/win32/service.rb:1081: warning: constant ::Fixnum is deprecated | |
| (StructuredWarnings::BuiltInWarning)C:/Aerobase/Aerobase/embedded/lib/ruby/gems/2.5.0/gems/win32-service-0.8.10/lib/win | |
| 32/service.rb:1088:in `rescue in block in services' : WARNING: Failed to retrieve description for the CDPUserSvc_31c72 s | |
| ervice. (StructuredWarnings::StandardWarning)C:/Aerobase/Aerobase/embedded/lib/ruby/gems/2.5.0/gems/win32-service-0.8.10 | |
| /lib/win32/service.rb:1101:in `rescue in block in services' : WARNING: Unable to get delayed auto start information for | |
| the CDPUserSvc_31c72 service (StructuredWarnings::StandardWarning)C:/Aerobase/Aerobase/embedded/lib/ruby/gems/2.5.0/gems | |
| /win32-service-0.8.10/lib/win32/service.rb:1159:in `rescue in block in services' : WARNING: Unable to retrieve failure a | |
| ctions for the CDPUserSvc_31c72 service (StructuredWarnings::StandardWarning) | |
| - restart service windows_service[Aerobase PostgreSQL] | |
| Recipe: <Dynamically Defined Resource> | |
| * service[cassandra] action nothing (skipped due to action :nothing) | |
| Recipe: aerobase::cassandra_disable | |
| * runit_service[cassandra] action disable | |
| * ruby_block[disable cassandra] action run (skipped due to only_if) | |
| (up to date) | |
| Recipe: aerobase::postgresql_initialize | |
| * ruby_block[wait for postgresql to start] action run | |
| - execute the ruby block wait for postgresql to start | |
| Recipe: aerobase::postgresql_user_and_db | |
| * execute[create user aerobase_server for database unifiedpush_server] action run | |
| - execute sensitive resource | |
| * execute[create unifiedpush_server database] action run | |
| - execute sensitive resource | |
| * execute[create user keycloak_server for database keycloak_server] action run | |
| - execute sensitive resource | |
| * execute[create keycloak_server database] action run | |
| - execute sensitive resource | |
| Recipe: aerobase::postgresql_schema | |
| * directory[C:/Aerobase/Aerobase/Temp] action create | |
| - create new directory C:/Aerobase/Aerobase/Temp | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Aerobase/Temp/db.properties] action create | |
| - create new file C:/Aerobase/Aerobase/Temp/db.properties | |
| - update content in file C:/Aerobase/Aerobase/Temp/db.properties from none to 39e6ea | |
| --- C:/Aerobase/Aerobase/Temp/db.properties 2018-08-05 00:39:00.079162800 -0700 | |
| +++ C:/Aerobase/Aerobase/Temp/chef-db20180805-3216-lmzkbr.properties 2018-08-05 00:39:00.063703500 -0700 | |
| @@ -1 +1,15 @@ | |
| +# Postgres connection string | |
| +jdbcUrl=jdbc:postgresql://localhost:5432/unifiedpush_server | |
| +username=aerobase_server | |
| +password=aerobase_server | |
| + | |
| +dataSource.dataSource=true | |
| +dataSource.prepStmtCacheSize=250 | |
| +dataSource.prepStmtCacheSqlLimit=2048 | |
| +dataSource.useServerPrepStmts=true | |
| + | |
| +# Maximum number of JDBC connections in the pool. Hibernate default: 100 | |
| +maximumPoolSize=10 | |
| +# Seconds a Connection can remain pooled but unused before being discarded. Zero means idle connections never expir | |
| e. Default: 300 | |
| +idleTimeout=300 | |
| - change dacl | |
| - change owner | |
| - change group | |
| * execute[initialize unifiedpush-server database] action run | |
| - execute init-unifiedpush-db.bat /C:/Aerobase/Aerobase/Temp > C:/Aerobase/Aerobase/Temp/initdb.log | |
| Recipe: aerobase::web-server | |
| * group[aerobase-group] action create (up to date) | |
| * windows_user[aerobase-www] action create[2018-08-05T00:39:31-07:00] WARN: The 'gid' (or 'group') property is not imp | |
| lemented on the Windows platform. Please use the `members` property of the 'group' resource to assign a user to a group | |
| . | |
| - create user aerobase-www | |
| * group[aerobase-group] action modify | |
| - modify group aerobase-group | |
| - add missing member(s): aerobase-www | |
| Recipe: aerobase::unifiedpush-server | |
| * execute[C:/Aerobase/Data/unifiedpush-server/bin/service.bat stop /name Aerobase] action run (skipped due to only_if) | |
| Recipe: aerobase::wildfly-server | |
| * directory[C:/Aerobase/Data/unifiedpush-server] action create | |
| - create new directory C:/Aerobase/Data/unifiedpush-server | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Logs/unifiedpush-server] action create | |
| - create new directory C:/Aerobase/Logs/unifiedpush-server | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/unifiedpush-server/documents] action create | |
| - create new directory C:/Aerobase/Data/unifiedpush-server/documents | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/unifiedpush-server/uploads] action create | |
| - create new directory C:/Aerobase/Data/unifiedpush-server/uploads | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/unifiedpush-server/etc] action create | |
| - create new directory C:/Aerobase/Data/unifiedpush-server/etc | |
| - change dacl | |
| - change owner | |
| - change group | |
| * ruby_block[copy_wildfly_sources] action run | |
| - execute the ruby block copy_wildfly_sources | |
| * ruby_block[copy_wildfly_service] action run | |
| - execute the ruby block copy_wildfly_service | |
| * link[C:/Aerobase/Logs/unifiedpush-server/logs] action create | |
| - create symlink at C:/Aerobase/Logs/unifiedpush-server/logs to C:/Aerobase/Data/unifiedpush-server/standalone/log | |
| Recipe: aerobase::unifiedpush-server-wildfly-conf | |
| * directory[C:/Aerobase/Data/unifiedpush-server/cli] action create | |
| - create new directory C:/Aerobase/Data/unifiedpush-server/cli | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-ds.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-ds.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-ds.cli from none to 494f | |
| 00 | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-ds.cli 2018-08-05 00:41:03.993451700 -0 | |
| 700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-unifiedpush-server-wildfly-ds20180805-3216-1b4deti.cli 2018-08- | |
| 05 00:41:03.993451700 -0700 | |
| @@ -1 +1,5 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +/system-property=aerogear.config.cassandra.contactpoints:add(value="LFD-Aerobase.luzfaltex.citadel") | |
| +/system-property=aerogear.config.cassandra.port:add(value=9042) | |
| +/system-property=aerogear.config.cassandra.consistencylevel:add(value=LOCAL_ONE) | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-http.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-http.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-http.cli from none to f4 | |
| 97a1 | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-http.cli 2018-08-05 00:41:04.087427400 -0 | |
| 700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-unifiedpush-server-wildfly-http20180805-3216-1d4045r.cli 2018-08- | |
| 05 00:41:04.087427400 -0700 | |
| @@ -1 +1,5 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=proxy-address-forwarding, valu | |
| e=true) | |
| +/subsystem=undertow/server=default-server/http-listener=default:write-attribute(name=max-post-size, value=102400000 | |
| ) | |
| +/socket-binding-group=standard-sockets/socket-binding=proxy-https/:add(port=443) | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-kc.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-kc.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-kc.cli from none to 7727 | |
| f7 | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-kc.cli 2018-08-05 00:41:04.149933400 -0 | |
| 700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-unifiedpush-server-wildfly-kc20180805-3216-1r4brde.cli 2018-08- | |
| 05 00:41:04.149933400 -0700 | |
| @@ -1 +1,3 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +/system-property=aerogear.config.oauth2.keycloak.url:add(value=http://LFD-Aerobase.luzfaltex.citadel/auth) | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-oauth2.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-oauth2.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-oauth2.cli from none to | |
| 5702ee | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-oauth2.cli 2018-08-05 00:41:04.211939200 -0 | |
| 700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-unifiedpush-server-wildfly-oauth220180805-3216-1nlg7l1.cli 2018-08- | |
| 05 00:41:04.211939200 -0700 | |
| @@ -1 +1,10 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +/system-property=aerogear.config.oauth2.enable:add(value=true) | |
| +/system-property=aerogear.config.oauth2.ups.realm.name:add(value=aerobase) | |
| +/system-property=aerogear.config.oauth2.ups.admin.client:add(value=admin-cli) | |
| +/system-property=aerogear.config.oauth2.admin.username:add(value=admin) | |
| +/system-property=aerogear.config.oauth2.admin.password:add(value=password) | |
| +/system-property=aerogear.config.oauth2.enforce.rooturl.domain:add(value=LFD-Aerobase.luzfaltex.citadel) | |
| +/system-property=aerogear.config.oauth2.enforce.rooturl.protocol:add(value=http) | |
| +/system-property=aerogear.config.oauth2.enforce.rooturl.seperator:add(value=.) | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-jgroup.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-jgroup.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-jgroup.cli from none to | |
| 908a76 | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/unifiedpush-server-wildfly-jgroup.cli 2018-08-05 00:41:04.305758800 -0 | |
| 700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-unifiedpush-server-wildfly-jgroup20180805-3216-rbl7xo.cli 2018-08- | |
| 05 00:41:04.305758800 -0700 | |
| @@ -1 +1,25 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +# Add the tcpping stack | |
| +/subsystem=jgroups/stack=tcpping:add | |
| +/subsystem=jgroups/stack=tcpping/transport=TCP:add(socket-binding=jgroups-tcp) | |
| +/subsystem=jgroups/stack=tcpping/protocol=TCPPING:add | |
| +# Set the properties for the TCPPING protocol | |
| +/subsystem=jgroups/stack=tcpping/protocol=TCPPING:write-attribute(name=properties,value={initial_hosts="LFD-Aerobas | |
| e.luzfaltex.citadel[7600],",port_range=10,timeout=3000,num_initial_members=2}) | |
| +/subsystem=jgroups/stack=tcpping/protocol=MERGE3:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=FD_SOCK:add(socket-binding=jgroups-tcp-fd) | |
| +/subsystem=jgroups/stack=tcpping/protocol=FD:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=VERIFY_SUSPECT:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=pbcast.NAKACK2:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=UNICAST3:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=pbcast.STABLE:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=pbcast.GMS:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=MFC:add | |
| +/subsystem=jgroups/stack=tcpping/protocol=FRAG2:add | |
| +# Set tcpping as the stack for the ee channel | |
| +/subsystem=jgroups/channel=ee:write-attribute(name=stack,value=tcpping) | |
| +# Add aerobase cache-container | |
| +/subsystem=infinispan/cache-container=aerobase:add(jndi-name="infinispan/Aerobase") | |
| +/subsystem=infinispan/cache-container=aerobase/transport=TRANSPORT:add(lock-timeout=60000) | |
| +/subsystem=infinispan/cache-container=aerobase/distributed-cache=otpCodes:add(mode="SYNC",owners="1") | |
| +/subsystem="jgroups"/channel="ee":write-attribute(name=stack,value=tcpping) | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/bin/standalone.conf.bat] action create | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/bin/standalone.conf.bat from c0f5f0 to af30d7 | |
| --- C:/Aerobase/Data/unifiedpush-server/bin/standalone.conf.bat 2018-08-05 00:39:34.820999700 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/bin/chef-standalone20180805-3216-tppwzc.conf.bat 2018-08-05 00:41:04.3994 | |
| 68600 -0700 | |
| @@ -46,7 +46,7 @@ | |
| rem # | |
| rem # JVM memory allocation pool parameters - modify as appropriate. | |
| -set "JAVA_OPTS=-Xms64M -Xmx512M -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m" | |
| +set "JAVA_OPTS=-Xms64M -Xmx1g -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m" | |
| rem # Prefer IPv4 | |
| set "JAVA_OPTS=%JAVA_OPTS% -Djava.net.preferIPv4Stack=true" | |
| @@ -74,6 +74,14 @@ | |
| rem # Uncomment this out to control garbage collection logging | |
| rem set "GC_LOG=true" | |
| + | |
| +# Load Application properties from a local file. | |
| +set "JAVA_OPTS=%JAVA_OPTS% -Daerobase.config.dir=C:/Aerobase/Data/unifiedpush-server/etc/" | |
| + | |
| +# Cluster configuration - Set private address to required subnet | |
| +set "JAVA_OPTS=%JAVA_OPTS% -Djboss.bind.address.private=192.168.101.128" | |
| + | |
| +LAUNCH_JBOSS_IN_BACKGROUND=1 | |
| :JAVA_OPTS_SET | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/bin/service.bat] action create | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/bin/service.bat from d1c12d to 4b13ad | |
| --- C:/Aerobase/Data/unifiedpush-server/bin/service.bat 2018-08-05 00:41:03.774501900 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/bin/chef-service20180805-3216-1f1ljph.bat 2018-08-05 00:41:04.540484900 -0 | |
| 700 | |
| @@ -99,7 +99,7 @@ | |
| set PRUNSRV= | |
| if "%PROCESSOR_ARCHITECTURE%"=="AMD64" ( | |
| echo Using the X86-64bit version of prunsrv | |
| - set PRUNSRV="%JBOSS_HOME%\bin\service\amd64\wildfly-service" | |
| + set PRUNSRV="%JBOSS_HOME%\bin\amd64\wildfly-service" | |
| ) else ( | |
| echo Using the X86-32bit version of prunsrv | |
| set PRUNSRV="%JBOSS_HOME%\bin\service\wildfly-service" | |
| @@ -112,10 +112,10 @@ | |
| echo( | |
| rem defaults | |
| -set SHORTNAME=Wildfly | |
| -set DISPLAYNAME=WildFly | |
| +set SHORTNAME=Aerobase | |
| +set DISPLAYNAME=Aerobase-Server | |
| rem NO quotes around the description here ! | |
| -set DESCRIPTION=WildFly Application Server | |
| +set DESCRIPTION=Aerobase Application Server | |
| set CONTROLLER=localhost:9990 | |
| set DC_HOST=master | |
| set IS_DOMAIN=false | |
| - change dacl | |
| - change owner | |
| - change group | |
| * execute[UPS datasource cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/unifi | |
| edpush-server-wildfly-ds.cli | |
| * execute[UPS http/s cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/unifi | |
| edpush-server-wildfly-http.cli | |
| * execute[UPS kc cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/unifi | |
| edpush-server-wildfly-kc.cli | |
| * execute[UPS oauth2 cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/unifi | |
| edpush-server-wildfly-oauth2.cli | |
| * execute[UPS jgroup cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/unifi | |
| edpush-server-wildfly-jgroup.cli | |
| * link[C:/Aerobase/Data/unifiedpush-server/standalone/deployments/unifiedpush-server.war] action create | |
| - create symlink at C:/Aerobase/Data/unifiedpush-server/standalone/deployments/unifiedpush-server.war to C:/Aerobase | |
| /Aerobase/embedded/apps/unifiedpush-server/unifiedpush-server.war | |
| Recipe: aerobase::keycloak-server-wildfly-conf | |
| * template[C:/Aerobase/Data/unifiedpush-server/standalone/configuration/keycloak-server-ups-realm.json] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/standalone/configuration/keycloak-server-ups-realm.json | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/standalone/configuration/keycloak-server-ups-realm.json | |
| from none to fa14b1 | |
| --- C:/Aerobase/Data/unifiedpush-server/standalone/configuration/keycloak-server-ups-realm.json 2018-08-05 00:42 | |
| :13.204193500 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/standalone/configuration/chef-keycloak-server-ups-realm20180805-3216-1ebhm02 | |
| .json 2018-08-05 00:42:13.204193500 -0700 | |
| @@ -1 +1,99 @@ | |
| +{ | |
| + "realm": "aerobase", | |
| + "enabled": true, | |
| + "accessTokenLifespan": 60, | |
| + "accessCodeLifespan": 60, | |
| + "accessCodeLifespanUserAction": 300, | |
| + "ssoSessionIdleTimeout": 600, | |
| + "ssoSessionMaxLifespan": 36000, | |
| + "sslRequired": "external", | |
| + "registrationAllowed": false, | |
| + "social": false, | |
| + "adminTheme": "aerobase", | |
| + "accountTheme": "aerobase", | |
| + "loginTheme": "aerobase", | |
| + "emailTheme": "aerobase", | |
| + "updateProfileOnInitialSocialLogin": false, | |
| + "requiredCredentials": [ "password" ], | |
| + "defaultRoles": [ "installation" ], | |
| + "users" : [ | |
| + { | |
| + "username" : "admin", | |
| + "enabled": true, | |
| + "credentials" : [ | |
| + { "type" : "password", | |
| + "value" : "123" } | |
| + ], | |
| + "requiredActions": [ | |
| + "UPDATE_PASSWORD" | |
| + ], | |
| + "realmRoles": [ "admin" ], | |
| + "applicationRoles": { | |
| + "realm-management": [ "realm-admin" ], | |
| + "account": [ "manage-account" ] | |
| + } | |
| + } | |
| + ], | |
| + "roles" : { | |
| + "realm" : [ | |
| + { | |
| + "name": "admin", | |
| + "description": "Administrator privileges" | |
| + }, | |
| + { | |
| + "name": "developer", | |
| + "description": "Developer privileges" | |
| + }, | |
| + { | |
| + "name": "installation", | |
| + "description": "Device installation privileges" | |
| + } | |
| + ] | |
| + }, | |
| + "scopeMappings":[ | |
| + { | |
| + "client": "aerobase-app", | |
| + "roles": ["admin", "developer"] | |
| + } | |
| + ], | |
| + "clients": [ | |
| + { | |
| + "clientId": "aerobase", | |
| + "enabled": true, | |
| + "bearerOnly": true | |
| + }, | |
| + { | |
| + "clientId": "aerobase-app", | |
| + "enabled": true, | |
| + "publicClient": true, | |
| + "baseUrl": "/unifiedpush-server/", | |
| + "redirectUris": [ | |
| + "/unifiedpush-server/*" | |
| + ] | |
| + }, | |
| + { | |
| + "clientId": "aerobase-gsg", | |
| + "enabled": true, | |
| + "publicClient": true, | |
| + "baseUrl": "/getting-started/", | |
| + "redirectUris": [ | |
| + "/getting-started/*" | |
| + ] | |
| + } | |
| + | |
| + ], | |
| + "smtpServer": { | |
| + "password": "", | |
| + "replyToDisplayName": "Aerobase Cloud", | |
| + "starttls": "true", | |
| + "auth": "true", | |
| + "port": "587", | |
| + "host": "smtp.gmail.com", | |
| + "replyTo": "support@aerobase.io", | |
| + "from": "support@aerobase.io", | |
| + "fromDisplayName": "Aerobase Cloud", | |
| + "ssl": "", | |
| + "user": "" | |
| + } | |
| +} | |
| - change dacl | |
| - change owner | |
| - change group | |
| Recipe: aerobase::postgresql-module-wildfly-conf | |
| * directory[C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main] action create | |
| - create new directory C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/module.xml] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/module.xml | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/module.xml from none to 62d | |
| 554 | |
| --- C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/module.xml 2018-08-05 00:42:13.532236100 -0 | |
| 700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/chef-module20180805-3216-1l4kc4u.xml 2018-08- | |
| 05 00:42:13.532236100 -0700 | |
| @@ -1 +1,27 @@ | |
| +<?xml version="1.0" encoding="UTF-8"?> | |
| +<!-- | |
| + JBoss, Home of Professional Open Source | |
| + Copyright Red Hat, Inc., and individual contributors | |
| + | |
| + Licensed under the Apache License, Version 2.0 (the "License"); | |
| + you may not use this file except in compliance with the License. | |
| + You may obtain a copy of the License at | |
| + | |
| + http://www.apache.org/licenses/LICENSE-2.0 | |
| + | |
| + Unless required by applicable law or agreed to in writing, software | |
| + distributed under the License is distributed on an "AS IS" BASIS, | |
| + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| + See the License for the specific language governing permissions and | |
| + limitations under the License. | |
| +--> | |
| +<module xmlns="urn:jboss:module:1.0" name="org.postgresql"> | |
| + <resources> | |
| + <resource-root path="postgresql-42.1.4.jar"/> | |
| + </resources> | |
| + <dependencies> | |
| + <module name="javax.api"/> | |
| + <module name="javax.transaction.api"/> | |
| + </dependencies> | |
| +</module> | |
| - change dacl | |
| - change owner | |
| - change group | |
| * remote_file[Copy postgres driver file] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/postgresql-42.1.4.jar | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/modules/org/postgresql/main/postgresql-42.1.4.jar from | |
| none to 4523ed | |
| (new content is binary, diff output suppressed) | |
| - change dacl | |
| - change owner | |
| - change group | |
| Recipe: aerobase::keycloak-embeded-wildfly-conf | |
| * ruby_block[copy_wildfly_sources] action run | |
| - execute the ruby block copy_wildfly_sources | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-wildfly.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-wildfly.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-wildfly.cli from none to 159900 | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-wildfly.cli 2018-08-05 00:43:00.578998700 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-keycloak-server-wildfly20180805-3216-hczw5m.cli 2018-08-05 00:43 | |
| :00.578998700 -0700 | |
| @@ -1 +1,27 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +/subsystem=datasources/data-source=KeycloakDS/:add(connection-url="jdbc:postgresql://localhost:5432/keycloak_server | |
| ",jta=false,driver-name=postgresql,jndi-name=java:jboss/datasources/KeycloakDS,password=keycloak_server,user-name=keyclo | |
| ak_server,use-java-context=true,min-pool-size=5,max-pool-size=15,validate-on-match=false,background-validation=false,bac | |
| kground-validation-millis=1) | |
| +/subsystem=datasources/jdbc-driver=postgresql:add(driver-name=postgresql,driver-module-name=org.postgresql,driver-x | |
| a-datasource-class-name=org.postgresql.xa.PGXADataSource) | |
| +/subsystem=infinispan/cache-container=keycloak:add(jndi-name="infinispan/Keycloak") | |
| +/subsystem=infinispan/cache-container=keycloak/transport=TRANSPORT:add(lock-timeout=60000) | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=realms:add() | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=realms/eviction=EVICTION:add(max-entries=10000,strategy= | |
| LRU) | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=users:add() | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=users/eviction=EVICTION:add(max-entries=10000,strategy=L | |
| RU) | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=sessions:add(mode="SYNC",owners="1") | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=authenticationSessions:add(mode="SYNC",owners="1") | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineSessions:add(mode="SYNC",owners="1") | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=clientSessions:add(mode="SYNC",owners="1") | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=offlineClientSessions:add(mode="SYNC",owners="1") | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=loginFailures:add(mode="SYNC",owners="1") | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=authorization:add() | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=authorization/eviction=EVICTION:add(max-entries=10000,st | |
| rategy=LRU) | |
| +/subsystem=infinispan/cache-container=keycloak/replicated-cache=work:add(mode="SYNC") | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=keys:add() | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=keys/eviction=EVICTION:add(max-entries=1000,strategy=LRU | |
| ) | |
| +/subsystem=infinispan/cache-container=keycloak/local-cache=keys/expiration=EXPIRATION:add(max-idle=3600000) | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens:add(indexing="NONE",mode="SYNC",owner | |
| s="1") | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/eviction=EVICTION:add(max-entries=-1, | |
| strategy=NONE) | |
| +/subsystem=infinispan/cache-container=keycloak/distributed-cache=actionTokens/expiration=EXPIRATION:add(max-idle=-1 | |
| ,interval=300000) | |
| +/extension=org.keycloak.keycloak-server-subsystem/:add(module=org.keycloak.keycloak-server-subsystem) | |
| +run-batch --file=C:/Aerobase/Data/unifiedpush-server/cli/default-keycloak-subsys-config.cli | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-ups-realms.cli] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-ups-realms.cli | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-ups-realms.cli from none to ffac8a | |
| --- C:/Aerobase/Data/unifiedpush-server/cli/keycloak-server-ups-realms.cli 2018-08-05 00:43:00.704123100 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/cli/chef-keycloak-server-ups-realms20180805-3216-hj9bq3.cli 2018-08-05 00:43 | |
| :00.688706200 -0700 | |
| @@ -1 +1,3 @@ | |
| +embed-server --server-config=standalone-full-ha.xml | |
| +/system-property=keycloak.import:add(value="C:/Aerobase/Data/unifiedpush-server/standalone/configuration/keycloak-s | |
| erver-ups-realm.json") | |
| - change dacl | |
| - change owner | |
| - change group | |
| * execute[KC datasource and config cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/keycl | |
| oak-server-wildfly.cli | |
| * execute[KC datasource and config cli script] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/jboss-cli.bat --file=C:/Aerobase/Data/unifiedpush-server/cli/keycl | |
| oak-server-ups-realms.cli | |
| Recipe: aerobase::unifiedpush-server | |
| * template[C:/Aerobase/Data/unifiedpush-server/etc/environment.properties] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/etc/environment.properties | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/etc/environment.properties from none to 62d345 | |
| --- C:/Aerobase/Data/unifiedpush-server/etc/environment.properties 2018-08-05 00:43:29.766405100 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/etc/chef-environment20180805-3216-1yr91ra.properties 2018-08-05 00:43 | |
| :29.766405100 -0700 | |
| @@ -1 +1,6 @@ | |
| +# Portal mode status flag. | |
| +aerobase.config.portal.mode=false | |
| + | |
| +# Database API flags | |
| +aerobase.config.database.documents_json_limit=4 | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/unifiedpush-server/etc/db.properties] action create | |
| - create new file C:/Aerobase/Data/unifiedpush-server/etc/db.properties | |
| - update content in file C:/Aerobase/Data/unifiedpush-server/etc/db.properties from none to 39e6ea | |
| --- C:/Aerobase/Data/unifiedpush-server/etc/db.properties 2018-08-05 00:43:29.860450300 -0700 | |
| +++ C:/Aerobase/Data/unifiedpush-server/etc/chef-db20180805-3216-15pptev.properties 2018-08-05 00:43:29.860450300 -0 | |
| 700 | |
| @@ -1 +1,15 @@ | |
| +# Postgres connection string | |
| +jdbcUrl=jdbc:postgresql://localhost:5432/unifiedpush_server | |
| +username=aerobase_server | |
| +password=aerobase_server | |
| + | |
| +dataSource.dataSource=true | |
| +dataSource.prepStmtCacheSize=250 | |
| +dataSource.prepStmtCacheSqlLimit=2048 | |
| +dataSource.useServerPrepStmts=true | |
| + | |
| +# Maximum number of JDBC connections in the pool. Hibernate default: 100 | |
| +maximumPoolSize=10 | |
| +# Seconds a Connection can remain pooled but unused before being discarded. Zero means idle connections never expir | |
| e. Default: 300 | |
| +idleTimeout=300 | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/unifiedpush-server/themes] action create | |
| - change dacl | |
| - change owner | |
| - change group | |
| * ruby_block[copy_wildfly_sources] action run | |
| - execute the ruby block copy_wildfly_sources | |
| * directory[C:/Aerobase/Data/unifiedpush-server] action create (up to date) | |
| * directory[C:/Aerobase/Data/unifiedpush-server] action create | |
| - change dacl | |
| * execute[C:/Aerobase/Data/unifiedpush-server/bin/service.bat install /startup /config standalone-full-ha.xml] action | |
| run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/service.bat install /startup /config standalone-full-ha.xml | |
| * execute[C:/Aerobase/Data/unifiedpush-server/bin/service.bat restart /name Aerobase] action run | |
| - execute C:/Aerobase/Data/unifiedpush-server/bin/service.bat restart /name Aerobase | |
| Recipe: aerobase::nginx | |
| * directory[C:/Aerobase/Data/nginx] action create | |
| - create new directory C:/Aerobase/Data/nginx | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/nginx/conf] action create | |
| - create new directory C:/Aerobase/Data/nginx/conf | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/nginx/conf.d] action create | |
| - create new directory C:/Aerobase/Data/nginx/conf.d | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/nginx/www/html] action create | |
| - create new directory C:/Aerobase/Data/nginx/www/html | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/nginx/www/html/unifiedpush-server] action create | |
| - create new directory C:/Aerobase/Data/nginx/www/html/unifiedpush-server | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Data/nginx/www/html/getting-started] action create | |
| - create new directory C:/Aerobase/Data/nginx/www/html/getting-started | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Logs/nginx] action create | |
| - create new directory C:/Aerobase/Logs/nginx | |
| - change dacl | |
| - change owner | |
| - change group | |
| * directory[C:/Aerobase/Configuration/ssl] action create | |
| - create new directory C:/Aerobase/Configuration/ssl | |
| - change dacl | |
| - change owner | |
| - change group | |
| * link[C:/Aerobase/Data/nginx/logs] action create | |
| - create symlink at C:/Aerobase/Data/nginx/logs to C:/Aerobase/Logs/nginx | |
| * link[C:/Aerobase/Logs/nginx/logs] action create (skipped due to only_if) | |
| * template[C:/Aerobase/Data/nginx/conf/aerobase-http.conf] action create | |
| - create new file C:/Aerobase/Data/nginx/conf/aerobase-http.conf | |
| - update content in file C:/Aerobase/Data/nginx/conf/aerobase-http.conf from none to a7a567 | |
| --- C:/Aerobase/Data/nginx/conf/aerobase-http.conf 2018-08-05 00:43:41.808974900 -0700 | |
| +++ C:/Aerobase/Data/nginx/conf/chef-aerobase-http20180805-3216-c59zva.conf 2018-08-05 00:43:41.808974900 -0700 | |
| @@ -1 +1,32 @@ | |
| +# This file is managed by unifiedpush-ctl. Manual changes will be | |
| +# erased! To change the contents below, edit /etc/unifiedpush/unifiedpush.rb | |
| +# and run `sudo unifiedpush-ctl reconfigure`. | |
| + | |
| +## Unifiedpush | |
| +## | |
| +## Lines starting with two hashes (##) are comments with information. | |
| +## Lines starting with one hash (#) are configuration parameters that can be uncommented. | |
| +################################### | |
| +## configuration ## | |
| +################################### | |
| + | |
| + | |
| +server { | |
| + listen *:80; | |
| + server_name LFD-AEROBASE; | |
| + server_tokens off; ## Don't show the nginx version number, a security best practice | |
| + | |
| + ## Increase this if you want to upload large attachments | |
| + ## Or if you want to accept large git objects over http | |
| + client_max_body_size 250m; | |
| + | |
| + | |
| + ## Individual nginx logs for this unifiedpush vhost | |
| + access_log C:/Aerobase/Logs/nginx/unifiedpush_access.log; | |
| + error_log C:/Aerobase/Logs/nginx/unifiedpush_error.log; | |
| + | |
| + | |
| + | |
| + include aerobase-locations.import; | |
| +} | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/nginx/conf/aerobase-locations.import] action create | |
| - create new file C:/Aerobase/Data/nginx/conf/aerobase-locations.import | |
| - update content in file C:/Aerobase/Data/nginx/conf/aerobase-locations.import from none to df0266 | |
| --- C:/Aerobase/Data/nginx/conf/aerobase-locations.import 2018-08-05 00:43:43.793718200 -0700 | |
| +++ C:/Aerobase/Data/nginx/conf/chef-aerobase-locations20180805-3216-12rqz10.import 2018-08-05 00:43:43.793718200 -0 | |
| 700 | |
| @@ -1 +1,36 @@ | |
| + # Protect access to aerobase apps outside of iframe context | |
| + | |
| + location / { | |
| + ## Serve static files from defined root folder. | |
| + root C:/Aerobase/Data/nginx/www/html; | |
| + try_files $uri $uri/index.html $uri.html @unifiedpush; | |
| + } | |
| + | |
| + ## If a file, which is not found in the root folder is requested, | |
| + ## then the proxy passes the request to the upsteam (aerobase server). | |
| + location @unifiedpush { | |
| + ## If you use HTTPS make sure you disable gzip compression | |
| + ## to be safe against BREACH attack. | |
| + | |
| + | |
| + ## Some requests take more than 30 seconds. | |
| + proxy_read_timeout 300; | |
| + proxy_connect_timeout 300; | |
| + proxy_redirect off; | |
| + | |
| + proxy_set_header Host $http_host; | |
| + proxy_set_header X-Real-IP $remote_addr; | |
| + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | |
| + proxy_set_header X-Forwarded-Proto $scheme; | |
| + proxy_set_header X-Frame-Options SAMEORIGIN; | |
| + | |
| + proxy_pass http://127.0.0.1:8080; | |
| + expires 0; | |
| + } | |
| + | |
| + error_page 404 /404.html; | |
| + error_page 500 502 503 504 /50x.html; | |
| + location = /50x.html { | |
| + root C:/Aerobase/Data/nginx/www/html; | |
| + } | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/nginx/conf/aerobase-sub-module.import] action create (skipped due to only_if) | |
| * template[C:/Aerobase/Data/nginx/conf/aerobase-subdomains.conf] action create | |
| - create new file C:/Aerobase/Data/nginx/conf/aerobase-subdomains.conf | |
| - update content in file C:/Aerobase/Data/nginx/conf/aerobase-subdomains.conf from none to 8a19f4 | |
| --- C:/Aerobase/Data/nginx/conf/aerobase-subdomains.conf 2018-08-05 00:43:44.903042000 -0700 | |
| +++ C:/Aerobase/Data/nginx/conf/chef-aerobase-subdomains20180805-3216-eaz21h.conf 2018-08-05 00:43:44.903042000 -0 | |
| 700 | |
| @@ -1 +1,16 @@ | |
| +server { | |
| + listen *:80; | |
| + | |
| + server_name *.LFD-AEROBASE; | |
| + server_tokens off; ## Don't show the nginx version number, a security best practice | |
| + resolver 8.8.8.8; | |
| + | |
| + ## Increase this if you want to upload large attachments | |
| + ## Or if you want to accept large git objects over http | |
| + client_max_body_size 250m; | |
| + | |
| + | |
| + include aerobase-locations.import; | |
| +} | |
| + | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/nginx/conf/nginx.conf] action create | |
| - create new file C:/Aerobase/Data/nginx/conf/nginx.conf | |
| - update content in file C:/Aerobase/Data/nginx/conf/nginx.conf from none to e9f8fa | |
| --- C:/Aerobase/Data/nginx/conf/nginx.conf 2018-08-05 00:43:45.012066000 -0700 | |
| +++ C:/Aerobase/Data/nginx/conf/chef-nginx20180805-3216-1luifcx.conf 2018-08-05 00:43:45.012066000 -0700 | |
| @@ -1 +1,45 @@ | |
| +# This file is managed by unifiedpush-ctl. Manual changes will be | |
| +# erased! To change the contents below, edit /etc/unifiedpush/unifiedpush.rb | |
| +# and run `sudo unifiedpush-ctl reconfigure`. | |
| + | |
| +worker_processes 1; | |
| +error_log stderr; | |
| +pid nginx.pid; | |
| + | |
| +daemon off; | |
| + | |
| +events { | |
| + worker_connections 10240; | |
| +} | |
| + | |
| +http { | |
| + sendfile off; | |
| + tcp_nopush on; | |
| + tcp_nodelay on; | |
| + | |
| + keepalive_timeout 65; | |
| + | |
| + gzip on; | |
| + gzip_http_version 1.0; | |
| + gzip_comp_level 2; | |
| + gzip_proxied any; | |
| + gzip_types text/plain text/css application/x-javascript text/xml application/xml application/xml+rss text/javascr | |
| ipt application/json; | |
| + | |
| + ## proxy to any other HTTP server can buffer upto 512K (32*16) of data | |
| + ## proxy_buffer_size - Used only for HEAD data | |
| + proxy_buffer_size 8k; | |
| + proxy_buffers 32 16k; | |
| + proxy_busy_buffers_size 32k; | |
| + | |
| + # Controls the maximum length of a virtual host entry (ie the length of the domain name). | |
| + server_names_hash_bucket_size 64; | |
| + | |
| + include C:/Aerobase/Aerobase/embedded/conf/mime.types; | |
| + | |
| + include C:/Aerobase/Data/nginx/conf/aerobase-http.conf; | |
| + include C:/Aerobase/Data/nginx/conf/aerobase-subdomains.conf; | |
| + include C:/Aerobase/Data/nginx/conf.d/*.conf; | |
| + | |
| + | |
| +} | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/nginx/www/html/aerobase.js] action create | |
| - create new file C:/Aerobase/Data/nginx/www/html/aerobase.js | |
| - update content in file C:/Aerobase/Data/nginx/www/html/aerobase.js from none to 0be033 | |
| --- C:/Aerobase/Data/nginx/www/html/aerobase.js 2018-08-05 00:43:45.434257600 -0700 | |
| +++ C:/Aerobase/Data/nginx/www/html/chef-aerobase20180805-3216-xj7ujy.js 2018-08-05 00:43:45.434257600 -0700 | |
| @@ -1 +1,7 @@ | |
| +'use strict'; | |
| + | |
| +// When running in portal mode (iframe) redirect to home page if page is not wrapped in iframe | |
| +if (window.self == window.top){ | |
| + window.location.href = window.location.protocol + "//" + window.location.hostname + "/portal/start"; | |
| +} | |
| - change dacl | |
| - change owner | |
| - change group | |
| * ruby_block[copy_ups_html_sources] action run | |
| - execute the ruby block copy_ups_html_sources | |
| * ruby_block[copy_gsg_html_sources] action run | |
| - execute the ruby block copy_gsg_html_sources | |
| * directory[C:/Aerobase/Data/nginx/www/html/unifiedpush-server] action create | |
| - change dacl | |
| Recipe: aerobase::nginx-win-service | |
| * directory[C:/Aerobase/Data/nginx] action create | |
| - change dacl | |
| * directory[C:/Aerobase/Data/nginx/temp] action create | |
| - create new directory C:/Aerobase/Data/nginx/temp | |
| - change dacl | |
| - change owner | |
| - change group | |
| * ruby_block[copy_nginx_index_html] action run | |
| - execute the ruby block copy_nginx_index_html | |
| * execute[stop nginx service] action run (skipped due to not_if) | |
| * ruby_block[copy_nginx_winsw] action run | |
| - execute the ruby block copy_nginx_winsw | |
| * template[C:/Aerobase/Data/nginx/aerobasesw.xml] action create | |
| - create new file C:/Aerobase/Data/nginx/aerobasesw.xml | |
| - update content in file C:/Aerobase/Data/nginx/aerobasesw.xml from none to 616cea | |
| --- C:/Aerobase/Data/nginx/aerobasesw.xml 2018-08-05 00:44:26.028169400 -0700 | |
| +++ C:/Aerobase/Data/nginx/chef-aerobasesw20180805-3216-w44x47.xml 2018-08-05 00:44:26.028169400 -0700 | |
| @@ -1 +1,14 @@ | |
| +<configuration> | |
| + | |
| + <!-- ID of the service. It should be unique accross the Windows system--> | |
| + <id>Aerobase-Web-Server</id> | |
| + <!-- Display name of the service --> | |
| + <name>Aerobase Web-Server (powered by NGINX)</name> | |
| + <!-- Service description --> | |
| + <description>Aerobase Web-Server (powered by NGINX)</description> | |
| + | |
| + <!-- Path to the executable, which should be started --> | |
| + <executable>C:/Aerobase/Data/nginx\nginx.exe</executable> | |
| + | |
| +</configuration> | |
| - change dacl | |
| - change owner | |
| - change group | |
| * ruby_block[copy_nginx_exe] action run | |
| - execute the ruby block copy_nginx_exe | |
| * execute[create nginx service] action run | |
| - execute C:/Aerobase/Data/nginx/aerobasesw.exe install | |
| * execute[restart nginx service] action run | |
| - execute C:/Aerobase/Data/nginx/aerobasesw.exe restart | |
| Recipe: aerobase::backup | |
| * directory[C:/Aerobase/Data/backups] action create | |
| - create new directory C:/Aerobase/Data/backups | |
| - change dacl | |
| - change owner | |
| - change group | |
| * template[C:/Aerobase/Data/postgresql-backup.conf] action create | |
| - create new file C:/Aerobase/Data/postgresql-backup.conf | |
| - update content in file C:/Aerobase/Data/postgresql-backup.conf from none to 2de34e | |
| --- C:/Aerobase/Data/postgresql-backup.conf 2018-08-05 00:44:56.708656200 -0700 | |
| +++ C:/Aerobase/Data/chef-postgresql-backup20180805-3216-4algyp.conf 2018-08-05 00:44:56.708656200 -0700 | |
| @@ -1 +1,46 @@ | |
| +############################## | |
| +## POSTGRESQL BACKUP CONFIG ## | |
| +############################## | |
| + | |
| +# Optional system user to run backups as. If the user the script is running as doesn't match this | |
| +# the script terminates. Leave blank to skip check. | |
| +BACKUP_USER=aerobase-sql | |
| + | |
| +# Optional hostname to adhere to pg_hba policies. Will default to "localhost" if none specified. | |
| +HOSTNAME=localhost | |
| + | |
| +# Optional hostname to adhere to pg_hba policies. Will default to "localhost" if none specified. | |
| +PORTNUM=5432 | |
| + | |
| +# Optional username to connect to database as. Will default to "postgres" if none specified. | |
| +USERNAME=aerobase_server | |
| + | |
| +# This dir will be created if it doesn't exist. This must be writable by the user the script is | |
| +# running as. | |
| +BACKUP_DIR=C:/Aerobase/Data/backups/databases/ | |
| + | |
| +# List of strings to match against in database name, separated by space or comma, for which we only | |
| +# wish to keep a backup of the schema, not the data. Any database names which contain any of these | |
| +# values will be considered candidates. (e.g. "system_log" will match "dev_system_log_2010-01") | |
| +SCHEMA_ONLY_LIST="postgres" | |
| + | |
| +# Will produce a custom-format backup if set to "yes" | |
| +ENABLE_CUSTOM_BACKUPS=yes | |
| + | |
| +# Will produce a gzipped plain-format backup if set to "yes" | |
| +ENABLE_PLAIN_BACKUPS=no | |
| + | |
| + | |
| +#### SETTINGS FOR ROTATED BACKUPS #### | |
| + | |
| +# Which day to take the weekly backup from (1-7 = Monday-Sunday) | |
| +DAY_OF_WEEK_TO_KEEP=7 | |
| + | |
| +# Number of days to keep daily backups | |
| +DAYS_TO_KEEP=7 | |
| + | |
| +# How many weeks to keep weekly backups | |
| +WEEKS_TO_KEEP=2 | |
| + | |
| +######################################[2018-08-05T00:44:56-07:00] WARN: Mode 664 includes bits for the group, but g | |
| roup is not specified | |
| [2018-08-05T00:44:56-07:00] WARN: Mode 664 includes bits for the group, but group is not specified | |
| [2018-08-05T00:44:56-07:00] WARN: Mode 664 includes bits for the group, but group is not specified | |
| - change dacl | |
| - change owner | |
| * cron[postgresql-nightly-backup] action createchecking for crontab... no | |
| (skipped due to only_if) | |
| Recipe: aerobase::bootstrap | |
| * file[C:/Aerobase/Data/bootstrapped] action create | |
| - create new file C:/Aerobase/Data/bootstrapped | |
| - update content in file C:/Aerobase/Data/bootstrapped from none to 9eaa72 | |
| --- C:/Aerobase/Data/bootstrapped 2018-08-05 00:44:56.896180500 -0700 | |
| +++ C:/Aerobase/Data/chef-bootstrapped20180805-3216-vh5tpe 2018-08-05 00:44:56.833685800 -0700 | |
| @@ -1 +1,2 @@ | |
| +All your bootstraps are belong to Aerobase | |
| - change dacl | |
| - change owner | |
| - change group | |
| Running handlers: | |
| Running handlers complete | |
| Chef Client finished, 92/106 resources updated in 07 minutes 31 seconds | |
| Aerobase Reconfigured! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment