From 2316b7785cbdb7b88cf623bd094a046ee0aee4c6 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Thu, 19 Jun 2014 13:48:45 -0500 Subject: [PATCH] Make sure the doc stubs for windows modules have proper license headers --- examples/scripts/upgrade_to_ps3.ps1 | 2 +- library/windows/win_feature | 23 +++++++++++++++++++++++ library/windows/win_get_url | 23 +++++++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) diff --git a/examples/scripts/upgrade_to_ps3.ps1 b/examples/scripts/upgrade_to_ps3.ps1 index 73f18a105f0..fc924ccb640 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 ad54ce7f09c..0151ee32261 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 , 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 . + +# 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 93f41acb7e9..10910cf605e 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 , 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 . + +# this is a windows documentation stub. actual code lives in the .ps1 +# file of the same name + DOCUMENTATION = ''' --- module: win_get_url