Hi Nidhi,

I think Rob was referring 
to 
https://github.com/openstack/puppet-cinder/blob/master/manifests/backend/solidfire.pp.
 
This appears to be what is changing the config using a custom cinder_config 
type. You can see the provider code that is updating the config 
at 
https://github.com/openstack/puppet-cinder/blob/master/lib/puppet/provider/cinder_config/ini_setting.rb.

On Tuesday, October 25, 2016 at 2:04:45 AM UTC-4, nidhi mittal hada wrote:
>
> Hi Rob,
>
> Thanks for your reply.
>
> Thats the puppet repo. everything is here.
> https://github.com/openstack/fuel-plugin-solidfire-cinder
>
>
> https://github.com/openstack/fuel-plugin-solidfire-cinder/blob/master/deployment_scripts/puppet/modules/plugin_cinder_solidfire/manifests/solidfire.pp#L23
>
> This line works well in changing content of config file as expected.
> Even i did not get the definition of cinder::backend::solidfire anywhere.
>
> I am surprised how this works.
>
> i did not understand what you meant by "code that has the ink related 
> changes in it"
>
> Can you elaborate, i will try to find.
>
>
>
> On Monday, 24 October 2016 23:02:02 UTC+5:30, Rob Nelson wrote:
>>
>> Nidhi,
>>
>> Your example does not have a link to the cinder::backend::solidfire type 
>> definition. Without seeing the log of the change that is occurring, the 
>> simplest possibility is that it is that code that has the ink related 
>> changes in it.
>>
>> On Monday, October 24, 2016, nidhi mittal hada <[email protected]> 
>> wrote:
>>
>>>
>>> https://github.com/openstack/fuel-plugin-solidfire-cinder/blob/master/deployment_scripts/puppet/modules/plugin_cinder_solidfire/manifests/solidfire.pp
>>>
>>> here on line 
>>> https://github.com/openstack/fuel-plugin-solidfire-cinder/blob/master/deployment_scripts/puppet/modules/plugin_cinder_solidfire/manifests/solidfire.pp#L23
>>>  
>>> a resource collector and dependency is defined.
>>>
>>> My doubt is - this resource collector named as cinder::backend::solidfire 
>>> is used to add a new stanza to configuration file.
>>> But i dont find anywhere ini_subsetting or ini_setting or any file type 
>>> rsource being used here 
>>> to modify content of config file.
>>>
>>> Still this puppet works well by changing content of config file.
>>>
>>> Can someone please help me to understand how using 
>>> cinder::backend::solidfire 
>>> we are changing content of a config file??
>>>
>>> -- 
>>>
>>
>>
>> -- 
>>
>> Rob Nelson
>> [email protected]
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/05de4964-40b5-4557-a343-7147ff321826%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to