Skip to content

svccfg updates everytime the same value when puppet run #36

@vinrk

Description

@vinrk

I have created a resource
svccfg { 'svc:/network/dns/client/:properties/config/search':
ensure => 'present',
type => 'astring',
value => 'test.local.com',
notify => Service['svc:/network/dns/client:default'];
}

svcprop -s -f svc:/network/dns/client/:properties/config/search
test.local.com

The resource creates the property without any issue, but however when we ran the puppet agent again it keeps createing he same property and refreshing the service

"subsequent puppet run after the prpoerty search is created as expected"

Notice: /Stage[main]/Resolv_conf/Svccfg[svc:/network/dns/client/:properties/config/search]/ensure: created
Info: /Stage[main]/Resolv_conf/Svccfg[svc:/network/dns/client/:properties/config/search]: Scheduling refresh of Service[svc:/network/dns/client:default]

root#svcprop -s -f svc:/network/dns/client/:properties/config/search
test.local.com
root#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions