Not rakefile file

Bug #1338477 reported by Longgeek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Low
Longgeek

Bug Description

# cd fuel-library/deployment/puppet/ceph
# rake lint
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)

(See full trace by running task with --trace)

Add Rakefile:

# vim Rakefile
require 'rubygems'
require 'puppetlabs_spec_helper/rake_tasks'
require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.send('disable_80chars')

# Disable check due to upstream bug: https://github.com/rodjek/puppet-lint/issues/170
PuppetLint.configuration.send('disable_class_parameter_defaults')

# rake lint
examples/site.pp - WARNING: selector inside resource block on line 82
examples/site.pp - WARNING: selector inside resource block on line 93
examples/site.pp - WARNING: double quoted string containing no variables on line 22
examples/site.pp - WARNING: quoted boolean value found on line 96
examples/site.pp - ERROR: trailing whitespace found on line 19
examples/site.pp - ERROR: trailing whitespace found on line 39
examples/site.pp - WARNING: indentation of => is not properly aligned on line 70
examples/site.pp - WARNING: indentation of => is not properly aligned on line 71
examples/site.pp - WARNING: indentation of => is not properly aligned on line 72
examples/site.pp - WARNING: indentation of => is not properly aligned on line 73
examples/site.pp - WARNING: indentation of => is not properly aligned on line 74
examples/site.pp - WARNING: indentation of => is not properly aligned on line 76
examples/site.pp - WARNING: indentation of => is not properly aligned on line 77
examples/site.pp - WARNING: indentation of => is not properly aligned on line 78
examples/site.pp - WARNING: indentation of => is not properly aligned on line 79
examples/site.pp - WARNING: indentation of => is not properly aligned on line 82
examples/site.pp - WARNING: indentation of => is not properly aligned on line 82
examples/site.pp - WARNING: indentation of => is not properly aligned on line 83
examples/site.pp - WARNING: indentation of => is not properly aligned on line 84
examples/site.pp - WARNING: indentation of => is not properly aligned on line 85
examples/site.pp - WARNING: indentation of => is not properly aligned on line 86
examples/site.pp - WARNING: indentation of => is not properly aligned on line 87
examples/site.pp - WARNING: indentation of => is not properly aligned on line 88
examples/site.pp - WARNING: indentation of => is not properly aligned on line 89
examples/site.pp - WARNING: indentation of => is not properly aligned on line 90
examples/site.pp - WARNING: indentation of => is not properly aligned on line 91
examples/site.pp - WARNING: indentation of => is not properly aligned on line 92
examples/site.pp - WARNING: indentation of => is not properly aligned on line 93
examples/site.pp - WARNING: indentation of => is not properly aligned on line 93
examples/site.pp - WARNING: indentation of => is not properly aligned on line 94
examples/site.pp - WARNING: indentation of => is not properly aligned on line 95
examples/site.pp - WARNING: indentation of => is not properly aligned on line 96
examples/site.pp - WARNING: indentation of => is not properly aligned on line 97
examples/site.pp - WARNING: indentation of => is not properly aligned on line 100
examples/site.pp - WARNING: indentation of => is not properly aligned on line 101
examples/site.pp - WARNING: indentation of => is not properly aligned on line 102
examples/site.pp - WARNING: indentation of => is not properly aligned on line 105
examples/site.pp - WARNING: indentation of => is not properly aligned on line 106
examples/site.pp - WARNING: indentation of => is not properly aligned on line 107
examples/site.pp - WARNING: indentation of => is not properly aligned on line 108
examples/site.pp - WARNING: indentation of => is not properly aligned on line 110
examples/site.pp - WARNING: indentation of => is not properly aligned on line 113
examples/site.pp - WARNING: indentation of => is not properly aligned on line 114
examples/site.pp - WARNING: indentation of => is not properly aligned on line 115
examples/site.pp - WARNING: indentation of => is not properly aligned on line 116
manifests/apt.pp - ERROR: trailing whitespace found on line 12
manifests/conf.pp - ERROR: two-space soft tabs not used on line 59
manifests/init.pp - ERROR: two-space soft tabs not used on line 8
manifests/init.pp - ERROR: two-space soft tabs not used on line 9
manifests/init.pp - ERROR: two-space soft tabs not used on line 11
manifests/init.pp - ERROR: two-space soft tabs not used on line 12
manifests/init.pp - ERROR: two-space soft tabs not used on line 73
manifests/mon.pp - ERROR: two-space soft tabs not used on line 35
manifests/radosgw.pp - ERROR: apache::loadmodule not in autoload module layout on line 2
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 42
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 43
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 70
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 71
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 181
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 182
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 183
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 184
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 219
manifests/radosgw.pp - ERROR: two-space soft tabs not used on line 220
manifests/yum.pp - ERROR: trailing whitespace found on line 5
manifests/yum.pp - ERROR: trailing whitespace found on line 22
manifests/yum.pp - ERROR: trailing whitespace found on line 31
rake aborted!

Longgeek (longgeek)
Changed in fuel:
assignee: nobody → Longgeek (longgeek)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/105097

Changed in fuel:
status: New → In Progress
Changed in fuel:
importance: Undecided → Low
milestone: none → 5.1
Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/105097
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=5487d0fec6eb3283769638c891ea5139842bf364
Submitter: Jenkins
Branch: master

commit 5487d0fec6eb3283769638c891ea5139842bf364
Author: Longgeek <email address hidden>
Date: Mon Jul 7 17:01:54 2014 +0800

    The modified puppet code style

    Add the Rakefile file:
     * add dependency rubygems
     * disable 80 chars check
     * disable two-space soft tabs check
     * disable arrow alignment check
     * disable selector inside resource check
     * disable class parameter defaults
    The remaining work is in the correction puppet code specifications

    Change-Id: Id6caeacc10b07898af06768f6dde5261d9ea5f89
    Closes-Bug: #1338477

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.