I have the following manifests
#/etc/puppet/modules/morefangs/manifests/init.pp
class morefangs {}
#/etc/puppet/modules/morefangs/manifests/one.pp
class one {
file {'/tmp/one':
ensure => present,
content => 'moot',
}
}
#/etc/puppet/modules/morefangs/manifests/two.pp
class two {
file {'/tmp/two':
ensure => present,
content => 'moot',
}
}
#/etc/puppet/modules/morefangs/manifests/site.pp
include one
include two
When I run
puppet apply /etc/puppet/modules/morefangs/manifests/site.pp
I get the following error
Could not find class one for ec2.compute-1.amazonaws.com at
/etc/puppet/modules/morefangs/manifests/site.pp:3 on node
ec2.compute-1.amazonaws.com
How can I declare this class using the parameterized class syntax and
the include syntax?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.