[Spacewalk-list] Config file removal

Waldirio Manhães Pinheiro waldirio at gmail.com
Fri Jul 29 13:40:13 UTC 2016


Ok

I see, the actual behavior is expected (if you remove from conf channel
will not change in the client side).

What you can do is:

1. Create one smart script that can do this one for you in the client side,
you can deploy in /etc/cron.hour for example and in the next cycle will be
executed.

or

2. Another way should be using puppet, via puppet you can define for
example "ensure" for present or absent, so you will prepare all you need in
manifest and then just deploy to your clients, if you add something, your
client can add it, if you remove something, your client can remove it.

Make sense ?

Let me know if you have any doubt about it.

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Fri, Jul 29, 2016 at 10:27 AM, Mark Farmer <farmorg at gmail.com> wrote:

> Hi
>
> Apologies if I wasn't clear but I think you misunderstood.
> I am having a problem in that the file I deleted from the configuration
> channel is NOT deleted from the client machine but the client remains
> subscribed to the channel.
> I'm not sure if this is the expected behaviour but it is not what I want.
> If I remove a file from the channel I want it to be removed from the client
> machine.
>
> TIA
> Mark.
>
>
> On 29 July 2016 at 13:39, Waldirio Manhães Pinheiro <waldirio at gmail.com>
> wrote:
>
>> Hi Mark
>>
>> Yes, if you do any change in the conf channel, this one will reflect to
>> all subscribed machines, btw if you remove the client from the conf
>> channel, that machine will not receive anymore the new configuration and
>> the actual configuration in the client will not be removed or changed.
>>
>> Hope this help.
>>
>> ______________
>> Atenciosamente
>> Waldirio
>> msn: waldirio at gmail.com
>> Skype: waldirio
>> Site: www.waldirio.com.br
>> Blog: blog.waldirio.com.br
>> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
>> PGP: www.waldirio.com.br/public.html
>>
>> On Fri, Jul 29, 2016 at 9:29 AM, Mark Farmer <farmorg at gmail.com> wrote:
>>
>>> Hi
>>>
>>> I am in the process of implementing a Spacewalk system & have started to
>>> configure/test configuration management. When I removed a config file from
>>> the channel that the client is subscribed to the file was not removed from
>>> the client. Is this expected behaviour? And how can I change/fix this? If I
>>> remove a file from the channel I'd expect/want it to be removed from the
>>> client.
>>>
>>> I tried manually running rhn_check.
>>>
>>> TIA
>>> farmorg
>>>
>>>
>>> _______________________________________________
>>> Spacewalk-list mailing list
>>> Spacewalk-list at redhat.com
>>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>>
>>
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>
>
>
>
> --
> Mark Farmer
> farmorg at gmail.com
>
> _______________________________________________
> 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/20160729/673ef7c4/attachment.htm>


More information about the Spacewalk-list mailing list