Skip to content

Commit f547529

Browse files
authored
Merge pull request #21 from ncerny/nc/fix-lints
Fix lint failures.
2 parents 76e690f + 626d03a commit f547529

10 files changed

+4
-14
lines changed

Berksfile

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ metadata
55
group :test do
66
cookbook 'chef-services',
77
'>= 4.0.0',
8-
git: 'https://github.com/stephenlauck/chef-services.git',
9-
branch: 'ad/simplify_pkgs'
8+
git: 'https://github.com/stephenlauck/chef-services.git'
109
end

metadata.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# rubocop:disable LineLength
21
name 'chef_stack'
32
maintainer 'Chef Software Inc'
43
maintainer_email 'success@chef.io'

resources/automate.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'chef_automate'
2120
default_action :create
@@ -72,7 +71,7 @@
7271
'/var/opt/delivery/license/delivery.license' => new_resource.license,
7372
"/etc/delivery/#{new_resource.chef_user}.pem" => new_resource.chef_user_pem,
7473
'/etc/chef/validation.pem' => new_resource.validation_pem,
75-
'/etc/delivery/builder_key' => new_resource.builder_pem
74+
'/etc/delivery/builder_key' => new_resource.builder_pem,
7675
}.each do |file, src|
7776
chef_file file do
7877
source src

resources/backend.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'chef_backend'
2120
default_action :create

resources/chef_org.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'chef_org'
2120
default_action :create

resources/chef_user.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'chef_user'
2120
default_action :create

resources/client.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918
# rubocop:disable ParenthesesAsGroupedExpression
2019

2120
resource_name 'chef_client'

resources/server.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'chef_server'
2120
default_action :create

resources/supermarket.rb

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'chef_supermarket'
2120
default_action :create

resources/wf_builder.rb

+2-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1616
# See the License for the specific language governing permissions and
1717
# limitations under the License.
18-
# rubocop:disable LineLength
1918

2019
resource_name 'workflow_builder'
2120
default_action :create
@@ -62,7 +61,7 @@
6261
[
6362
new_resource.chef_fqdn,
6463
new_resource.automate_fqdn,
65-
new_resource.supermarket_fqdn
64+
new_resource.supermarket_fqdn,
6665
].each do |server|
6766
execute "fetch ssl cert for #{server}" do
6867
command "knife ssl fetch -s https://#{server} -c #{Chef::Config['config_file']}"
@@ -243,7 +242,7 @@
243242
os: node['os'],
244243
platform_family: node['platform_family'],
245244
platform: node['platform'],
246-
platform_version: node['platform_version']
245+
platform_version: node['platform_version'],
247246
}
248247

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

0 commit comments

Comments
 (0)