Sha256: 7ed94003dadc6e54b7c6b41988f77aa94194807655b398f9876601e7070a6658

Contents?: true

Size: 1.23 KB

Versions: 40

Compression:

Stored size: 1.23 KB

Contents

# This file was automatically generated on <%= Time.now %>.
# Use the 'puppet generate types' command to regenerate this file.

<%- unless doc.empty? -%>
  <%- doc.each_line do |line| -%>
# <%= line -%>
  <%- end %>
<%- end -%>
Puppet::Resource::ResourceType3.new(
  <%= name %>,
  [
<%- properties.each_with_index do |property, index| -%>
  <%- unless property.doc.empty? -%>
    <%- property.doc.each_line do |line| -%>
    # <%= line -%>
    <%- end %>
  <%- end -%>
    Puppet::Resource::Param(<%= property.type %>, <%= property.name %><% if property.is_namevar? %>, true<% end %>)<% if index + 1 < properties.size %>,

    <%- end -%>
<%- end %>
  ],
  [
<%- parameters.each_with_index do |parameter, index| -%>
  <%- unless parameter.doc.empty? -%>
    <%- parameter.doc.each_line do |line| -%>
    # <%= line -%>
    <%- end %>
  <%- end -%>
    Puppet::Resource::Param(<%= parameter.type %>, <%= parameter.name %><% if parameter.is_namevar? %>, true<% end %>)<% if index + 1 < parameters.size %>,

    <%- end -%>
<%- end %>
  ],
  {
<%- title_patterns.each_with_index do |mapping, index| -%>
    <%= mapping[0] %> => [<%= mapping[1].join(', ')%>]<%= "," if index + 1 < title_patterns.size %>
<%- end -%>
  },
  <%= isomorphic -%>,
  <%= capability -%>
)

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
puppet-4.10.1 lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.1-x86-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.1-x64-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.1-universal-darwin lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.0 lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.0-x86-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.0-x64-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.10.0-universal-darwin lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.4 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.4-x86-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.4-x64-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.4-universal-darwin lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.3 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.3-x86-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.3-x64-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.3-universal-darwin lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.2 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.2-x86-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.2-x64-mingw32 lib/puppet/generate/templates/type/pcore.erb
puppet-4.9.2-universal-darwin lib/puppet/generate/templates/type/pcore.erb