#
# 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-rhel'
description 'Chef Push Jobs for Red Hat Enterprise Linux'

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/el/6/opscode-push-jobs-client-1.1.5-1.el6.x86_64.rpm',
    # sha256
    'package_checksum' => 'd242de41b983428057dfaa0d6b42a8710d1e6992b0235ee22cbf75f44873d77f',
    'whitelist' => {
      'platform_update' => 'yum update -y',
    },
  },
)

#override_attributes()

