search for: has_featur

Displaying 4 results from an estimated 4 matches for "has_featur".

Did you mean: has_feature
2007 Sep 30
2
Initial setup problems on Ubuntu edgy (06.10)
...gt; Could not autoload "/usr/lib/ruby/1.8/puppet/provider/cron/crontab.rb": undefined method `set_options'' for #<Puppet::Util::FileParsing::FileRecord:0xb7696e5c @type=:text> Could not autoload "/usr/lib/ruby/1.8/puppet/provider/package/fink.rb": undefined method `has_feature'' for Puppet::Type::Package::ProviderFink:Class Could not autoload "/usr/lib/ruby/1.8/puppet/provider/package/rug.rb": undefined method `has_feature'' for Puppet::Type::Package::ProviderRug:Class /usr/local/lib/site_ruby/1.8/puppet/provider.rb:52: warning: multiple values...
2007 Jun 11
4
freeBSD User provider
...hpass [-a list] [-p encpass] [-e expiretime] [-s newshell] [user] it is installed on all my freeBSD servers but i don''t know if this is the same package and if this is by default :) So here is what i think for the provider: puppet-0.22.4/lib/puppet/provider/user/pw.rb add line: + has_features :manages_homedir, :allows_duplicates change this command (+ on the lines addedd) def addcmd cmd = [command(:pw), "useradd", @model[:name]] @model.class.validproperties.each do |property| next if property == :ensure # the value needs to be q...
2012 Mar 13
1
[V4 PATCH] virtio-net: send gratuitous packet when needed
...napi_struct *napi, int budget) { struct virtnet_info *vi = container_of(napi, struct virtnet_info, napi); @@ -787,6 +797,8 @@ static int virtnet_close(struct net_device *dev) /* Make sure refill_work doesn't re-enable napi! */ cancel_delayed_work_sync(&vi->refill); + if (virtio_has_feature(vi->vdev, VIRTIO_NET_F_GUEST_ANNOUNCE)) + cancel_work_sync(&vi->announce); napi_disable(&vi->napi); return 0; @@ -962,11 +974,23 @@ static void virtnet_update_status(struct virtnet_info *vi) return; /* Ignore unknown (future) status bits */ - v &= VIRTIO_NET_S_LI...
2012 Mar 13
1
[V4 PATCH] virtio-net: send gratuitous packet when needed
...napi_struct *napi, int budget) { struct virtnet_info *vi = container_of(napi, struct virtnet_info, napi); @@ -787,6 +797,8 @@ static int virtnet_close(struct net_device *dev) /* Make sure refill_work doesn't re-enable napi! */ cancel_delayed_work_sync(&vi->refill); + if (virtio_has_feature(vi->vdev, VIRTIO_NET_F_GUEST_ANNOUNCE)) + cancel_work_sync(&vi->announce); napi_disable(&vi->napi); return 0; @@ -962,11 +974,23 @@ static void virtnet_update_status(struct virtnet_info *vi) return; /* Ignore unknown (future) status bits */ - v &= VIRTIO_NET_S_LI...