You would need to change the underlying information. So, you can do
several things. You can change the hostname (what I highly recommend).
You can use Puppet configuration options like certname (but this will
be harder; I''ve never done it so you are on your own). Or, you could
update your manifests. Sed should do the job nicely :-) This would be
my second option.
Good luck!
On Tue, Jun 3, 2008 at 10:56 AM, Christopher McCrory
<chrismcc@pricegrabber.com> wrote:>
> Hello...
>
> I am upgrading and replacing the hardware on an existing server. I think
I have everything I need to set it up already in puppet, but I am not 100% sure.
I want to test everything first, just in case. Is it possible to change a fact?
on the "new" server something like:
> change hostname servernew
> to hostname server
>
> This way my existing case: statements and source => file.$hostname will
not have to be modified.
>
> thanks
>
>
>
>
> --
> Christopher McCrory
> "The guy that keeps the servers running"
>
> To the optimist, the glass is half full.
> To the pessimist, the glass is half empty.
> To the engineer, the glass is twice as big as it needs to be.
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---