Skip to content

Commit

Permalink
Merge pull request #21 from ncerny/nc/fix-lints
Browse files Browse the repository at this point in the history
Fix lint failures.
  • Loading branch information
ncerny authored Apr 14, 2017
2 parents 76e690f + 626d03a commit f547529
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 14 deletions.
3 changes: 1 addition & 2 deletions Berksfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ metadata
group :test do
cookbook 'chef-services',
'>= 4.0.0',
git: 'https://github.com/stephenlauck/chef-services.git',
branch: 'ad/simplify_pkgs'
git: 'https://github.com/stephenlauck/chef-services.git'
end
1 change: 0 additions & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# rubocop:disable LineLength
name 'chef_stack'
maintainer 'Chef Software Inc'
maintainer_email '[email protected]'
Expand Down
3 changes: 1 addition & 2 deletions resources/automate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'chef_automate'
default_action :create
Expand Down Expand Up @@ -72,7 +71,7 @@
'/var/opt/delivery/license/delivery.license' => new_resource.license,
"/etc/delivery/#{new_resource.chef_user}.pem" => new_resource.chef_user_pem,
'/etc/chef/validation.pem' => new_resource.validation_pem,
'/etc/delivery/builder_key' => new_resource.builder_pem
'/etc/delivery/builder_key' => new_resource.builder_pem,
}.each do |file, src|
chef_file file do
source src
Expand Down
1 change: 0 additions & 1 deletion resources/backend.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'chef_backend'
default_action :create
Expand Down
1 change: 0 additions & 1 deletion resources/chef_org.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'chef_org'
default_action :create
Expand Down
1 change: 0 additions & 1 deletion resources/chef_user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'chef_user'
default_action :create
Expand Down
1 change: 0 additions & 1 deletion resources/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength
# rubocop:disable ParenthesesAsGroupedExpression

resource_name 'chef_client'
Expand Down
1 change: 0 additions & 1 deletion resources/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'chef_server'
default_action :create
Expand Down
1 change: 0 additions & 1 deletion resources/supermarket.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'chef_supermarket'
default_action :create
Expand Down
5 changes: 2 additions & 3 deletions resources/wf_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
# 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.
# rubocop:disable LineLength

resource_name 'workflow_builder'
default_action :create
Expand Down Expand Up @@ -62,7 +61,7 @@
[
new_resource.chef_fqdn,
new_resource.automate_fqdn,
new_resource.supermarket_fqdn
new_resource.supermarket_fqdn,
].each do |server|
execute "fetch ssl cert for #{server}" do
command "knife ssl fetch -s https://#{server} -c #{Chef::Config['config_file']}"
Expand Down Expand Up @@ -243,7 +242,7 @@
os: node['os'],
platform_family: node['platform_family'],
platform: node['platform'],
platform_version: node['platform_version']
platform_version: node['platform_version'],
}

runner = Mixlib::ShellOut.new("delivery api post runners \
Expand Down

0 comments on commit f547529

Please sign in to comment.