Sha256: 4c503359e8e4b310daa74631c819531a009ddcbdebbad67da45bea61e69c9f9c

Contents?: true

Size: 548 Bytes

Versions: 4

Compression:

Stored size: 548 Bytes

Contents

actions :create, :delete
default_action :create

attribute :container, :kind_of => String, :required => true
attribute :device, :kind_of => String, :required => true
attribute :auto, :kind_of => [TrueClass, FalseClass], :default => true
attribute :dynamic, :kind_of => [TrueClass, FalseClass], :default => false
attribute :address, :regex => %r{\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}}
attribute :gateway, :regex => %r{\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}}
attribute :netmask, :regex => %r{\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}}, :default => '255.255.255.0'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagabond-0.2.0 lib/vagabond/cookbooks/lxc/resources/interface.rb
vagabond-0.1.4 lib/vagabond/cookbooks/lxc/resources/interface.rb
vagabond-0.1.2 lib/vagabond/cookbooks/lxc/resources/interface.rb
vagabond-0.1.0 lib/vagabond/cookbooks/lxc/resources/interface.rb