Skip to content

Boolean type is not idempotent  #12

@jimbonic13

Description

@jimbonic13

Hi - When attempting to use this modual, when assigning boolean to the type, every puppet run, it wrote the value to the file, even though it did not change.

yaml_setting { 'ssl_true':
target => '/usr/global/newrelic/3.12.0/newrelic.yml',
key => 'common/ssl',
type => 'boolean',
value => 'true',
}

Here is the output from the run. This output would happen for each run.

Notice: /Stage[main]/Newrelic::Config/Yaml_setting[private_ssl]/value: value changed 'true' to 'true'
Info: Computing checksum on file /usr/global/newrelic/3.12.0/newrelic.yml
Info: FileBucket got a duplicate file {md5}d8f6f55c33de0fd35705d5212e1fe707

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions