Sha256: dff14ccb7df45e0c3b0f6b3122044b39748c4092f9f04322336e17bef5e1f54e

Contents?: true

Size: 994 Bytes

Versions: 26

Compression:

Stored size: 994 Bytes

Contents

#
# Cookbook Name:: apt
# Resource:: preference
#
# Copyright 2010-2013, Opscode, 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.
#

actions :add, :remove
default_action :add if defined?(default_action) # Chef > 10.8

# Needed for Chef versions < 0.10.10
def initialize(*args)
  super
  @action = :add
end

attribute :package_name, :kind_of => String, :name_attribute => true
attribute :glob, :kind_of => String
attribute :pin, :kind_of => String
attribute :pin_priority, :kind_of => String

Version data entries

26 entries across 26 versions & 2 rubygems

Version Path
madscience-0.0.28 cookbooks/apt/resources/preference.rb
madscience-0.0.27 cookbooks/apt/resources/preference.rb
madscience-0.0.26 cookbooks/apt/resources/preference.rb
madscience-0.0.25 cookbooks/apt/resources/preference.rb
madscience-0.0.24 cookbooks/apt/resources/preference.rb
madscience-0.0.23 cookbooks/apt/resources/preference.rb
madscience-0.0.21 cookbooks/apt/resources/preference.rb
madscience-0.0.20 cookbooks/apt/resources/preference.rb
madscience-0.0.19 cookbooks/apt/resources/preference.rb
madscience-0.0.17 cookbooks/apt/resources/preference.rb
madscience-0.0.16 cookbooks/apt/resources/preference.rb
madscience-0.0.15 cookbooks/apt/resources/preference.rb
madscience-0.0.14 cookbooks/apt/resources/preference.rb
madscience-0.0.13 cookbooks/apt/resources/preference.rb
madscience-0.0.11 cookbooks/apt/resources/preference.rb
madscience-0.0.10 cookbooks/apt/resources/preference.rb
madscience-0.0.9 cookbooks/apt/resources/preference.rb
madscience-0.0.8 cookbooks/apt/resources/preference.rb
madscience-0.0.7 cookbooks/apt/resources/preference.rb
madscience-0.0.6 cookbooks/apt/resources/preference.rb