similar to: Could not prefetch package provider 'freebsd': No resource and no name in property hash in freebsd instance

Displaying 20 results from an estimated 7000 matches similar to: "Could not prefetch package provider 'freebsd': No resource and no name in property hash in freebsd instance"

2012 Feb 07
1
Removing custom facts from Facter
Hi, I need to remove a custom fact from facter. How to do this? For now, I set the environment variable FACTER_customfact = something but would like to get rid of it permanently. Thanks, Werner -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this
2006 May 21
6
Is there a way to call helper methods in a controller?
Hi, Is there a way to call helper methods in a controller? I want to do something like this in my controller Class MyController < Action.... def my_method string = link_to "some_url", :controller => "home", :action => "command" end end link_to is an ActionView helper method and it seems that I couldn''t access the method in the controller
2013 Mar 20
2
Still problem using Chocolatey provider on Windows
As some before me on the group, I have a problem getting the Chocolatey provider to work on Windows. I downloaded it from Github and placed it in /etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise 2.7.19). On a Windows 8 client, I have a very simple manifest: class install_notepadplusplus { if $::osfamily == ''windows { $pkg =
2008 Feb 09
1
problem using evalJSON with Ajax
Hi, all I am trying to use evalJSON with Ajax, but somehow it doesn''t work. for instance, I have a php file has the following output: "name": "Violet", "occupation": "character" and I have a html file with the following javascript: new Ajax.Request(''/some_url'', { method:''get'', onSuccess:
2013 Jun 09
2
Minitest mock or stub methods
Hi I''m building a small library to use in my Rails app which interacts with a 3rd party API. It fetches artists and tracks. So I have: lib/my_lib.rb lib/my_lib/artist.rb lib/my_lib/track.rb To get an artist I do artist = MyLib::Artist.find("Oasis") Which returns an instance of Artist if it finds (via 3rd party API) it or nil otherwise. Then I can call artist.tracks which
2006 Jun 23
4
Ajax.Request with page reload?
I need to send a POST request via a link, along with paramater data for an action, and the page needs to reload. link_to_remote worked great when I was updating a DOM element but obviously won''t work when I need to reload a page. Is there an option -- Posted via http://www.ruby-forum.com/.
2015 Jun 17
2
repo.or.cz links are no longer valid.
On Wed, Jun 17, 2015 at 05:57:39AM +0300, Ady via Syslinux wrote: > > After taking over repo.or.cz/syslinux.git, the aforementioned > previously-valid links are no longer valid :(. Perhaps not only "tags" > are no longer valid. > > Also, the "tag" hyperlinks that were visible before are now no longer > there in repo.or.cz/syslinux.git. > > Note
2007 Jul 13
2
How do you handle pop ups?
When I click a link to download a file, a pop up window comes up to save the file. Is there a way to enter a file name and click the submit button with mechanize? Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/mechanize-users/attachments/20070712/558f7018/attachment.html
2008 Jan 13
6
Graceful way to handle execution expired and bad URI errors?
Hello, I have a program that takes blog urls that our customers enter into their profiles. In some cases they enter bad feeds (IE html pages instead of atom or rss), and it throws these two errors: execution expired and bad URI errors in the view. I need to find a graceful way to handle both. Preferably, if I could find a way to throw an error message for the execution expired
2013 Jul 06
2
I thought Rails 3.2 ActionController automatically converts JSON params hashes...
Hey, I was thinking I''d have my controllers do double-duty: the same actions handling json and html requests differentially. For this, it''s useful that Rails 3.2 automatic params hash conversion from json work (as described here<http://guides.rubyonrails.org/v3.2.13/action_controller_overview.html#json-xml-parameters>in the Rails docs). (I''m using ruby 1.9.2.)
2013 May 17
1
Windows Pathnames with spaces in Puppet file directive
I have to change a file in c:\Program Files <x86>\MSBuild\Microsoft.Cpp\v4.0. I have tried various ways to encapsule the Windows path with spaces but to no avail. The following file { "\"c:\\program files <x86>\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppCommon.targets\"": ensure => present, source =>
2013 Feb 25
2
defaultto in hash property not obeyed
Hi. I seem to have the following problem. This is a code from my custom type: newproperty(:kernel_options) do desc "Kernel options for installation boot." defaultto {} def insync?(is) # @should is an Array. see lib/puppet/type.rb insync? should = @should.first # if members of hashes are not the same, something # was added or removed from
2010 Mar 24
1
problems with project property of User resource
Hi, I wanted to set the project property of a Solaris user after realizing the user. Have already created the project by adding a line to /etc/ project. The user is created in virtual::user class wich is inherited by the target class to be able to add the project property. The project of the user xxxx gets not set properly and remains default when I use the project property ! Had to fall back
2007 Jul 02
2
Object Property Sorting - Hash?
I''m trying to sort an object by its property names. As I understand it, iterating over an object using for...in or using Hash.each() (or Hash.sortBy()) does not guarantee the order of the properties. Is there an easy and low-overhead way to guarantee order? Or would I need to have some type of collection object that uses arrays instead of the property-value configuration that Hash
2006 Aug 06
1
periodically_call_remote forces asynchronous to true?
Whenever I use periodically_call_remote it outputs as the following: <script type="text/javascript"> //<![CDATA[ new PeriodicalExecuter(function() {new Ajax.Request(''some_url'', {asynchronous:true, evalScripts:true})}, 2) //]]> </script> If I understand correctly, setting asynchronous to true means that if one request takes longer than 2 seconds,
2008 Jan 18
18
Rails versus PHP in complex HTML/CSS
I have done a bunch of Rails stuff on my own and my company uses PHP. I often have to integrate very complex HTML/CSS into PHP. I know that the PHP looks more closer to the HTML than Rails because Rails has alot of link_to and other macro like calls that generate alot of stuff that you don''t see in the template. I am wondering if that could make it any tricker to generate the complex sort
2013 Mar 17
1
cloudstack_resources - invalid instance resource type
I''ve created cloudstack_resources as a module, have setup the transport.yaml and can successfully run "puppet resource cloudstack_instance" against my cloudstack environment. The following cloudstack_instance files have been created /var/lib/puppet/lib/puppet/provider/cloudstack_instance /var/lib/puppet/lib/puppet/provider/cloudstack_instance/default.rb
2015 Jun 17
0
repo.or.cz links are no longer valid.
> On Wed, Jun 17, 2015 at 05:57:39AM +0300, Ady via Syslinux wrote: > > > > After taking over repo.or.cz/syslinux.git, the aforementioned > > previously-valid links are no longer valid :(. Perhaps not only "tags" > > are no longer valid. > > > > Also, the "tag" hyperlinks that were visible before are now no longer > > there in
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- drivers/misc/vmw_vmci/vmci_resource.c | 190 +++++++++++++++++++++++++++++++++ drivers/misc/vmw_vmci/vmci_resource.h | 59 ++++++++++ 2 files changed, 249 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_resource.c create mode 100644 drivers/misc/vmw_vmci/vmci_resource.h diff --git
2012 Aug 30
0
[PATCH 09/11] vmci_resource.patch: VMCI resource hash table implementation.
Signed-off-by: George Zhang <georgezhang at vmware.com> --- drivers/misc/vmw_vmci/vmci_resource.c | 190 +++++++++++++++++++++++++++++++++ drivers/misc/vmw_vmci/vmci_resource.h | 59 ++++++++++ 2 files changed, 249 insertions(+), 0 deletions(-) create mode 100644 drivers/misc/vmw_vmci/vmci_resource.c create mode 100644 drivers/misc/vmw_vmci/vmci_resource.h diff --git