[Spacewalk-list] Duplicate system profiles - Duplicate hostname

Thomas Foster thomas.foster80 at gmail.com
Tue Aug 29 12:34:15 UTC 2017


Mathew,

You can also use the spacewalk api (that's what my module uses) to
accomplish the job (find a way to write a chef module that can use the api
and you should be good to go):

http://spacewalk.redhat.com/documentation/api/2.6/

On Tue, Aug 29, 2017 at 8:24 AM, Thomas Foster <thomas.foster80 at gmail.com>
wrote:

> Mathew,
>
> You can take from either puppet repo and convert to a solution for chef:
>
> https://github.com/nohtyp/rhnreg_ks (this module is written to remove all
> pre-existing systems before registering the system back with spacewalk).
>
> If you take this and write your own module for spacewalk that is applied
> during the provisioning it should solve your issue.
>
>
> On Mon, Aug 28, 2017 at 11:11 PM, Yu, Matthew <matthew.yu at fitchratings.com
> > wrote:
>
>> I’ve got spacewalk 2.6 setup and running fine in AWS environment.   The
>> issue I have is duplicate system profile with duplicate hostname when the
>> system is being reprovision or when the Chef recipe has been updated.
>>
>>
>>
>> Does anyone have any thoughts how to prevent the duplicate system
>> profiles ?
>>
>>
>>
>>
>> ______________________________________________________________________
>> Confidentiality Notice: The information contained in this e-mail and any
>> attachment(s) is confidential and for the use of the addressee(s) only. If
>> you are not the intended recipient of this e-mail, do not duplicate or
>> redistribute it by any means. Please delete this e-mail and any
>> attachment(s) and notify us immediately. Unauthorized use, reliance,
>> disclosure or copying of the contents of this e-mail and any attachment(s),
>> or any similar action, is strictly prohibited. Fitch Ratings reserves the
>> right, to the extent permitted by applicable law, to retain, monitor and
>> intercept e-mail messages both to and from its systems.
>>
>> This e-mail has been scanned by the MessageLabs Email Security System.
>> For more information, please visit http://www.messagelabs.com/email.
>> ______________________________________________________________________
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20170829/aaee2a69/attachment.htm>


More information about the Spacewalk-list mailing list