Displaying 1 result from an estimated 1 matches for "isolink".
Did you mean:
solink
2012 Sep 05
4
Custom type obligatory field?
..., here is my type:
<code>
# cat type/cobblerdistro.rb
Puppet::Type.newtype(:cobblerdistro) do
@doc = "Manages the Cobbler distros.
A typical rule will look like this:
distro {''CentOS-6.3-x86_64'':
ensure => present,
arch => ''x86_64'',
isolink =>
''http://mi.mirror.garr.it/mirrors/CentOS/6.3/isos/x86_64/CentOS-6.3-x86_64-bin-DVD1.iso'',
}
This rule would ensure that the kernel swappiness setting be set to ''20''"
desc "The cobbler distro type"
ensurable
newparam(:name) do
is...