You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2018/08/02 17:53:50 UTC
[trafficcontrol] branch master updated: adds missing license headers
This is an automated email from the ASF dual-hosted git repository.
dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git
The following commit(s) were added to refs/heads/master by this push:
new 93f8546 adds missing license headers
93f8546 is described below
commit 93f85466c2b22320de189b2c9a6dba508f9f545d
Author: Dan Kirkwood <da...@apache.org>
AuthorDate: Thu Aug 2 11:46:30 2018 -0600
adds missing license headers
---
.../traffic_ops/initdb.d/01-turn-on-logging.sh | 17 +++++++++++++++++
.../traffic_ops/initdb.d/10-create-roles.sh | 18 ++++++++++++++++++
.../cdn-in-a-box/traffic_ops/initdb.d/90-load-dumps.sh | 18 ++++++++++++++++++
3 files changed, 53 insertions(+)
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/01-turn-on-logging.sh b/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/01-turn-on-logging.sh
index 2f890e4..95079bb 100755
--- a/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/01-turn-on-logging.sh
+++ b/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/01-turn-on-logging.sh
@@ -1,4 +1,21 @@
#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
cd "$PGDATA"
mkdir -p pg_log
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/10-create-roles.sh b/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/10-create-roles.sh
index dd68b75..348a08b 100755
--- a/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/10-create-roles.sh
+++ b/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/10-create-roles.sh
@@ -1,4 +1,22 @@
#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
set -e
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/90-load-dumps.sh b/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/90-load-dumps.sh
index c931693..dda281a 100755
--- a/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/90-load-dumps.sh
+++ b/infrastructure/cdn-in-a-box/traffic_ops/initdb.d/90-load-dumps.sh
@@ -1,4 +1,22 @@
#!/bin/bash
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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.
+
set -ex