Hello,
First of all, sorry for my poor english ....
I am trying to use foreman, puppet with modules. The razorsedge
(https://forge.puppetlabs.com/razorsedge/network) network module. I have
created a manage folder in
/etc/puppet/environments/production/modules/network/manifests/ which
contains an alias.pp file.
cat alias.pp
class network::manage::alias ($ensure, $data) inherits network::alias {
create_resources('network::alias', $data)
}
In foreman I have imported the network::manage::alias and set the $data
variable to this value :
em2:1: {ensure => up, ipaddress => 1.2.8.5, netmask => 255.255.255.0,}
When I'm trying to apply on my node I've got this answer :
rror: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find parent resource type 'network::alias' of type hostclass in
production at
/etc/puppet/environments/production/modules/network/manifests/manage/alias.pp:1
on node ovirt-node1.example.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
Can somebody help me ?
Regards.
James
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/05d7d2fc-1aed-48a1-81ef-75dfcd0feab4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.