Commit 4446a2cf authored by Simon's avatar Simon

initial commit

parent 011c67d4
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>puppet-packages</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.puppetlabs.geppetto.pp.dsl.ui.puppetNature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
class packages
{
define mypackage ($packagen = $title, $ensure) {
package { "$packagen":
ensure => $ensure,
}
}
$package_name = hiera_hash('packages::install', "installed")
create_resources(packages::mypackage, $package_name)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment