summaryrefslogtreecommitdiffstats
path: root/mcp/config/states/neutron_compute
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-14 19:42:41 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-14 22:08:29 +0200
commit644e5fdfa2f49b988a5150e2a4eefc12daecd845 (patch)
treee0d02c21d32dcd56c0aa2f8bca8ddb14dcb32621 /mcp/config/states/neutron_compute
parenta75af3d4c30af050dd15c0f875142f6328874fe4 (diff)
Add license headers where missing
While at it, compact 'set' into bash shebang where possible and add `make patches-copyright` target to simplify adding patch license headers. Change-Id: I0c841de72e5709e5eef915a52c5ec4a7fc0f7c37 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/config/states/neutron_compute')
-rwxr-xr-xmcp/config/states/neutron_compute10
1 files changed, 8 insertions, 2 deletions
diff --git a/mcp/config/states/neutron_compute b/mcp/config/states/neutron_compute
index 6266b0f18..2a2a2ef78 100755
--- a/mcp/config/states/neutron_compute
+++ b/mcp/config/states/neutron_compute
@@ -1,5 +1,11 @@
-#!/bin/bash
-set -x
+#!/bin/bash -x
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
salt -I 'neutron:compute' state.sls neutron
salt -I 'neutron:compute' file.append /etc/sudoers.d/neutron_sudoers \