From ce20fa472e94669ed4e33c4e8e9a89ec640187de Mon Sep 17 00:00:00 2001 From: "Bala.FA" Date: Tue, 29 Nov 2011 15:14:40 +0530 Subject: Removed unused gluster-provision-block. Signed-off-by: Bala.FA --- .../src/backend/gluster-provision-block | 171 --------------------- 1 file changed, 171 deletions(-) delete mode 100755 src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-provision-block diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-provision-block b/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-provision-block deleted file mode 100755 index 0385b82c..00000000 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-provision-block +++ /dev/null @@ -1,171 +0,0 @@ -#!/bin/bash - -ME=$(basename $0); - -set -o pipefail; - -function show_help() -{ - usage_banner; - cat <> /etc/fstab || fail "Failed to update fstab"; - ;; - *) - echo "UUID=$uuid $mnt $fstype defaults 0 2" >> /etc/fstab || fail "Failed to update fstab"; - ;; - esac - - mount -v $mnt || fail "mounting $devblk on $mnt failed"; - -cat < Date: Tue, 29 Nov 2011 15:45:32 +0530 Subject: Added license text. Signed-off-by: Bala.FA --- .../src/backend/DiskUtils.py | 16 +++++++++++++++- .../src/backend/FsTabUtils.py | 16 +++++++++++++++- .../src/backend/NetworkUtils.py | 16 +++++++++++++++- .../src/backend/VolumeUtils.py | 16 +++++++++++++++- .../src/backend/add_user_cifs.py | 16 +++++++++++++++- .../src/backend/clear_volume_directory.py | 16 +++++++++++++++- .../src/backend/create_volume_cifs.py | 16 +++++++++++++++- .../src/backend/delete_user_cifs.py | 16 +++++++++++++++- .../src/backend/delete_volume_cifs.py | 16 +++++++++++++++- .../src/backend/format_device.py | 16 +++++++++++++++- .../src/backend/format_device_background.py | 16 +++++++++++++++- .../src/backend/get_brick_status.py | 16 +++++++++++++++- .../src/backend/get_filesystem_type.py | 16 +++++++++++++++- .../src/backend/get_format_device_status.py | 16 +++++++++++++++- .../src/backend/get_rrd_cpu_details.py | 16 +++++++++++++++- .../src/backend/get_rrd_memory_details.py | 16 +++++++++++++++- .../src/backend/get_rrd_net_details.py | 16 +++++++++++++++- .../src/backend/get_server_details.py | 16 +++++++++++++++- .../src/backend/get_server_status.py | 16 +++++++++++++++- .../src/backend/get_volume_brick_log.py | 16 +++++++++++++++- .../src/backend/gluster-volume-settings.init.d | 16 ++++++++++++++++ .../src/backend/gluster_cifs_volume_startup.py | 16 +++++++++++++++- .../src/backend/modify_volume_cifs.py | 16 +++++++++++++++- .../src/backend/multicast-discoverd.init.d | 16 +++++++++++++++- .../src/backend/multicast-discoverd.py | 16 +++++++++++++++- .../src/backend/rrd_cpu.pl | 17 +++++++++++++++++ .../src/backend/rrd_mem.pl | 17 +++++++++++++++++ .../src/backend/rrd_net.pl | 17 +++++++++++++++++ .../src/backend/setup_cifs_config.py | 16 +++++++++++++++- .../src/backend/start_volume_cifs.py | 16 +++++++++++++++- .../src/backend/stop_volume_cifs.py | 16 +++++++++++++++- .../src/backend/update-rrd.sh | 17 +++++++++++++++++ .../src/backend/update_volume_cifs.py | 16 +++++++++++++++- .../src/common/Globals.py | 16 +++++++++++++++- .../src/common/Utils.py | 16 +++++++++++++++- .../src/common/XmlHandler.py | 16 +++++++++++++++- .../src/gateway/add_user_cifs_all.py | 16 +++++++++++++++- .../src/gateway/create_volume_cifs_all.py | 16 +++++++++++++++- .../src/gateway/delete_user_cifs_all.py | 16 +++++++++++++++- .../src/gateway/delete_volume_cifs_all.py | 16 +++++++++++++++- .../src/gateway/get_volume_user_cifs.py | 16 +++++++++++++++- .../src/gateway/gmg-reset-password.sh | 17 +++++++++++++++++ .../src/gateway/grun.py | 16 +++++++++++++++- .../src/gateway/multicast-discover-servers.py | 16 +++++++++++++++- .../src/gateway/remove_server_volume_cifs_config.py | 16 +++++++++++++++- .../src/gateway/setup_cifs_config_all.py | 16 +++++++++++++++- .../src/gateway/update_volume_cifs_all.py | 16 +++++++++++++++- 47 files changed, 716 insertions(+), 41 deletions(-) diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/DiskUtils.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/DiskUtils.py index 4d1b701a..6666707b 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/DiskUtils.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/DiskUtils.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/FsTabUtils.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/FsTabUtils.py index 653d0dda..0bb328db 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/FsTabUtils.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/FsTabUtils.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/NetworkUtils.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/NetworkUtils.py index ff73af6f..711dfa22 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/NetworkUtils.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/NetworkUtils.py @@ -1,5 +1,19 @@ # Copyright (c) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/VolumeUtils.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/VolumeUtils.py index 5476e090..84bd3a7e 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/VolumeUtils.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/VolumeUtils.py @@ -1,5 +1,19 @@ # Copyright (c) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/add_user_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/add_user_cifs.py index 2e1a1574..30cd399b 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/add_user_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/add_user_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/clear_volume_directory.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/clear_volume_directory.py index 374a7e9c..4c2ec112 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/clear_volume_directory.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/clear_volume_directory.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/create_volume_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/create_volume_cifs.py index 5a27ab87..f3d6795a 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/create_volume_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/create_volume_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_user_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_user_cifs.py index aeda989f..88c6ac63 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_user_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_user_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_volume_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_volume_cifs.py index 572d819c..a25fc667 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_volume_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/delete_volume_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device.py index 8630635c..8b9edf0c 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device_background.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device_background.py index a804a59c..77314ef2 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device_background.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/format_device_background.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_brick_status.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_brick_status.py index b72321d7..0f5ca578 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_brick_status.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_brick_status.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Console. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_filesystem_type.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_filesystem_type.py index de4b4bb0..ce4daa4d 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_filesystem_type.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_filesystem_type.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_format_device_status.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_format_device_status.py index 532f1585..0d965229 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_format_device_status.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_format_device_status.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_cpu_details.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_cpu_details.py index da08fde1..219faa4f 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_cpu_details.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_cpu_details.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_memory_details.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_memory_details.py index 07a9d7d0..04453628 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_memory_details.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_memory_details.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_net_details.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_net_details.py index ee28ca13..258a758c 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_net_details.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_rrd_net_details.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_details.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_details.py index 26b9059a..bdb6caa0 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_details.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_details.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_status.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_status.py index 2814f10f..72627bd1 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_status.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_server_status.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Console. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_volume_brick_log.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_volume_brick_log.py index 026c3c00..7a7904b9 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/get_volume_brick_log.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/get_volume_brick_log.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import re diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-volume-settings.init.d b/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-volume-settings.init.d index 97bc01ee..2afdfb4c 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-volume-settings.init.d +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster-volume-settings.init.d @@ -1,4 +1,20 @@ #!/bin/bash +# Copyright (C) 2011 Gluster, Inc. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # # chkconfig: - 90 10 ### BEGIN INIT INFO diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster_cifs_volume_startup.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster_cifs_volume_startup.py index 9ea7e021..2dfb1546 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster_cifs_volume_startup.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/gluster_cifs_volume_startup.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/modify_volume_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/modify_volume_cifs.py index d56b1f59..9e1e581c 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/modify_volume_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/modify_volume_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.init.d b/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.init.d index 7cfbe44a..8bc881f8 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.init.d +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.init.d @@ -1,6 +1,20 @@ #!/bin/bash # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # # chkconfig: - 85 15 # description: multicast discovery service diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.py index cb5de70c..64236bbe 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/multicast-discoverd.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_cpu.pl b/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_cpu.pl index 30a66342..06e183ce 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_cpu.pl +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_cpu.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# Copyright (C) 2011 Gluster, Inc. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . +# use RRDs; diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_mem.pl b/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_mem.pl index 5c47cd81..b6fd8fba 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_mem.pl +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_mem.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# Copyright (C) 2011 Gluster, Inc. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . +# use RRDs; diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl b/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl index 6ae128fd..46b659c5 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl @@ -1,4 +1,21 @@ #!/usr/bin/perl +# Copyright (C) 2011 Gluster, Inc. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . +# use RRDs; diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/setup_cifs_config.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/setup_cifs_config.py index 5d5187f4..62e031fd 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/setup_cifs_config.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/setup_cifs_config.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/start_volume_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/start_volume_cifs.py index e16c87c2..45d239e1 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/start_volume_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/start_volume_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/stop_volume_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/stop_volume_cifs.py index d67d9061..6bf736b9 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/stop_volume_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/stop_volume_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/update-rrd.sh b/src/org.gluster.storage.management.gateway.scripts/src/backend/update-rrd.sh index b081d6db..1379bc41 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/update-rrd.sh +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/update-rrd.sh @@ -1,4 +1,21 @@ #!/bin/bash +# Copyright (C) 2011 Gluster, Inc. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . +# /usr/bin/rrd_cpu.pl & /usr/bin/rrd_mem.pl & diff --git a/src/org.gluster.storage.management.gateway.scripts/src/backend/update_volume_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/backend/update_volume_cifs.py index 64297a87..8544ac5c 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/backend/update_volume_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/backend/update_volume_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/common/Globals.py b/src/org.gluster.storage.management.gateway.scripts/src/common/Globals.py index 49a12b69..f03e9feb 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/common/Globals.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/common/Globals.py @@ -1,5 +1,19 @@ # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Storage Platform. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # MULTICAST_GROUP = '224.224.1.1' diff --git a/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py b/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py index 3c90c533..bdc47f60 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/common/Utils.py @@ -1,5 +1,19 @@ # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/common/XmlHandler.py b/src/org.gluster.storage.management.gateway.scripts/src/common/XmlHandler.py index d55ef07a..0d491a68 100644 --- a/src/org.gluster.storage.management.gateway.scripts/src/common/XmlHandler.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/common/XmlHandler.py @@ -1,5 +1,19 @@ # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import xml diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py index adfd031c..66236b59 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/add_user_cifs_all.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/create_volume_cifs_all.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/create_volume_cifs_all.py index 8a43e7dc..2c40a56b 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/create_volume_cifs_all.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/create_volume_cifs_all.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_user_cifs_all.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_user_cifs_all.py index a86e7264..92192d69 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_user_cifs_all.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_user_cifs_all.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_volume_cifs_all.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_volume_cifs_all.py index 925a3548..0f4e7fb5 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_volume_cifs_all.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/delete_volume_cifs_all.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/get_volume_user_cifs.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/get_volume_user_cifs.py index c072a556..bbe736e1 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/get_volume_user_cifs.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/get_volume_user_cifs.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/gmg-reset-password.sh b/src/org.gluster.storage.management.gateway.scripts/src/gateway/gmg-reset-password.sh index b39fe6b5..cfc54e9c 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/gmg-reset-password.sh +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/gmg-reset-password.sh @@ -1,6 +1,23 @@ #----------------------------------------------------------------------------------- # gmg-reset-password.sh - script to reset password of given user to default password #----------------------------------------------------------------------------------- +# Copyright (C) 2011 Gluster, Inc. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . +# USAGE_ERR=1 diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/grun.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/grun.py index 6519d726..d7c23ee8 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/grun.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/grun.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/multicast-discover-servers.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/multicast-discover-servers.py index ded207c0..9bdb037d 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/multicast-discover-servers.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/multicast-discover-servers.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/remove_server_volume_cifs_config.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/remove_server_volume_cifs_config.py index 27fb9b92..93c47af6 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/remove_server_volume_cifs_config.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/remove_server_volume_cifs_config.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/setup_cifs_config_all.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/setup_cifs_config_all.py index e7e0a4a0..99a4b2d3 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/setup_cifs_config_all.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/setup_cifs_config_all.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os diff --git a/src/org.gluster.storage.management.gateway.scripts/src/gateway/update_volume_cifs_all.py b/src/org.gluster.storage.management.gateway.scripts/src/gateway/update_volume_cifs_all.py index e5576c45..07c1e90e 100755 --- a/src/org.gluster.storage.management.gateway.scripts/src/gateway/update_volume_cifs_all.py +++ b/src/org.gluster.storage.management.gateway.scripts/src/gateway/update_volume_cifs_all.py @@ -1,6 +1,20 @@ #!/usr/bin/python # Copyright (C) 2011 Gluster, Inc. -# This file is part of Gluster Management Gateway. +# This file is part of Gluster Management Gateway (GlusterMG). +# +# GlusterMG is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published +# by the Free Software Foundation; either version 3 of the License, +# or (at your option) any later version. +# +# GlusterMG is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see +# . # import os -- cgit From 3f0c6548d6295ec85c1aab88a6fe7f1221f494ad Mon Sep 17 00:00:00 2001 From: "Bala.FA" Date: Tue, 29 Nov 2011 17:36:15 +0530 Subject: Updated tomcat6/samba dependency and multicast-discoverd stop is added into preun of backend RPM. Signed-off-by: Bala.FA --- build/glustermg.spec | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) diff --git a/build/glustermg.spec b/build/glustermg.spec index a04b28b0..755f00dd 100644 --- a/build/glustermg.spec +++ b/build/glustermg.spec @@ -9,11 +9,11 @@ Summary: %{product_family} web IU component Name: glustermg Version: %{release_version} Release: 1%{?extra_release} -License: Proprietary +License: GPLv3+ Group: System Environment/Base Source0: glustermg-backend-%{release_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot -Requires: tomcat5 >= 5.5.23 +Requires: tomcat6 >= 6.0.24 Requires: java-1.6.0-openjdk >= 1.6.0.0 Requires: wget %description @@ -29,7 +29,7 @@ Requires: perl >= 5.8.8 Requires: rrdtool-perl >= 1.2.27 Requires: sudo Requires: crontabs -Requires: samba3 +Requires: samba >= 3.5.6 Requires: libxml2 >= 2.6.26 %description backend %{product_family} server side backend tools @@ -66,48 +66,48 @@ ln -sf /opt/glustermg/%{release_version}/backend/gluster_cifs_volume_startup.py %post -if [ -f /usr/share/tomcat5/webapps/glustermg ]; then - rm -f /usr/share/tomcat5/webapps/glustermg +if [ -f /usr/share/tomcat6/webapps/glustermg ]; then + rm -f /usr/share/tomcat6/webapps/glustermg fi -ln -fs /opt/glustermg/%{release_version}/glustermg /usr/share/tomcat5/webapps/glustermg +ln -fs /opt/glustermg/%{release_version}/glustermg /usr/share/tomcat6/webapps/glustermg if [ ! -f /opt/glustermg/keys/gluster.pem ]; then - ssh-keygen -t rsa -f /opt/glustermg/keys/gluster.pem -N '' +x ssh-keygen -t rsa -f /opt/glustermg/keys/gluster.pem -N '' mv -f /opt/glustermg/keys/gluster.pem.pub /opt/glustermg/keys/gluster.pub fi chown -R tomcat:tomcat /opt/glustermg /var/log/glustermg -if ! grep -q '^JAVA_HOME="/usr/lib/jvm/jre-1.6.0-openjdk.x86_64"' /etc/sysconfig/tomcat5; then - sed -i 's/^JAVA_HOME=/# JAVA_HOME=/g' /etc/sysconfig/tomcat5 - echo 'JAVA_HOME="/usr/lib/jvm/jre-1.6.0-openjdk.x86_64"' >> /etc/sysconfig/tomcat5 +if ! grep -q '^JAVA_HOME="/usr/lib/jvm/jre-1.6.0-openjdk.x86_64"' /etc/sysconfig/tomcat6; then + sed -i 's/^JAVA_HOME=/# JAVA_HOME=/g' /etc/sysconfig/tomcat6 + echo 'JAVA_HOME="/usr/lib/jvm/jre-1.6.0-openjdk.x86_64"' >> /etc/sysconfig/tomcat6 fi -if ! grep -q '# Added by Gluster: JAVA_OPTS="${JAVA_OPTS} -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m"' /etc/sysconfig/tomcat5; then - echo '# Added by Gluster: JAVA_OPTS="${JAVA_OPTS} -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m"' >> /etc/sysconfig/tomcat5 - echo 'JAVA_OPTS="${JAVA_OPTS} -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m"' >> /etc/sysconfig/tomcat5 +if ! grep -q '# Added by Gluster: JAVA_OPTS="${JAVA_OPTS} -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m"' /etc/sysconfig/tomcat6; then + echo '# Added by Gluster: JAVA_OPTS="${JAVA_OPTS} -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m"' >> /etc/sysconfig/tomcat6 + echo 'JAVA_OPTS="${JAVA_OPTS} -Xms1024m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m"' >> /etc/sysconfig/tomcat6 fi -if ! grep -q /usr/share/tomcat5/webapps/glustermg/ssl/gmg-ssl.keystore /etc/tomcat5/server.xml; then +if ! grep -q /usr/share/tomcat6/webapps/glustermg/ssl/gmg-ssl.keystore /etc/tomcat6/server.xml; then sed -i '/<\/Service>/i \ ' /etc/tomcat5/server.xml + sslProtocol="TLS" />' /etc/tomcat6/server.xml fi -if ! grep -q "org.apache.catalina.authenticator.NonLoginAuthenticator" /etc/tomcat5/context.xml; then +if ! grep -q "org.apache.catalina.authenticator.NonLoginAuthenticator" /etc/tomcat6/context.xml; then sed -i '/<\/Context>/i \ ' /etc/tomcat5/context.xml + disableProxyCaching="false" />' /etc/tomcat6/context.xml fi if wget -t 1 -T 1 -q -O /dev/null http://169.254.169.254/latest; then sed -i '/' /opt/glustermg/%{release_version}/glustermg/WEB-INF/classes/spring/gluster-server-base.xml fi %preun -rm -f /usr/share/tomcat5/webapps/glustermg +rm -f /usr/share/tomcat6/webapps/glustermg %pre backend modprobe -q fuse @@ -144,6 +144,7 @@ fi %preun backend if [ "$1" = 0 ] ; then + /etc/init.d/multicast-discoverd stop /sbin/chkconfig --del multicast-discoverd /sbin/chkconfig --del gluster-volume-settings fi @@ -175,5 +176,8 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Nov 29 2011 Bala.FA - 1.1.0 +- Updated tomcat6/samba dependency +- Added multicast-discoverd stop in preun backend * Thu Aug 4 2011 Bala.FA - 1.0.0 - Initial release -- cgit