Hi, I''ve got the following resource: host { "host.domain.com": alias => [ "host", "alias" ], ip => "1.2.3.4", ensure => present, } The resulting line in my /etc/hosts file is: 1.2.3.4 host.domain.com Any alias definitions seem to be ignored? What am I doing wrong? Best regards, Dieter -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Mar 26, 2010 at 5:02 AM, DieterVDW <dietervdw@gmail.com> wrote:> Hi, > > I''ve got the following resource: > > host { "host.domain.com": > alias => [ "host", "alias" ], > ip => "1.2.3.4", > ensure => present, > } > >it was changed from alias to host_aliases in ... I think .25.3. Alias is already a metaparam that we were overloading by accident.> The resulting line in my /etc/hosts file is: > 1.2.3.4 host.domain.com > > Any alias definitions seem to be ignored? > What am I doing wrong? > > Best regards, > > Dieter > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
This seems to be incorrect in the documentation: http://docs.reductivelabs.com/guides/types/host.html Might cause confusion! On Mar 26, 1:04 pm, Dan Bode <d...@reductivelabs.com> wrote:> On Fri, Mar 26, 2010 at 5:02 AM, DieterVDW <dieter...@gmail.com> wrote: > > Hi, > > > I''ve got the following resource: > > > host { "host.domain.com": > > alias => [ "host", "alias" ], > > ip => "1.2.3.4", > > ensure => present, > > } > > it was changed from alias to host_aliases in ... I think .25.3. Alias is > already a metaparam that we were overloading by accident. > > > The resulting line in my /etc/hosts file is: > > 1.2.3.4 host.domain.com > > > Any alias definitions seem to be ignored? > > What am I doing wrong? > > > Best regards, > > > Dieter > > > -- > > You received this message because you are subscribed to the Google Groups > > "Puppet Users" group. > > To post to this group, send email to puppet-users@googlegroups.com. > > To unsubscribe from this group, send email to > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Fri, Mar 26, 2010 at 5:31 AM, DieterVDW <dietervdw@gmail.com> wrote:> This seems to be incorrect in the documentation: > http://docs.reductivelabs.com/guides/types/host.html > > Might cause confusion! > >thanks!> On Mar 26, 1:04 pm, Dan Bode <d...@reductivelabs.com> wrote: > > On Fri, Mar 26, 2010 at 5:02 AM, DieterVDW <dieter...@gmail.com> wrote: > > > Hi, > > > > > I''ve got the following resource: > > > > > host { "host.domain.com": > > > alias => [ "host", "alias" ], > > > ip => "1.2.3.4", > > > ensure => present, > > > } > > > > it was changed from alias to host_aliases in ... I think .25.3. Alias is > > already a metaparam that we were overloading by accident. > > > > > The resulting line in my /etc/hosts file is: > > > 1.2.3.4 host.domain.com > > > > > Any alias definitions seem to be ignored? > > > What am I doing wrong? > > > > > Best regards, > > > > > Dieter > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Puppet Users" group. > > > To post to this group, send email to puppet-users@googlegroups.com. > > > To unsubscribe from this group, send email to > > > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > <puppet-users%2Bunsubscribe@googlegroups.com<puppet-users%252Bunsubscribe@googlegroups.com> > > > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/puppet-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com<puppet-users%2Bunsubscribe@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.