update to specinfra-2.10.1
This commit is contained in:
parent
32015a4e81
commit
a7d4ae36ff
@ -1,8 +1,7 @@
|
||||
# $OpenBSD: Makefile,v 1.17 2014/12/06 10:58:42 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.18 2014/12/08 08:55:38 jasper Exp $
|
||||
|
||||
COMMENT= common layer for serverspec and configspec
|
||||
DISTNAME= specinfra-2.10.0
|
||||
REVISION= 0
|
||||
DISTNAME= specinfra-2.10.1
|
||||
|
||||
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (specinfra-2.10.0.gem) = zfpz+nmyEm3XbELIrvICmeCSHXvbetCOkcdbUq8H3Bc=
|
||||
SIZE (specinfra-2.10.0.gem) = 43520
|
||||
SHA256 (specinfra-2.10.1.gem) = BNeH5Yxz9uMLDF6rxY6ZR6LWpiPKM0TozL9idBRL/SI=
|
||||
SIZE (specinfra-2.10.1.gem) = 43520
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-lib_specinfra_command_openbsd_base_bridge_rb,v 1.1 2014/12/06 10:58:42 jasper Exp $
|
||||
--- lib/specinfra/command/openbsd/base/bridge.rb.orig Sat Dec 6 11:54:37 2014
|
||||
+++ lib/specinfra/command/openbsd/base/bridge.rb Sat Dec 6 11:54:31 2014
|
||||
@@ -0,0 +1,11 @@
|
||||
+class Specinfra::Command::Openbsd::Base::Bridge < Specinfra::Command::Base::Bridge
|
||||
+ class << self
|
||||
+ def check_exists(name)
|
||||
+ "ifconfig #{name}"
|
||||
+ end
|
||||
+
|
||||
+ def check_has_interface(name, interface)
|
||||
+ "ifconfig #{name} | grep -o #{interface}"
|
||||
+ end
|
||||
+ end
|
||||
+end
|
@ -1,11 +0,0 @@
|
||||
$OpenBSD: patch-lib_specinfra_command_rb,v 1.4 2014/12/06 10:58:42 jasper Exp $
|
||||
--- lib/specinfra/command.rb.orig Sat Dec 6 11:54:01 2014
|
||||
+++ lib/specinfra/command.rb Sat Dec 6 11:54:10 2014
|
||||
@@ -167,6 +167,7 @@ require 'specinfra/command/freebsd/v10/package'
|
||||
# OpenBSD (inherit Base)
|
||||
require 'specinfra/command/openbsd'
|
||||
require 'specinfra/command/openbsd/base'
|
||||
+require 'specinfra/command/openbsd/base/bridge'
|
||||
require 'specinfra/command/openbsd/base/file'
|
||||
require 'specinfra/command/openbsd/base/interface'
|
||||
require 'specinfra/command/openbsd/base/mail_alias'
|
Loading…
x
Reference in New Issue
Block a user