Dominic Cleal

Results 31 comments of Dominic Cleal

I believe it's the standard Rails behaviour to only store the parent class name in the type field when using STI with polymorphic associations (like audit's `associated`), per [ActiveRecord::Associations: Polymorphic...

I don't think Augeas itself will support this, as it stores the sysctl name in the label of the node, so it can't contain slashes. We'll need to fix this...

@gregswift check that you have the augeasproviders_core module present, the stack trace suggests it can't load the `augeasproviders` type. This ticket's about refactoring ap's own tests.

I would prefer to recommend the use of https://github.com/camptocamp/puppet-augeas or other more dedicated modules.

Could you gist or upload the original file somewhere, so we can reproduce it? Please also include the version of Augeas you're using.

Thanks for the sample file, I can reproduce the issue on `master` too. I would guess this is a bug in the Augeas library rather than the `IniFile` lens. Slightly...

> If I change the line to: > Environment=APPLICATION_NAME=SpringBootTestApp > it works and augparse confirms a valid file. > > I tried escaping the string with single-ticks and double-quotes but...

> If I do that, I get: > > ``` > # augparse test_systemd.aug > Syntax error in lens definition > test_systemd.aug:9.11-26.16:syntax error, unexpected UIDENT, expecting $end > test_systemd.aug:syntax error...

Is that with 1.2.0 still, or the lens from master? I made an edit earlier to add that the quoting support was in 1.3.0 or higher.

@lutter support for parsing `Environment=FOO="bar baz"` needs adding to Systemd.