bahchis / airflow-cookbook

Airflow workflow management platform chef cookbook.
Apache License 2.0
68 stars 49 forks source link

Running on OpsWorks fails #5

Closed aop closed 8 years ago

aop commented 8 years ago

It leaves this kind of trace

================================================================================
Recipe Compile Error in /var/lib/aws/opsworks/cache.stage2/cookbooks/airflow/resources/airflow.rb
================================================================================

ArgumentError
-------------
wrong number of arguments (1 for 0)

Cookbook Trace:
---------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/airflow/resources/airflow.rb:15:in `class_from_file'

Relevant File Content:
----------------------
/var/lib/aws/opsworks/cache.stage2/cookbooks/airflow/resources/airflow.rb:

8:  
9:  # Unless required by applicable law or agreed to in writing, software
10:  # distributed under the License is distributed on an "AS IS" BASIS,
11:  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12:  # See the License for the specific language governing permissions and
13:  # limitations under the License.
14:  
15>> resource_name :airflow
16:  
17:  actions :install
18:  default_action :install
19:  
20:  property :packages, String, default: "crypto,mysql"
21:  
22:  dependencies = {
23:    :all => [
24:        "libldap2-dev", "libsasl2-dev", "libssl-dev"
waltsu commented 8 years ago

resource_name is introduced in Chef 12.04 and the OpsWorks (in this case) is running Chef 11.

This issue can be closed.