summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Ireton <doug.ireton@nordstrom.com>2013-01-02 09:38:52 -0800
committerDoug Ireton <doug.ireton@nordstrom.com>2013-01-02 09:38:52 -0800
commit6395bf63025a62186702ccb1db99ad5037b55f59 (patch)
tree259b9de849cddde624fcc5e84dca8fb65ca11ffe
parentd1ab9cbd983ee063183c1f1ac3132037352d96bb (diff)
downloadmixlib-shellout-6395bf63025a62186702ccb1db99ad5037b55f59.tar.gz
Add license headers and author info.
-rw-r--r--providers/printer.rb19
-rw-r--r--providers/printer_port.rb20
-rw-r--r--resources/printer.rb22
-rw-r--r--resources/printer_port.rb20
4 files changed, 80 insertions, 1 deletions
diff --git a/providers/printer.rb b/providers/printer.rb
index b926d3f..b3c54b1 100644
--- a/providers/printer.rb
+++ b/providers/printer.rb
@@ -1,3 +1,22 @@
+#
+# Author:: Doug Ireton (<doug.ireton@nordstrom.com>)
+# Cookbook Name:: windows
+# Provider:: printer
+#
+# Copyright:: 2012, Nordstrom, Inc.
+#
+# Licensed 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.
+#
action :create do
if @current_resource.exists
Chef::Log.info "#{ @new_resource } already exists - nothing to do."
diff --git a/providers/printer_port.rb b/providers/printer_port.rb
index 0d5c8d5..f393b59 100644
--- a/providers/printer_port.rb
+++ b/providers/printer_port.rb
@@ -1,3 +1,23 @@
+#
+# Author:: Doug Ireton (<doug.ireton@nordstrom.com>)
+# Cookbook Name:: windows
+# Provider:: printer_port
+#
+# Copyright:: 2012, Nordstrom, Inc.
+#
+# Licensed 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.
+#
+
action :create do
if @current_resource.exists
Chef::Log.info "#{ @new_resource } already exists - nothing to do."
diff --git a/resources/printer.rb b/resources/printer.rb
index 768ea59..5effa33 100644
--- a/resources/printer.rb
+++ b/resources/printer.rb
@@ -1,3 +1,25 @@
+#
+# Author:: Doug Ireton (<doug.ireton@nordstrom.com>)
+# Cookbook Name:: windows
+# Resource:: printer
+#
+# Copyright:: 2012, Nordstrom, Inc.
+#
+# Licensed 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.
+#
+# See here for more info:
+# http://msdn.microsoft.com/en-us/library/windows/desktop/aa394492(v=vs.85).aspx
+
require 'resolv'
actions :create, :delete
diff --git a/resources/printer_port.rb b/resources/printer_port.rb
index c07a9a3..b79a6fc 100644
--- a/resources/printer_port.rb
+++ b/resources/printer_port.rb
@@ -1,4 +1,22 @@
-
+#
+# Author:: Doug Ireton (<doug.ireton@nordstrom.com>)
+# Cookbook Name:: windows
+# Resource:: printer_port
+#
+# Copyright:: 2012, Nordstrom, Inc.
+#
+# Licensed 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.
+#
# See here for more info:
# http://msdn.microsoft.com/en-us/library/windows/desktop/aa394492(v=vs.85).aspx