Thanks for your response, but host_aliases is part of the host type.
See below:

http://docs.puppetlabs.com/references/0.25.5/type.html#host :

host
Installs and manages host entries. For most systems, these entries
will just be in /etc/hosts, but some systems (notably OS X) will have
different solutions.

Parameters

ENSURE

The basic property that the resource should be in. Valid values are
present, absent.

HOST_ALIASES

Any aliases the host might have. Multiple values must be specified as
an array. Note that this property is not the same as the “alias”
metaparam; use this property to add aliases to a host on disk, and
“alias” to aliases for use in your Puppet scripts.

IP

The host’s IP address, IPv4 or IPv6.

NAME

namevar
The host name.

PROVIDER

The specific backend for provider to use. You will seldom need to
specify this – Puppet will usually discover the appropriate provider
for your platform. Available providers are:

parsed:
TARGET

The file in which to store service information. Only used by those
providers that write to disk.

On Sep 21, 10:58 am, Patrick <kc7...@gmail.com> wrote:
> On Sep 21, 2010, at 7:04 AM, CraftyTech wrote:
>
>
>
>
>
> > Hello All,
>
> >     So, I realize this is a common issue, but still can't identify
> > the problem here.  Even after reading similar posts...  Essentially,
> > I'm exporting / collecting hosts via stored configs..
> > Here's my export class:
>
> > class basic::export{
> >      @@host { $fqdn: ip => $ipaddress, host_aliases => $hostname, tag
> > => "${func_group}"}
> >     }
> > }
>
> > Here's how I'm collecting them:
> > Host<<| tag == "${func_group}" |>>
>
> > **func_group is defined in the external node classifier (Foreman: I'm
> > not sure it makes a difference).
> > func_group= "test"
>
> > Why am I getting exported resource conflict?  fqdn is unique to each
> > host, so there are no duplicates...
>
> > What do you guys think?
>
> I've never done this, but I would assume that it's host_aliases.  Try 
> removing that and see what happens.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to