summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Martz <matt@sivel.net>2014-06-19 13:48:45 -0500
committerMatt Martz <matt@sivel.net>2014-06-19 14:27:04 -0500
commit2316b7785cbdb7b88cf623bd094a046ee0aee4c6 (patch)
tree313d95c4b646b63ef5b46145abb5784880775c20
parentadc4e70c75ca6d22c20ebefe464ef29c9d300ed0 (diff)
downloadansible-2316b7785cbdb7b88cf623bd094a046ee0aee4c6.tar.gz
Make sure the doc stubs for windows modules have proper license headers
-rw-r--r--examples/scripts/upgrade_to_ps3.ps12
-rw-r--r--library/windows/win_feature23
-rw-r--r--library/windows/win_get_url23
3 files changed, 47 insertions, 1 deletions
diff --git a/examples/scripts/upgrade_to_ps3.ps1 b/examples/scripts/upgrade_to_ps3.ps1
index 73f18a105f..fc924ccb64 100644
--- a/examples/scripts/upgrade_to_ps3.ps1
+++ b/examples/scripts/upgrade_to_ps3.ps1
@@ -79,4 +79,4 @@ else
$FileName = $DownLoadUrl.Split('/')[-1]
download-file $downloadurl "$powershellpath\$filename"
-Start-Process -FilePath "$powershell\$filename" -ArgumentList /quiet
+Start-Process -FilePath ".$powershellpath\$filename" -ArgumentList /quiet
diff --git a/library/windows/win_feature b/library/windows/win_feature
index ad54ce7f09..0151ee3226 100644
--- a/library/windows/win_feature
+++ b/library/windows/win_feature
@@ -1,3 +1,26 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# (c) 2014, Paul Durivage <paul.durivage@rackspace.com>, and others
+#
+# This file is part of Ansible
+#
+# Ansible 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.
+#
+# Ansible 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 Ansible. If not, see <http://www.gnu.org/licenses/>.
+
+# this is a windows documentation stub. actual code lives in the .ps1
+# file of the same name
+
DOCUMENTATION = '''
---
module: win_feature
diff --git a/library/windows/win_get_url b/library/windows/win_get_url
index 93f41acb7e..10910cf605 100644
--- a/library/windows/win_get_url
+++ b/library/windows/win_get_url
@@ -1,3 +1,26 @@
+#!/usr/bin/python
+# -*- coding: utf-8 -*-
+
+# (c) 2014, Paul Durivage <paul.durivage@rackspace.com>, and others
+#
+# This file is part of Ansible
+#
+# Ansible 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.
+#
+# Ansible 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 Ansible. If not, see <http://www.gnu.org/licenses/>.
+
+# this is a windows documentation stub. actual code lives in the .ps1
+# file of the same name
+
DOCUMENTATION = '''
---
module: win_get_url