diff --git a/gremlins/faults.py b/gremlins/faults.py index 759b6ea..226f7c5 100644 --- a/gremlins/faults.py +++ b/gremlins/faults.py @@ -1,4 +1,20 @@ #!/usr/bin/env python +# +# Licensed to Cloudera, Inc. under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. Cloudera, Inc. 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. from gremlins import procutils, iptables import signal diff --git a/gremlins/gremlin.py b/gremlins/gremlin.py index 2d95897..e246e09 100755 --- a/gremlins/gremlin.py +++ b/gremlins/gremlin.py @@ -1,4 +1,21 @@ #!/usr/bin/env python +# +# Licensed to Cloudera, Inc. under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. Cloudera, Inc. 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. + import random import time from gremlins import faults diff --git a/gremlins/iptables.py b/gremlins/iptables.py index 9aaedc7..978d605 100644 --- a/gremlins/iptables.py +++ b/gremlins/iptables.py @@ -1,5 +1,20 @@ #!/usr/bin/env python - +# +# Licensed to Cloudera, Inc. under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. Cloudera, Inc. 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. import re from gremlins import procutils import time diff --git a/gremlins/procutils.py b/gremlins/procutils.py index 5386414..700d048 100644 --- a/gremlins/procutils.py +++ b/gremlins/procutils.py @@ -1,5 +1,20 @@ #!/usr/bin/env python - +# +# Licensed to Cloudera, Inc. under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. Cloudera, Inc. 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. import re import signal import os diff --git a/setup.py b/setup.py index 2a2424c..2f84e1b 100644 --- a/setup.py +++ b/setup.py @@ -1,3 +1,20 @@ +#!/usr/bin/env python +# +# Licensed to Cloudera, Inc. under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. Cloudera, Inc. 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. from setuptools import setup setup( @@ -5,4 +22,5 @@ version="0.1.0", packages = ['gremlins'], entry_points = {'console_scripts': ['gremlins=gremlins.gremlin:main']}, + license = "Apache2" )