Sha256: 2388ee9a9a1ecdb39c741d9ed86cabb8b13f36466872bd2d918ea1f5f9e35280
Contents?: true
Size: 893 Bytes
Versions: 2
Compression:
Stored size: 893 Bytes
Contents
# Copyright 2017 Bloomberg Finance, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # 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. require 'chef_zero/server' module Umami class Server def initialize @server = server end def server @server ||= ChefZero::Server.new(port: 8889) end def start server.start_background end def stop server.stop end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chef-umami-0.0.4 | lib/chef-umami/server.rb |
chef-umami-0.0.3 | lib/chef-umami/server.rb |