Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 0e35052b0 -> 238816f88


Change line endings of *mongodb.ps1

These line endings are automatically changed
(see ./.gitattributes). This causes seemingly strange
behaviour when checking out - you immediately have
uncommitted changes!

Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/238816f8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/238816f8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/238816f8

Branch: refs/heads/master
Commit: 238816f888e720c18be35873c126990ff0281d6c
Parents: 0e35052
Author: Aled Sage <[email protected]>
Authored: Wed Oct 21 10:11:48 2015 +0100
Committer: Aled Sage <[email protected]>
Committed: Wed Oct 21 10:11:48 2015 +0100

----------------------------------------------------------------------
 .../nosql/mongodb/win/checkrunning_mongodb.ps1  | 60 +++++++++---------
 .../nosql/mongodb/win/install_mongodb.ps1       | 64 ++++++++++----------
 .../entity/nosql/mongodb/win/launch_mongodb.ps1 | 52 ++++++++--------
 .../entity/nosql/mongodb/win/stop_mongodb.ps1   | 54 ++++++++---------
 4 files changed, 115 insertions(+), 115 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/238816f8/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/checkrunning_mongodb.ps1
----------------------------------------------------------------------
diff --git 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/checkrunning_mongodb.ps1
 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/checkrunning_mongodb.ps1
index 1157c0b..da9e97c 100644
--- 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/checkrunning_mongodb.ps1
+++ 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/checkrunning_mongodb.ps1
@@ -1,30 +1,30 @@
-[#ftl]
-#!ps1
-#
-# 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.
-#
-
-$ErrorActionPreference = "Stop"
-
-$serviceName = "MongoDB${config['mongodb.instance.name']}"
-
-$service = Get-Service -Name $serviceName
-if ($service.Status -ne "Running"){
-    Write-Host $ServiceName " service is not running"
-    exit 1
-}
+[#ftl]
+#!ps1
+#
+# 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.
+#
+
+$ErrorActionPreference = "Stop"
+
+$serviceName = "MongoDB${config['mongodb.instance.name']}"
+
+$service = Get-Service -Name $serviceName
+if ($service.Status -ne "Running"){
+    Write-Host $ServiceName " service is not running"
+    exit 1
+}

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/238816f8/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/install_mongodb.ps1
----------------------------------------------------------------------
diff --git 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/install_mongodb.ps1
 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/install_mongodb.ps1
index cadcda8..679a3e9 100644
--- 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/install_mongodb.ps1
+++ 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/install_mongodb.ps1
@@ -1,32 +1,32 @@
-[#ftl]
-#!ps1
-#
-# 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.
-#
-
-$ErrorActionPreference = "Stop"
-
-$Path = "C:\InstallTemp"
-New-Item -ItemType Directory -Force -Path $Path
-
-$Url = "${config['mongodb.download.url']}"
-$Dl = [System.IO.Path]::Combine($Path, "installer.msi")
-$WebClient = New-Object System.Net.WebClient
-$WebClient.DownloadFile( $Url, $Dl )
-
-Start-Process "msiexec" -ArgumentList '/qn','/i',$Dl -RedirectStandardOutput ( 
[System.IO.Path]::Combine($Path, "stdout.txt") ) -RedirectStandardError ( 
[System.IO.Path]::Combine($Path, "stderr.txt") ) -Wait
+[#ftl]
+#!ps1
+#
+# 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.
+#
+
+$ErrorActionPreference = "Stop"
+
+$Path = "C:\InstallTemp"
+New-Item -ItemType Directory -Force -Path $Path
+
+$Url = "${config['mongodb.download.url']}"
+$Dl = [System.IO.Path]::Combine($Path, "installer.msi")
+$WebClient = New-Object System.Net.WebClient
+$WebClient.DownloadFile( $Url, $Dl )
+
+Start-Process "msiexec" -ArgumentList '/qn','/i',$Dl -RedirectStandardOutput ( 
[System.IO.Path]::Combine($Path, "stdout.txt") ) -RedirectStandardError ( 
[System.IO.Path]::Combine($Path, "stderr.txt") ) -Wait

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/238816f8/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/launch_mongodb.ps1
----------------------------------------------------------------------
diff --git 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/launch_mongodb.ps1
 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/launch_mongodb.ps1
index bfc2e52..50749a7 100644
--- 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/launch_mongodb.ps1
+++ 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/launch_mongodb.ps1
@@ -1,26 +1,26 @@
-[#ftl]
-#!ps1
-#
-# 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.
-#
-
-$ErrorActionPreference = "Stop"
-
-$serviceName = "MongoDB${config['mongodb.instance.name']}"
-
-Start-Service $serviceName
+[#ftl]
+#!ps1
+#
+# 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.
+#
+
+$ErrorActionPreference = "Stop"
+
+$serviceName = "MongoDB${config['mongodb.instance.name']}"
+
+Start-Service $serviceName

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/238816f8/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/stop_mongodb.ps1
----------------------------------------------------------------------
diff --git 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/stop_mongodb.ps1
 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/stop_mongodb.ps1
index fd8393d..0071a5e 100644
--- 
a/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/stop_mongodb.ps1
+++ 
b/software/nosql/src/main/resources/org/apache/brooklyn/entity/nosql/mongodb/win/stop_mongodb.ps1
@@ -1,27 +1,27 @@
-[#ftl]
-#!ps1
-#
-# 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.
-#
-
-$ErrorActionPreference = "Stop"
-
-$serviceName = "MongoDB${config['mongodb.instance.name']}"
-
-Stop-Service $serviceName
-
+[#ftl]
+#!ps1
+#
+# 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.
+#
+
+$ErrorActionPreference = "Stop"
+
+$serviceName = "MongoDB${config['mongodb.instance.name']}"
+
+Stop-Service $serviceName
+

Reply via email to