File tree 10 files changed +4
-14
lines changed
10 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 5
5
group :test do
6
6
cookbook 'chef-services' ,
7
7
'>= 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'
10
9
end
Original file line number Diff line number Diff line change 1
- # rubocop:disable LineLength
2
1
name 'chef_stack'
3
2
maintainer 'Chef Software Inc'
4
3
maintainer_email 'success@chef.io'
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'chef_automate'
21
20
default_action :create
72
71
'/var/opt/delivery/license/delivery.license' => new_resource . license ,
73
72
"/etc/delivery/#{ new_resource . chef_user } .pem" => new_resource . chef_user_pem ,
74
73
'/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 ,
76
75
} . each do |file , src |
77
76
chef_file file do
78
77
source src
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'chef_backend'
21
20
default_action :create
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'chef_org'
21
20
default_action :create
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'chef_user'
21
20
default_action :create
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
# rubocop:disable ParenthesesAsGroupedExpression
20
19
21
20
resource_name 'chef_client'
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'chef_server'
21
20
default_action :create
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'chef_supermarket'
21
20
default_action :create
Original file line number Diff line number Diff line change 15
15
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
# See the License for the specific language governing permissions and
17
17
# limitations under the License.
18
- # rubocop:disable LineLength
19
18
20
19
resource_name 'workflow_builder'
21
20
default_action :create
62
61
[
63
62
new_resource . chef_fqdn ,
64
63
new_resource . automate_fqdn ,
65
- new_resource . supermarket_fqdn
64
+ new_resource . supermarket_fqdn ,
66
65
] . each do |server |
67
66
execute "fetch ssl cert for #{ server } " do
68
67
command "knife ssl fetch -s https://#{ server } -c #{ Chef ::Config [ 'config_file' ] } "
243
242
os : node [ 'os' ] ,
244
243
platform_family : node [ 'platform_family' ] ,
245
244
platform : node [ 'platform' ] ,
246
- platform_version : node [ 'platform_version' ]
245
+ platform_version : node [ 'platform_version' ] ,
247
246
}
248
247
249
248
runner = Mixlib ::ShellOut . new ( "delivery api post runners \
You can’t perform that action at this time.
0 commit comments