#
# Copyright 2015, whitestar
#
# 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.
#

name 'push-jobs-ubuntu'
description 'Chef Push Jobs for Ubuntu'

run_list(
  'recipe[push-jobs]'
)

#env_run_lists()

default_attributes(
  'push_jobs' => {
    #'package_version' => '1.1.5',
    'package_url' =>  'https://web-dl.packagecloud.io/chef/stable/packages/ubuntu/precise/opscode-push-jobs-client_1.1.5-1_amd64.deb',
    # sha256
    'package_checksum' => 'd7b40ebb18c7c7dbc32322c9bcd721279e707fd1bee3609a37055838afbf67ea',
    'whitelist' => {
       'platform_update' => 'apt-get update;apt-get upgrade -y',
    },
  },
)

#override_attributes()

