search for: resource_type

Displaying 20 results from an estimated 22 matches for "resource_type".

2013 Jun 22
4
ActiveRecord::Base.transaction - SystemStackError - stack level too deep:
...ackOveflow with more detail - http://stackoverflow.com/q/16930511/1408461 As stated in the SO. If I try to save the record to the database outside the transaction it saves just fine. I only get the error in the transaction. Params Object params => { "resource"=> { "resource_type"=>"document", "resource_name"=>"My Rails Doc", "source_id"=>"Dropbox" }, "resource_document"=> { "resource_document"=> #<ActionDispatch::Http::UploadedFile:0x007f8e919d06f8 @content_t...
2006 Jan 03
1
RequireResourceHelper for JS and CSS
...quot;popitup(''#{url_for :action => ''click''}'')" %> module RequireResourceHelper # Adds resources such as stylesheet or javascript files to the corresponding array of # resources that will be ''required'' by the layout. The +resource_type+ is either # :javascript or :stylesheet. The +extension+ is optional, and should normally correspond # with the resource type, e.g. ''css'' for :stylesheet and ''js'' for :javascript. def autorequire(resource_type, extension = nil) extensions = {:st...
2006 Feb 21
4
Select error
This code: <p> <label for="resource_type">Type</label><br/> <%= select(:resource, :type, %w{ Web Data }, { :include_blank => true }) %> </p> Produces this error: TypeError in Resources#new Showing app/views/resources/_form.rhtml where line #6 raised: wrong argument type String (expected M...
2009 May 22
1
[PATCH server] fixed smart pool 'save' regression.
...:resource_ids => params[:resource_ids], - :parent_id => (params[:hardware_pool] ? - params[:hardware_pool][:parent_id] : - params[:parent_id])} + ret_hash = {:resource_ids => params[:resource_ids]} ret_hash[:resource_type] = Host if params[:resource_type] == "hosts" ret_hash[:resource_type] = Storage if params[:resource_type] == "storage" ret_hash diff --git a/src/app/controllers/pool_controller.rb b/src/app/controllers/pool_controller.rb index 1a65718..74a958c 100644 --- a/src/app/cont...
2012 Jul 12
15
How can I list classes available on the puppet master?
Is there a way to get a list of all the classes available from the puppet master? I have 2 goals for this - one is documentation in a human readable form, and the other is potentially importing that data into dashboard. I did find some info on the rest API (http://docs.puppetlabs.com/guides/rest_api.html#resource-types ) but I can''t make any sense of the output from it. Thanks.
2016 Apr 11
1
[PATCH] RFC: php: support PHP 7
...ssoc_string(arg, key, str) +# define guestfs_add_assoc_stringl(arg, key, str, len, dup) \\ + add_assoc_stringl(arg, key, str, len) +# define guestfs_add_next_index_string(retval, val, x) \\ + add_next_index_string (retval, val) +# define GUESTFS_ZEND_FETCH_RESOURCE(rsrc, rsrc_type, passed_id, resource_type_name, resource_type) \\ + (rsrc) = (rsrc_type) zend_fetch_resource (Z_RES_P(passed_id), resource_type_name, resource_type) +typedef size_t guestfs_string_length; +#else +# define GUESTFS_RETURN_STRING(x, duplicate) \\ + RETURN_STRING(x, duplicate) +# define guestfs_add_assoc_string(arg, key,...
2013 Feb 22
6
Finding a manifest full file name (with path) in a function?
I''m trying to create a function that I can call in a manifest like this: $doc = doc(''apache::service'') In the function, I want it to actually find the filename for the ''apache::service'' class... from there, I''m going to run some code that will generate the puppet-doc in text format, and then return it in a variable. Ultimately this is so
2006 Feb 22
2
Select menu validation
Is there a trick to validating select menus? I have this rule: validates_presence_of :title, :type :title is a text box and validates correctly but :type doesn''t: <p> <label for="resource_type">Type</label><br/> <select name="resource[type]" id="resource_type"> <option value="" selected="selected"></option> <option value="Web">Web</option> <option...
2013 Nov 26
37
get a *structured* version of the puppet agent output
puppet agent --verbose shows a verbose output of the changes done by puppet, such as: notice: /Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner: owner changed ''root'' to ''logstash'' notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed ''stopped'' to ''running''
2013 Jan 29
7
stuck installing puppet in RHEL 5
Hi All, Im trying to install but with no luck. Any idea what I did wrong ? ** mkdir -p /var/log/pe-console-auth ** touch /var/log/pe-console-auth/cas.log ** touch /var/log/pe-console-auth/auth.log ** chmod 770 /var/log/pe-console-auth ** chmod 660 /var/log/pe-console-auth/auth.log ** touch /var/log/pe-console-auth/cas_client.log ** chmod 660 /var/log/pe-console-auth/cas_client.log ** chown -R
2011 Feb 22
1
ANNOUNCE: Puppet 2.6.5 - Release Candidate 5 available!
...events are correctly created de85f8d Prep work for #5758: set audited=true on all audit events e162da9 Prep work for #5758: clean up initializer for Puppet::Transaction::Event 06a8d1e Fix #5698 puppet inspect shouldn''t report of attributes of deleted files 1f72c31 (#5715) Added attributes resource_type and title to Puppet::Resource::Status. a6cd736 (#5715) Removed attribute source_description from the YAML representation of Puppet::Resource::Status. 98db2da (#5715) Removed unnecessary attributes from YAML of Puppet::Transaction::Event. bd4a8a1 (#5715) Make certain report attributes always present...
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware to address Greg's and all other's code review comments. Summary of changes: - Rebase our linux kernel tree from v3.5 to v3.7. - Fix all checkpatch warnings and errors. Fix some checkpatch with -strict errors. This addresses Greg's comment: On 15 Nov 2012
2013 Jan 08
13
[PATCH 00/12] VMCI for Linux upstreaming
* * * This series of VMCI linux upstreaming patches include latest udpate from VMware to address Greg's and all other's code review comments. Summary of changes: - Rebase our linux kernel tree from v3.5 to v3.7. - Fix all checkpatch warnings and errors. Fix some checkpatch with -strict errors. This addresses Greg's comment: On 15 Nov 2012
2011 Feb 04
1
ANNOUNCE: Puppet 2.6.5 - Release Candidate 1 available!
...events are correctly created de85f8d Prep work for #5758: set audited=true on all audit events e162da9 Prep work for #5758: clean up initializer for Puppet::Transaction::Event 06a8d1e Fix #5698 puppet inspect shouldn''t report of attributes of deleted files 1f72c31 (#5715) Added attributes resource_type and title to Puppet::Resource::Status. a6cd736 (#5715) Removed attribute source_description from the YAML representation of Puppet::Resource::Status. 98db2da (#5715) Removed unnecessary attributes from YAML of Puppet::Transaction::Event. bd4a8a1 (#5715) Make certain report attributes always present...
2011 Feb 04
2
Fwd: [Puppet-dev] ANNOUNCE: Puppet 2.6.5 - Release Candidate 1 available!
...events are correctly created de85f8d Prep work for #5758: set audited=true on all audit events e162da9 Prep work for #5758: clean up initializer for Puppet::Transaction::Event 06a8d1e Fix #5698 puppet inspect shouldn''t report of attributes of deleted files 1f72c31 (#5715) Added attributes resource_type and title to Puppet::Resource::Status. a6cd736 (#5715) Removed attribute source_description from the YAML representation of Puppet::Resource::Status. 98db2da (#5715) Removed unnecessary attributes from YAML of Puppet::Transaction::Event. bd4a8a1 (#5715) Make certain report attributes always present...
2013 Feb 13
4
[PATCH 0/3] FLASK policy build rework
These patches update the example FLASK policy shipped with Xen and enable its build if the required tools are present. The third patch requires rerunning autoconf to update tools/configure. [PATCH 1/3] flask/policy: sort dom0 accesses [PATCH 2/3] flask/policy: rework policy build system [PATCH 3/3] tools/flask: add FLASK policy to build
2009 May 15
0
[PATCH server] final cleanup for service layer refactoring.
...;"><%= image_tag "icon_move.png", :style=>"vertical-align:middle;" %>&nbsp;&nbsp;Move</a> <a id="move_link_hidden" href="<%= url_for :controller => 'hardware', :action => 'move', :id => @pool, :resource_type=>'hosts' %>" rel="facebox[.bolder]" style="display:none" ></a> @@ -115,7 +115,7 @@ No hosts found in this pool. <br/><br/> <%if @can_modify -%> <%= image_tag "icon_add_host.png",...
2009 Jun 19
0
Wine release 1.1.24
...rmat info to calculate compressed surface pitch in IWineD3DBaseSurfaceImpl_GetPitch(). wined3d: Use the compressed format info in IWineD3DBaseSurfaceImpl_LockRect(). wined3d: Use WINED3DFMT_FLAG_COMPRESSED instead of checking for specific formats. wined3d: Remove the useless "resource_type" parameter from IWineD3DDevice::CreateSurface(). wined3d: Respect the "srgb" parameter to IWineD3DSurfaceImpl_BindTexture(). wined3d: Avoid checking depth/stencil and compressed formats in init_format_fbo_compat_info(). wined3d: Introduce surface_cleanup(). wi...
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later
2012 Oct 16
11
[PATCH 00/10] VMCI for Linux upstreaming
* * * In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later