-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Instead of using '', try adding a space in there, ' '.
I haven't tried this, but it should work. Trevor On 01/14/2010 02:11 AM, Peter wrote: > Hi, > > I'm trying to create a host entry and want puppet to remove the alias > if is exists for that host in the host file. > > If alias is not set aliases are left as they are for that host. > > If alias is set to undef aliases are left as they are. > > If alias is set to '' is constantly changes the host file on each run. > > Is ther a way of achieving this? > > Thanks > > Peter > - -- Trevor Vaughan Vice President, Onyx Point, Inc. email: tvaug...@onyxpoint.com phone: 410-541-ONYX (6699) - -- This account not approved for unencrypted sensitive information -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAktO9tgACgkQyWMIJmxwHpSYnQCffYt2b35K7C5/Ni6us0KgJjtX uNkAmgILcFm+4NtG8doT3JDk5+Wqj4A5 =/ecE -----END PGP SIGNATURE-----
-- 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.